HD6413308 Hitachi Semiconductor, HD6413308 Datasheet - Page 186

no-image

HD6413308

Manufacturer Part Number
HD6413308
Description
Hitachi Single-Chip MicroComputer
Manufacturer
Hitachi Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6413308CP10
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308CP10
Manufacturer:
HITACAI
Quantity:
20 000
Part Number:
HD6413308CP10V
Manufacturer:
RENESAS
Quantity:
776
Part Number:
HD6413308RCP10
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6413308RF8
Manufacturer:
NEC
Quantity:
2 468
Part Number:
HD6413308RF8
Manufacturer:
HITACHI/日立
Quantity:
20 000
8.1.3 Input and Output Pins
Table 8-1 lists the output pins of the PWM timer module. There are no input pins.
Table 8-1. Output Pins of PWM Timer Module
Name
PWM0 output
PWM1 output
8.1.4 Register Configuration
The PWM timer module has three registers for each channel as listed in Table 8-2.
Table 8-2. PWM Timer Registers
Name
Timer control register
Duty register
Timer counter
* The timer counters are read/write registers, but the write function is for test purposes only.
8.2 Register Descriptions
8.2.1 Timer Counter (TCNT) – H’FFA2 (PWM0), H’FFA6 (PWM1)
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.
Application programs should never write to these registers.
R/W
7
0
Abbreviation
PW0
PW1
Abbreviation
TCR
DTR
TCNT
R/W
6
0
I/O
Output
Output
R/W
5
0
R/W
R/W
R/W
R/(W)*
172
R/W
4
0
Function
Pulse output from PWM timer channel 0.
Pulse output from PWM timer channel 1.
Initial
value
H’38
H’FF
H’00
R/W
3
0
Address
PWM0
H’FFA0
H’FFA1
H’FFA2
R/W
2
0
R/W
PWM1
H’FFA4
H’FFA5
H’FFA6
1
0
R/W
0
0

Related parts for HD6413308