10.6 Description of Operations for Each Mode
10.6.1 16-bit interval Timer Mode
In the case of generating constant period interrupt, set the interval time to the Timer register (TBxRG0) to
generate the INTTBx0 interrupt.Same as TBxRG0, set the interval time to the Timer register (TBxRG1) to gen-
erate the INTTBx1 interrupt.
7
6
5
4
3
2
1
0
TBxEN
← 1
X
X
X
X
X
X
X
Enables TMRBx operation.
TBxRUN
← X
X
X
X
X
0
X
0
Stops count operation.
Interrupt Set-Enable
Register
← *
*
*
*
*
*
*
*
Permits INTTBx interrupt by setting corresponding bit to "1".
TBxFFCR
← X
X
0
0
0
0
1
1
Disable to TBxFF0 reverse trigger
TBxMOD
← X
0
1
0
0
1
*
*
Changes to prescaler output clock as input clock. Specifies
capture function to disable.
(*** = 01, 10, 11)
TBxRG1
← *
*
*
*
*
*
*
*
Specifies a time interval. (16 bits)
← *
*
*
*
*
*
*
*
TBxRUN
← *
*
*
*
*
1
X
1
Starts TMRBx.
Note:
X; Don’t care −; No change
10.6.2 16-bit Event Counter Mode
It is possible to make it the event counter by using an input clock as an external clock (TBxIN pin input).
The up-counter counts up on the rising edge of TBxIN pin input. It is possible to read the count value by cap-
turing value using software and reading the captured value.
7
6
5
4
3
2
1
0
TBxEN
← 1
X
X
X
X
X
X
X
Enables TMRBx operation.
TBxRUN
← X
X
X
X
X
0
X
0
Stops count TMRBx.
Set PORT registers.
Allocates corresponding port to TBxIN.
TBxFFCR
← X
X
0
0
0
0
1
1
Disable to TBxFF0 reverse trigger.
TBxMOD
← X
1
0
0
0
0
0
0
Changes to TBxIN as an input clock.
TBxRUN
← *
*
*
*
*
1
X
1
Starts TMRBx.
TBxMOD
← X
0
0
0
0
0
0
0
Software capture is done.
Note:
X; Don’t care −; No change
TMPM3V6/M3V4
Page 175
2019-02-06
Содержание TMPM3V4
Страница 1: ...32 Bit RISC Microcontroller TX03 Series TMPM3V6 M3V4 ...
Страница 2: ... 2019 Toshiba Electronic Devices Storage Corporation ...
Страница 7: ...Revision History Date Revision Comment 2019 02 06 1 First Release ...
Страница 8: ......
Страница 22: ...xiv ...
Страница 52: ...TMPM3V6 M3V4 3 Processor Core 3 6 Exclusive access Page 30 2019 02 06 ...
Страница 148: ...TMPM3V6 M3V4 7 Exceptions 7 6 Exception Interrupt Related Registers Page 126 2019 02 06 ...
Страница 178: ...TMPM3V6 M3V4 9 Input Output port 9 2 Block Diagrams of Ports Page 156 2019 02 06 ...
Страница 206: ...TMPM3V6 M3V4 10 16 bit Timer Event Counters TMRB 10 7 Applications using the Capture Function Page 184 2019 02 06 ...
Страница 232: ...TMPM3V6 M3V4 11 Universal Asynchronous Receiver Transmitter Circuit UART 11 4 Operation Description Page 210 2019 02 06 ...
Страница 354: ...TMPM3V6 M3V4 14 Synchronous Serial Port SSP 14 6 Frame Format Page 332 2019 02 06 ...
Страница 419: ...TMPM3V6 M3V4 Page 397 2019 02 06 ...
Страница 420: ...TMPM3V6 M3V4 16 Analog Digital Converter ADC 16 6 Timing chart of AD conversion Page 398 2019 02 06 ...
Страница 462: ...TMPM3V6 M3V4 21 Watchdog Timer WDT 21 5 Control register Page 440 2019 02 06 ...
Страница 510: ...TMPM3V6 M3V4 22 Flash Memory Operation 22 4 Programming in the User Boot Mode Page 488 2019 02 06 ...
Страница 538: ...TMPM3V6 M3V4 25 Electrical Characteristics 25 7 Recommended Oscillation Circuit Page 516 2019 02 06 ...
Страница 541: ...26 3 TMPM3V4FWUG TMPM3V4FSUG Type LQFP64 P 1010 0 50E LPHQVLRQV TMPM3V6 M3V4 Page 519 2019 02 06 ...
Страница 544: ......