HD643303x Hitachi, HD643303x Datasheet - Page 257

no-image

HD643303x

Manufacturer Part Number
HD643303x
Description
Hitachi Microcomputer
Manufacturer
Hitachi
Datasheet
Sample Buffering Setup Procedure: Figure 8-48 shows a sample buffering setup procedure.
Select general register functions
Complementary PWM mode
The buffer register value is transferred to the general register when TCNT3 and TCNT4
change counting direction. This occurs at the following two times:
— When TCNT3 matches GRA3
— When TCNT4 underflows
Reset-synchronized PWM mode
The buffer register value is transferred to the general register at compare match A3.
Buffered operation
Set buffer bits
Start counters
Buffering
Figure 8-48 Buffering Setup Procedure (Example)
1
2
3
1.
2.
3.
242
Set TIOR to select the output compare or input
capture function of the general registers.
Set bits BFA3, BFA4, BFB3, and BFB4 in TFCR
to select buffering of the required general registers.
Set the STR bits to 1 in TSTR to start the timer
counters.

Related parts for HD643303x