
M451
May. 4, 2018
Page
356
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
General Purpose I/O (GPIO)
6.6
6.6.1 Overview
The NuMicro
®
M451 series has up to 87(for M45xG/M45xE)/76(for M45xD/M45xC) General
Purpose I/O pins to be shared with other function pins depending on the chip configuration. These
87(for M45xG/M45xE)/76(for M45xD/M45xC) pins are arranged in 6 ports named as PA, PB, PC,
PD, PE and PF. PA, PB, PC, and PD has 16 pins on port. PE has 15 pins on port.PF has 8 pins
on port. Each of the 87(for M45xG/M45xE)/76(for M45xD/M45xC) 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, Push-pull
output, Open-drain output or Quasi-bidirectional mode. After the chip is reset, the I/O mode of all
pins are depending on CIOIN (CONFIG0[10]). Each I/O pin has a very weakly individual pull-up
resistor which is about 110 k
~ 300 k
for V
DD
is from 5.0 V to 2.5 V.
6.6.2 Features
Four I/O modes:
–
Quasi-bidirectional mode
–
Push-Pull Output mode
–
Open-Drain Output mode
–
Input only with high impendence mode
TTL/Schmitt trigger input selectable
I/O pin can be configured as interrupt source with edge/level setting
Supports High Drive and High Slew Rate I/O mode
Configurable default I/O mode of all pins after reset by CIOINI (CONFIG0[10]) setting
–
CIOIN = 0, all GPIO pins in Quasi-bidirectional mode after chip reset
–
CIOIN = 1, all GPIO pins in input mode after chip reset
I/O pin internal pull-up resistor enabled only in Quasi-bidirectional I/O mode
Enabling the pin interrupt function will also enable the wake-up function
Supports 5V-tolerance function for following pins
–
PA.0 ~ PA.15, PC.0 ~ PC.7, PC.9 ~ PC.15, PD.5 ~ PD.8, PD.10 ~ PD.15, PE.0 ~
PE.14, PF.2, PF.5 ~ PF.6 (M45xG/M45xE Only)
–
PA.0 ~ PA.15, PB.14 ~ PB.14, PC.0 ~ PC.8, PC.10 ~ PC.13, PD.4 ~ PD.7, PD.12 ~
PD.15, PE.0 ~ PE.1, PE.3 ~ PE.5, PE.8 ~ PE.13, PF.2, PF.5 ~ PF.7 (M45xD/M45xC
Only)
Содержание ARM Cortex NuMicro M451 Series
Страница 301: ...M451 May 4 2018 Page 301 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL...
Страница 324: ...M451 May 4 2018 Page 324 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL Figure 6 4 18 Checksum Calculation Flow...
Страница 355: ...M451 May 4 2018 Page 355 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL 2 0 Reserved Reserved...
Страница 625: ...M451 May 4 2018 Page 625 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL 00 5 bits 01 6 bits 10 7 bits 11 8 bits...
Страница 721: ...M451 May 4 2018 Page 721 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL the SCL line 1 0 Reserved Reserved...
Страница 1001: ...M451 May 4 2018 Page 1001 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 64L 10x10x1 4 mm footprint 2 0 mm 9 2...
Страница 1002: ...M451 May 4 2018 Page 1002 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 64L 7x7x1 4 mm footprint 2 0 mm 9 3...
Страница 1003: ...M451 May 4 2018 Page 1003 of 1006 Rev 2 08 M451 SERIES TECHNICAL REFERENCE MANUAL LQFP 48L 7x7x1 4mm footprint 2 0mm 9 4...