Toshiba TLCS-870/C Series Manual page 129

8 bit microcontroller
Hide thumbs Also See for TLCS-870/C Series:
Table of Contents

Advertisement

10. 8-Bit TimerCounter (TC5, TC6)
10.1 Configuration
Example :Generating a pulse with 1-ms high-level width and a period of 32.768 ms (fc = 16.0 MHz)
Setting ports
LDW
(PWREG5), 07D0H
LD
(TC5CR), 33H
LD
(TC6CR), 056H
LD
(TC6CR), 05EH
Page 114
: Sets the pulse width.
3
: Sets the operating clock to fc/2
, and 16-bit PWM output
mode (lower byte).
: Sets TFF6 to the initial value 0, and 16-bit PWM signal
generation mode (upper byte).
: Starts the timer.
TMP86PM29BUG

Advertisement

Table of Contents
loading

Table of Contents