0X5300: Pwm Timer Compare Data A Register (T16E_Ca) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

13 PWM & CAPTURE TIMER (T16E)

0x5300: PWM Timer Compare Data A Register (T16E_CA)

Register name Address
Bit
PWM Timer
0x5300
D15–0 T16ECA[15:0] Compare data A
Compare Data
(16 bits)
A Register
(T16E_CA)
D[15:0]
T16ECA[15:0]: Compare Data A
Sets the PWM & capture timer compare data A. (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 A register.
When CBUFEN is set to 1, data is read from and written to these registers via the compare data A buf-
fer. The buffer contents are loaded into the compare data A register when the counter is reset.
The data set is compared against the counter data, and a compare A 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). These processes do not affect the counter
data or the count process.
152
Name
Function
T16ECA15 = MSB
T16ECA0 = LSB
EPSON
Setting
Init. R/W
0x0 to 0xffff
0x0 R/W
S1C17001 TECHNICAL MANUAL
Remarks

Advertisement

Table of Contents
loading

Table of Contents