NUTINY-SDK-M0516 Nuvoton Technology Corporation of America, NUTINY-SDK-M0516 Datasheet - Page 135

no-image

NUTINY-SDK-M0516

Manufacturer Part Number
NUTINY-SDK-M0516
Description
BOARD EVAL NUMICRO M051 SERIES
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Type
MCUr
Datasheets

Specifications of NUTINY-SDK-M0516

Contents
Board, Cable
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
M051™ Series, M052/M054/M058/M0516
6.4.1
6.4 General Purpose I/O
6.4.1.1 Input Mode Explanation
6.4.1.2 Output Mode Explanation
NuMicro M051
There are 40 General Purpose I/O pins shared with special feature functions in this MCU. The 40
pins are arranged in 5 ports named with P0, P1, P2, P3 and P4. Each port equips maximum 8
pins. Each one of the 40 pins is independent and has the corresponding register bits to control the
pin mode function and data
The I/O type of each of I/O pins can be software configured individually as input, output, open-
drain or quasi-bidirectional mode. The all pins of I/O type stay in quasi-bidirectional mode and port
data register Px_DOUT[7:0] resets to 0x000_00FF. Each I/O pin equips a very weakly individual
pull-up resistor which is about 110KΩ~300KΩ for V
Set Px_PMD
impedance) without output drive capability.
port pins.
Set Px_PMD
output function with source/sink current capability. The bit value in the corresponding bit [n] of
Px_DOUT is driven on the pin.
Overview
(PMDn[1:0]) to 2’b01 the Px[n] pin is in Output mode and the I/O pin supports digital
(PMDn[1:0]) to 00b the Px[n] pin is in Input mode and the I/O pin is in tri-state(high
Input Data
Port Latch
Data
Series Technical Reference Manual
Figure 6.4-1 Push-Pull Output
- 135 -
The Px_PIN value reflects the status of the corresponding
P
N
DD
VDD
is from 5.0V to 2.5V.
Publication Release Date: Sept 14, 2010
Port Pin
Revision V1.2

Related parts for NUTINY-SDK-M0516