287
12.3 Multifunctional Timer Registers
Table 12.3-7 Functions of Bits for PPG Control Register (Upper) (PPGC1, PPGC3, and PPGC5)
Bit name
Function
bit15
PEN1:
Operation
enable bit
This bit enables an operation when software activation is set.
When this bit is set to "1" while the activation condition setting bit (SST1) is "0",
the PPG timer starts to count.
If the activation condition setting bit (SST1) is set to "1", operation is not affected.
bit14
SST1:
Activation
condition setting
bit
This bit is used to set the activation conditions for the PPG timer.
When the operation enable bit (PEN1) is set to "1" while this bit is "0", the PPG
timer starts to count.
If "1" is set, the operation enable bit (PEN1) does not affect operation. PPG
operates during the "H" period of the GATE signal input from the waveform
generation block.
bit13
POE1:
Pin output
enable bit
This bit enables pulse output of the PPG timer to the PPG pin.
If this bit is "1", operation is not affected.
A read-modify-write instruction always reads "1" from this bit.
bit12
PIE:1
PPG timer
interrupt request
enable bit
This bit enables an interrupt request.
When the PPG timer interrupt request flag bit (PUF1) is set to "1" while this bit is
"1", an interrupt request is output.
bit11
PIE1:
PPG timer
interrupt request
flag bit
This bit is a flag that requests an interrupt.
If an underflow of the counter value of the PPG timer occurs, this bit is set to "1".
When this bit is set to "1" while the PPG timer interrupt enable bit (PIE1) is "1", an
interrupt request is output.
If this bit is "0", an interrupt request is cleared.
If this bit is "1", operation is not affected.
A read-modify-write instruction always reads "1" from this bit.
Note:
For 8-bit PPG mode and 8-bit prescaler + 8-bit PPG mode, "1" is set when an
underflow ("00H" --> "FFH") of the counter value occurs.
For 16-bit PPG mode, "1" is set when an underflow ("0000H" --> "FFFFH") of
the counter value occurs.
bit10
bit9
MDO1, MDO0:
PPG timer
operation mode
setting bit
These bits are used to set the operation mode of the PPG timer.
Note:
To set the software activation (SST1="0"), note the following points:
To set "01B", do not set "0" to the operation enable bit (PEN0) and "1" to the
operation enable bit (PEN1)
To set "11B", set "1" or "0" to the operation enable bits (PEN0, PEN1)
simultaneously in word transfer.
To set the hardware activation (SST1="1"), note the following points:
To set "01B", set "1" to the operation enable bit (PEN0) and then "1" to the
activation condition setting bit (SST1).
Before setting "0" to the operation enable bit (PEN0), set "0" to the activation
condition setting bit (SST1).
To set "11B", set "1" or "0" to the activation condition setting bits (SST0, SST1)
simultaneously in word transfer.
bit8
RESV:
Reservation bit
Always specify "1".