235
CHAPTER 14 16-BIT RELOAD TIMER (WITH EVENT COUNT FUNCTION)
14.6
Counter Operation State
The counter state is determined by the CNTE bit in the control register and the internal
WAIT signal. Available states are: CNTE = 0 and WAIT = 1 (STOP state), CNTE = 1 and
WAIT = 1 (WAIT state for trigger), and CNTE = 1 and WAIT = 0 (RUN state).
■
Counter Operation State
Figure 14.6-1 shows the counter state transitions.
Figure 14.6-1 Counter State Transitions
Reset
State transitions by register access
State transitions by hard
w
are
State transitions by external input
STOP
CNTE=0, WAIT=1
TIN pin: Input disabled
TOT pin:
OUTE=0: General-purpose port
OUTE=1: Initial value output
TOT pin:
OUTE=0: General-purpose port
OUTE=1: Initial value output
TOT pin:
OUTE=0: General-purpose port
OUTE=1: Function as TOT pin
Counter: Retains the value
w
hile
counting stopped.
Value undefined after reset.
WAIT
CNTE=1, WAIT=1
TIN pin: Only trigger input enabled
*
Counter: Retains the value
w
hile
counting stopped.
Value undefined after reset until
load.
RUN
CNTE=1, WAIT=0
TIN pin: Functions as TIN pin
*
Counter: Running
LOAD
CNTE=1, WAIT=0
Load contents of the reload
register to the counter.
Load complete
CNTE=0
CNTE=1
TRG=0
CNTE=1
TRG=1
CNTE=0
RELD
•
UF
RELD
External trigger from TIN
External trigger from TIN
UF
TRG=1
TRG=1
*: Before using TIN pin, the corresponding bit of the DDR must be set to "0"
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......