0X5302: Pwm Timer Compare Data B Register (T16E_Cb) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

0x5302: PWM Timer Compare Data B Register (T16E_CB)

Register name Address
Bit
PWM Timer
0x5302
D15–0 T16ECB[15:0] Compare data B
Compare Data
(16 bits)
B Register
(T16E_CB)
D[15:0]
T16ECB[15:0]: Compare Data B
Sets the PWM & capture timer compare data B. (Default: 0x0)
When CBUFEN (D5/T16E_CTL register) is set to 0, this register can be used to directly read from or
directly write to the compare data B register.
When CBUFEN is set to 1, data is read from and written to these registers via the compare data B buf-
fer. The buffer contents are loaded into the compare data B register when the counter is reset.
The data set is compared against the counter data, and a compare B interrupt factor is generated if the
contents match. The timer output waveform changes at the same time (rising when INVOUT (D4/
T16E_CTL register) = 0 and trailing when INVOUT = 1). The counter is reset to 0.
S1C17001 TECHNICAL MANUAL
Name
Function
T16ECB15 = MSB
T16ECB0 = LSB
EPSON
13 PWM & CAPTURE TIMER (T16E)
Setting
Init. R/W
0x0 to 0xffff
0x0 R/W
Remarks
153

Advertisement

Table of Contents
loading

Table of Contents