Overview - Panasonic MN101C00 User Manual

Panaxseries mn101c00 series 8-bit single-chip microcomputers
Table of Contents

Advertisement

Chapter 3 Port Functions
38

Overview

3-1 Overview
A total of 39 pins on the MN101C117, including those shared with special
function pins, are allocated for the 7 ports of P0 to P2, P6 to P8, and PA.
Each I/O port is assigned according to the special function register area in
memory. I/O ports are operated in byte or bit units in the same way as RAM.
For each I/O port, the PnOUT register (port n output
register) that sets the output value is assigned to memory
address X'3F1n', and the PnIN register (port n input
register) from which the input value is monitored is
assigned to memory address X'3F2n'.
• This I/O control is valid even when special functions are selected for the dual function pins.
•Table 3-1-1 Status When Port Is Reset (single-chip mode)
Port
I/O Mode
Port 0
Input mode
Port 1
Input mode
Port 2
Input mode
Input mode
Port 6
Port 7
Input mode
Input mode
Port 8
Port A
Input mode
Port 0 (P0)
4-bit CMOS tri-state I/O port.
Pin Name
Type
Dual Function
P00 to P02 I/O
SBO0(TXD),
P06
SBI0(RXD),
SBT0
BUZZER
Pull-up/Pull-down Resistor
No pull-up resistor
No pull-up resistor
No pull-up resistor
No pull-up resistor
No pull-up/pull-down resistors
No pull-up/pull-down resistors
No pull-up/pull-down resistors
Table 3-1-2 Port 0 Functions
Each bit can be set individually as either an input or
output by the P0DIR register. A pull-up resistor for each
bit can be selected individually by the P0PLU register.
At reset, the input mode is selected and pull-up resistors
are disabled (high impedance output).
I/O Port or Special Function
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
I/O port
Description

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101c115Mn101c117Mn101cp117

Table of Contents