English
Language : 

M32C8A Datasheet, PDF (202/372 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M32C/80 Series
M32C/8A Group
16. Three-Phase Motor Control Timer Function
Timer B2 Special Mode Register(1)
b7 b6 b5 b4 b3 b2 b1 b0
0000000
Symbol
TB2SC
Address
035Eh
After Reset
00h
Bit Symbol
Bit Name
PWCON
Timer B2
reload timing switch bit
−
(b7-b1)
Reserved bits
Function
RW
0: Timer B2 underflow
1: Timer B2 underflow at the rising edge of the
timer A1 reload control signal
RW
(every odd-numbered timer B2 underflow)
Set to 0
RW
NOTE:
1. Set the TB2SC register after the PRC1 bit in the PRCR register is set to 1 (write enable).
Timer B2 Interrupt Generation Frequency Set Counter(1, 2)
b7 b6 b5 b4 b3
b0
Symbol
ICTB2
Address
030Dh
After Reset
Undefined
Function
Setting Range
RW
-When the INV01 bit in the INVC0 register is set to 0 (the ICTB2
counter increments at every timer B2 underflows) and a setting
value is n, the timer B2 interrupt request is generated every n-th
timer B2 underflow.
-When bits INV01 and INV00 are set to 10b (the ICTB2 counter
increments when the timer B2 underflow at the rising edge of the
timer A1 reload control signal) and a setting value is n, the first
timer B2 interrupt request is generated at the (2n-1)th timer B2
1 to 15
WO
underflow. From the 2nd time on, the request is generated every
2n-th timer B2 underflow.
-When bits INV01 and INV00 are set to 11b (the ICTB2 counter
increments when the timer B2 underflow occurs at the falling edge
of the timer A1 reload control signal) and a setting value is n, the
timer B2 interrupt request is generated every 2n-th timer B2
underflow.
Unimplemented.
Write 0. Read as undefined value.
−
NOTES:
1. Read-modify-write instructions cannot be used to set the ICTB2 register. Refer to Usage Notes for details.
2. If the INV01 bit in the INVC0 register is set to 1, set the ICTB2 register while the TB2S bit is set to 0 (count stops). If the INV01
bit is set to 0, do not set the ICTB2 register when timer B2 underflows, regardless of the TB2S bit setting.
Figure 16.7 TB2SC Register, ICTB2 Register
Rev.1.00 Jul 15, 2007 Page 185 of 352
REJ09B0385-0100