SIC63616-(Rev. 1.0) NO. P116
3240-0412
PTSEL0: Timer 0 PWM mode select register (FF81H•D2)
PTSEL1: Timer 1 PWM mode select register (FF81H•D3)
PTSEL2: Timer 2 PWM mode select register (FF91H•D2)
PTSEL3: Timer 3 PWM mode select register (FF91H•D3)
PTSEL4: Timer 4 PWM mode select register (FFA1H•D2)
PTSEL5: Timer 5 PWM mode select register (FFA1H•D3)
PTSEL6: Timer 6 PWM mode select register (FFB1H•D2)
PTSEL7: Timer 7 PWM mode select register (FFB1H•D3)
Sets Timer x for PWM output.
When "1" is written: PWM output
When "0" is written: Normal output
Reading: Valid
When "1" is written to the PTSELx, the compare data register becomes effective and PWM waveform is
generated using the underflow and compare match signals. When "0" is written, the timer outputs the
normal clock generated from the underflow signal.
In 16-bit timer mode, the PTSEL register for the low-order timer (Timer 0/2/4/6) is ineffective.
At initial reset, these registers are set to "0".
PTRUN0: Timer 0 RUN/STOP control register (FF82H•D0)
PTRUN1: Timer 1 RUN/STOP control register (FF82H•D2)
PTRUN2: Timer 2 RUN/STOP control register (FF92H•D0)
PTRUN3: Timer 3 RUN/STOP control register (FF92H•D2)
PTRUN4: Timer 4 RUN/STOP control register (FFA2H•D0)
PTRUN5: Timer 5 RUN/STOP control register (FFA2H•D2)
PTRUN6: Timer 6 RUN/STOP control register (FFB2H•D0)
PTRUN7: Timer 7 RUN/STOP control register (FFB2H•D2)
Controls the RUN/STOP of the counter.
When "1" is written: RUN
When "0" is written: STOP
Reading: Valid
The counter in Timer x starts counting down by writing "1" to the PTRUNx register and stops by writing
"0". In STOP status, the counter data is maintained until the counter is reset or is set in the next RUN status.
When STOP status changes to RUN status, the data that has been maintained can be used for resuming the
count.
In 16-bit timer mode, the PTRUN register for the high-order timer (Timer 1/3/5/7) is ineffective.
At initial reset, these registers are set to "0".
PTRST0: Timer 0 reset (reload) (FF82H•D1)
PTRST1: Timer 1 reset (reload) (FF82H•D3)
PTRST2: Timer 2 reset (reload) (FF92H•D1)
PTRST3: Timer 3 reset (reload) (FF92H•D3)
PTRST4: Timer 4 reset (reload) (FFA2H•D1)
PTRST5: Timer 5 reset (reload) (FFA2H•D3)
PTRST6: Timer 6 reset (reload) (FFB2H•D1)
PTRST7: Timer 7 reset (reload) (FFB2H•D3)
Resets the timer and preset reload data to the counter.
When "1" is written: Reset
When "0" is written: No operation
Reading: Always "0"
By writing "1" to PTRSTx, the reload data in the reload register RLDx0–RLDx7 is preset to the counter in
timer x. When the counter is preset in the RUN status, the counter restarts immediately after presetting. In
the case of STOP status, the reload data is preset to the counter and is maintained.
No operation results when "0" is written.