Pin Configuration; Register Configuration - Hitachi H8S/2338 Series Hardware Manual

Table of Contents

Advertisement

9.1.3

Pin Configuration

Table 9-1 summarizes the input and output pins of the 8-bit timer module.
Table 9-1
Input and Output Pins of 8-Bit Timer
Channel
Name
0
Timer output pin 0
Timer clock input pin 0
Timer reset input pin 0
1
Timer output pin 1
Timer clock input pin 1
Timer reset input pin 1
9.1.4

Register Configuration

Table 9-2 summarizes the registers of the 8-bit timer module.
Table 9-2
8-Bit Timer Registers
Channel
Name
0
Timer control register 0
Timer control/status register 0 TCSR0
Time constant register A0
Time constant register B0
Timer counter 0
1
Timer control register 1
Timer control/status register 1 TCSR1
Time constant register A1
Time constant register B1
Timer counter 1
All
Module stop control register
Notes: 1. Lower 16 bits of the address
2. Only 0 can be written to bits 7 to 5, to clear these flags.
Each pair of registers for channel 0 and channel 1 is a 16-bit register with the upper 8 bits for
channel 0 and the lower 8 bits for channel 1, so they can be accessed together by a word transfer
instruction.
Symbol
I/O
TMO0
Output
TMCI0
Input
TMRI0
Input
TMO1
Output
TMCI1
Input
TMRI1
Input
Abbreviation
TCR0
TCORA0
TCORB0
TCNT0
TCR1
TCORA1
TCORB1
TCNT1
MSTPCR
Function
Outputs at compare match
Inputs external clock for counter
Inputs external reset to counter
Outputs at compare match
Inputs external clock for counter
Inputs external reset to counter
R/W
Initial value
R/W
H'00
2
R/(W)*
H'00
R/W
H'FF
R/W
H'FF
R/W
H'00
R/W
H'00
2
R/(W)*
H'10
R/W
H'FF
R/W
H'FF
R/W
H'00
R/W
H'3FFF
1
Address*
H'FFB0
H'FFB2
H'FFB4
H'FFB6
H'FFB8
H'FFB1
H'FFB3
H'FFB5
H'FFB7
H'FFB9
H'FF3C
349

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2328 seriesH8s/2318 series

Table of Contents