English
Language : 

M0519 Datasheet, PDF (39/69 Pages) List of Unclassifed Manufacturers – 32-bit Microcontroller
M0519
6.5 General Purpose I/O (GPIO)
6.5.1 Overview
The NuMicro® M0519 Series has up to 82 General Purpose I/O pins to be shared with other
function pins depending on the chip configuration. These 82 pins are arranged in 10 ports named
as P0, P1, P2, P3, P4, P5, P6, P7, P8, P9 and PA. The P0/1/2/3/4/5/6/7/8/9 port has the
maximum of 8 pins and PA port has the maximum of 2 pins. Each of the 82 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 configured by software individually as input, output, open-
drain or Quasi-bidirectional mode. After reset, the I/O mode of all pins are stay at input mode. In
Quasi-bidirectional mode, I/O pin has a very weak individual pull-up resistor which is about
110~300 K for VDD is from 5.0 V to 2.5 V.
6.5.2 Features
 Four I/O modes:
 Quasi-bidirectional
 Push-Pull output
 Open-Drain output
 Input only with high impendence
 TTL/Schmitt trigger input selectable by Px_TYPE[7:0] in 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 pin interrupt function will also enable the pin wake-up function
Nov. 02, 2016
Page 39 of 69
Rev 1.02