Fujitsu MB90335 Series Hardware Manual page 376

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
The pulse width shown in Figure 15.3-2 can be calculated by the following expression.
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:
L1:
H1: Value of PRLH of ch.1
T:
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 ch.0 and PRLH of ch.1 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 PPG 2channel mode or the 8-bit prescaler + 8-bit PPG mode (each of MB90335 series has 2
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 >
<pulse output > PPG0 → "L"
<interruption requests > IRQ0 → "L"
Hardware components not listed above are not initialized.
CM44-10137-6E
Value of PRLL of ch.0 and value of PRLH of ch.1
Value of PRLL of ch.1
Input clock cycle
PPG0 → 0X000001
PPG1 → 00000001
PPG01 → XXXXXX00
PPG1 → "L"
PE00 → PPG0 power output interdiction
PE10 → PPG1 power output interdiction
IRQ1 → "L"
FUJITSU MICROELECTRONICS LIMITED
CHAPTER 15 8/16-BIT PPG TIMER
15.3 Operation of 8/16-bit PPG Timer
B
B
B
355

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents