|
M058SFAN Datasheet, PDF (41/72 Pages) List of Unclassifed Manufacturers – 32-bit Microcontroller | |||
|
◁ |
NuMicroï¤ M058S Series Datasheet
6.5 General Purpose I/O (GPIO)
6.5.1 Overview
There are 58 General Purpose I/O pins shared with special feature functions in this MCU. The 58
pins are arranged in 9 ports named with P0, P1⦠to P7. Each port equips maximum 8 pins
except P7[1:0]. Each one of the 58 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 VDD which is from 5.0V to 2.5V.
6.5.2 Features
ï¬ Four I/O modes:
ï® Input only with high impedance
ï® Push-pull output
ï® Open-drain output
ï¬ Quasi-bidirectional TTL/Schmitt trigger input mode selected by Px_MFP[23:16]
ï¬ I/O pin configured as interrupt source with edge/level setting
ï¬ I/O pin internal pull-up resistor enabled only in Quasi-bidirectional I/O mode
ï¬ Enabling the pin interrupt function will also enable the pin wake-up function
ï¬ Configurable default I/O mode of all pins after reset by CIOINI(CONFIG[10]) setting
ï® CIOINI = 0, all GPIO pins in Input tri-state mode after chip reset
ï® CIOINI = 1, all GPIO pins in Quasi-bidirectional mode after chip reset
Nov. 27, 2014
Page 41 of 72
Rev.1.03
|
▷ |