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 7 8-BIT TIMER/EVENT COUNTER 80(2) Port mode register 2 (PM2)PM2 specifies whether each bit of port 2 is used for input or output.To use the TO80/P27/TI80 pin for timer output, the PM27 and P27 output latch must be reset to 0.To use the TO80/P27/TI80 pin for timer input, PM27 must be set to 1.PM2 is set with a 1-bit or 8-bit memory manipulation instruction.RESET input sets PM2 to FFH.Figure 7-3. Format of Port Mode Register 2Symbol 7 6 5 4 3 2 1 0 Address After reset R/WPM2PM27 PM26 PM25 PM24 PM23 PM22 PM21 PM20FF22H FFH R/WPM2n01Output mode (output buffer on)Input mode (output buffer off)P2n pin input/output mode selection (n = 0 to 5)100User’s Manual U14801EJ3V1<strong>UD</strong>

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

Saved successfully!

Ooh no, something went wrong!