MC97F6108A User’s manual 11. PPG (Programmable Pulse Generator)
ATPCR (Auto Period Mode Control Register) : F9H
If PPG period max matching occurs, the flag becomes ‘1’. The flag is cleared
before interrupt service routine is served. It is also cleared by writing a ‘1’.
PPG period max matching is not occurred
PPG period max matching is occurred
If PPG period min matching occurs, the flag becomes ‘1’. The flag is cleared
before interrupt service routine is served. It is also cleared by writing a ‘1’.
PPG period min matching is not occurred
PPG period min matching is occurred
Enable or Disable max period matching in the auto period mode
Enable or Disable min period matching in the auto period mode
Configure PPG period, when the output of comparator 2 has not occurred, in
the auto period mode.
{ATPHR,ATPLR} = {ATPHR,ATPLR}
{ATPHR,ATPLR} = {PPGPWMPH,PPGPWMPL}
{ATPHR,ATPLR} = {ATPHR,ATPLR} + USTEP