
160
CHAPTER 7 8-BIT TIMERS A0, B0
User’s Manual U15798EJ2V0UD
Figure 7-3. Block Diagram of Output Controller (Timer B0)
F/F
RMCB0
NRZB0
TOEB0
PM06
P06
output latch
Selector
TOB0/INTP6/P06
Carrier generator mode
Carrier clock
(in carrier generator mode)
or timer B0 output signal
(in other than carrier
generator mode)
(1) 8-bit compare register A0 (CRA0)
This 8-bit register is used to continually compare the value set to CRA0 with the count value in 8-bit timer counter
A0 (TMA0) and to generate an interrupt request (INTTMA0) when a match occurs.
CRA0 is written by an 8-bit memory manipulation instruction.
RESET input makes CRA0 undefined.
Caution CRA0 cannot be used in PWM output mode.
(2) 8-bit compare register B0 (CRB0)
This 8-bit register is used to continually compare the value set to CRB0 with the count value in 8-bit timer counter
B0 (TMB0) and to generate an interrupt request (INTTMB0) when a match occurs. When connected to TMA0
via a cascade connection and used as a 16-bit timer, the interrupt request (INTTMB0) occurs only when matches
occur simultaneously between CRA0 and TMA0 and between CRB0 and TMB0 (INTTMA0 does not occur).
CRB0 is written by an 8-bit memory manipulation instruction.
RESET input makes CRB0 undefined.
(3) 8-bit H width compare register B0 (CRHB0)
During carrier generator mode or PWM output mode, the high-level width of timer output is set by writing a value
to CRHB0.
CRHB0 is written by an 8-bit memory manipulation instruction.
RESET input makes CRHB0 undefined.
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...