11.07.2015 Views

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6 16-BIT TIMER 90Figure 6-2. Format of 16-<strong>Bit</strong> Timer Mode Control Register 90Symbol 7 5 4 3 2 1 Address After reset R/WTMC90TOD90 TOF90 CPT901 CPT900 TOC90 TCL901 TCL900 TOE90FF48H 00H R/W Note 1TOD90Timer output data01Timer output of 0Timer output of 1TOF90Overflow flag setting01Reset or cleared by softwareSet when the 16-bit timer overflowsCPT901CPT900Capture edge selection00110101Capture operation disabledCaptured at the rising edge at the CPT90 pinCaptured at the falling edge at the CPT90 pinCaptured at both the rising and falling edges at the CPT90 pinTOC90Timer output data inversion control01Inversion disabledInversion enabledTCL901TCL90016-bit timer counter 90 count clock (fcl) selectionAt fX = 10.0 MHz Note 2At fX = 5.0 MHz00fX/2 22.5 MHz1.25 MHz01fX/2 6156 kHz78.1 kHz10fX/2 4625 kHz313 kHz11Setting prohibitedTOE9016-bit timer counter output control01Output disabled (port mode)Output enabledNotes 1. <strong>Bit</strong> 7 is read-only.2. Expanded-specification products only.Caution Disable interrupts in advance using interrupt mask flag register 1 (MK1) when changingthe data of TCL901 and TCL900. Also, prevent the timer output data from being invertedby setting TOC90 to 1.RemarkfX: System clock oscillation frequency86User’s Manual U14801EJ3V1<strong>UD</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!