Fujitsu F2MC-16LX Hardware Manual page 435

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

0=T • (L0+1)
P
L
0=T • (L0+1)
P
H
1=T • (L0+1) • (L1+1)
P
L
1=T • (L0+1) • (H1+1)
P
H
L0:Value of PRLL of ch0 and value of PRLH of ch1
L1:Value of PRLL of ch1
H1:Value of PRLH of ch1
T: input clock cycle
P
0: Width of "H" pulse of PPG0
H
P
0: Width of "L" pulse of PPG0
L
P
1: Width of "H" pulse of PPG1
H
P
1: Width of "L" pulse of PPG1
L
Note:
PRLL of ch0 and PRLH of ch1 set the same value.
Interrupts of 8/16-bit PPG Timer
The 8/16-bit PPG timer interrupt becomes active when the reload value is counted out and a borrow occurs.
In the 8-bit PPG2 channel mode or the 8-bit prescaler + 9 bit PPG mode (each of MB90330 series has 3
channels), each interrupt request is generated by each borrow. In the 16-bit PPG mode, however, the PUF0
and the PUF1 are simultaneously set by the 16-bit counter borrow. Permit, therefore, either only one of
PIE0 or PIE1 to unify interrupt factors. Also clear interrupt factors for the PUF0 and the PUF1 at the same
time.
Initial Value of Hardware Component
The 8/16-bit PPG timer hardware component is initialized to the following value at the reset:
<REGISTERS > PPG0 → 0X000001
<pulse output > PPG0 → "L"
<interruption requests > IRQ0 → "L"
Hardware components not listed above are not initialized.
B
PPG1 → 00000001
B
PPG01 → XXXXXX00
B
PPG1 → "L"
PE0 → PPG0 power output interdiction
PE1 → PPG1 power output interdiction
IRQ1 → "L"
CHAPTER 17 8/16-BIT PPG TIMER
419

Advertisement

Table of Contents
loading

Table of Contents