Notes On Using 16-Bit Ppg Timer - Fujitsu MB95630H Series Hardware Manual

8-bit microcontroller new 8fx
Hide thumbs Also See for MB95630H Series:
Table of Contents

Advertisement

CHAPTER 19 16-BIT PPG TIMER

19.8 Notes on Using 16-bit PPG Timer

19.8
Notes on Using 16-bit PPG Timer
This section provides notes on using the 16-bit PPG timer.
■ Notes on Using 16-bit PPG Timer
● Notes on setting the program
Do not use the retrigger if the same values are set for the cycle and duty. If used, the PPG
output will go to the "L" level for one count clock cycle after the retrigger, and then go back to
the "H" level when normal polarity has been selected.
If the microcontroller enters a standby mode, the TRGn pin setting may change and cause the
device to malfunction. Therefore, disable the timer enable bit (PCNTHn:CNTE = 0) or disable
the hardware trigger enable bit (PCNTLn:EGS1 = 0, EGS0 = 0).
When the cycle and duty are set to the same value, an interrupt is generated only once by duty
match. Moreover, if the duty is set to a value greater than the value of the period, no interrupt
will be generated by a duty match.
While the 16-bit timer is counting, and the software retrigger function is enabled
(PCNTHn:RTRG = 1) and the retrigger is selected an interrupt source (PCNTLn:IRS[1:0] =
0b00), never disable the 16-bit PPG timer operation (PCNTHn:CNTE = 0) and enable the
software trigger (PCNTHn:STRG = 1) at the same time. Otherwise, even though the 16-bit
PPG timer stops operating, the interrupt flag bit may be set by a retrigger.
352
FUJITSU SEMICONDUCTOR LIMITED
MB95630H Series
MN702-00009-1v0-E

Advertisement

Table of Contents
loading

Table of Contents