HD6475328-CP10 HITACHI [Hitachi Semiconductor], HD6475328-CP10 Datasheet - Page 244

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
12.1.4 Register Configuration
The PWM timer module has three registers for each channel as listed in table12-2.
Table 12-2 PWM Timer Registers
Channel
1
2
3
* The timer counters are read/write registers, but the write function is for test purposes only.
12.2 Register Descriptions
12.2.1 Timer Counter (TCNT)—H'FFC2, H'FFC4, H'FFCA
Bit
Initial value
Read/Write
The PWM timer counters (TCNT) are 8-bit up-counters. When the output enable bit (OE) in the
timer control register (TCR) is set to 1, the timer counter starts counting pulses of an internal
clock source selected by clock select bits 2 to 0 (CKS2 to CKS0). After counting from H'00 to
H'F9, the timer counter repeats from H'00.
The PWM timer counters can be read and written, but the write function is for test purposes only.
Application software should never write to a PW timer counter, because this may have
unpredictable effects.
Application programs should never write to these registers.
Name
Timer control register
Duty register
Timer counter
Timer control register
Duty register
Timer counter
Timer control register
Duty register
Timer counter
R/W
7
0
R/W
6
0
R/W
Abbreviation
TCR
DTR
TCNT
TCR
DTR
TCNT
TCR
DTR
TCNT
5
0
229
R/W
4
0
R/W
R/W
R/W
R/(W)*
R/W
R/W
R/(W)*
R/W
R/W
R/(W)*
R/W
3
0
Initial
Value
H'38
H'FF
H'00
H'38
H'FF
H'00
H'38
H'FF
H'00
R/W
2
0
R/W
Address
H'FFC0
H'FFC1
H'FFC2
H'FFC4
H'FFC5
H'FFC6
H'FFC8
H'FFC9
H'FFCA
1
0
R/W
0
0

Related parts for HD6475328-CP10