MT2503D SOC Processor Data Sheet v1.0
MT2503D SOC Processor Data Sheet v1.0
MT2503D SOC Processor Data Sheet v1.0
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
Version: 1.0
Release date: 2015-12-14
Ar IA
R ED
FO M
Y
Confidential A
NL
Document Revision History
US IAL
EO
Revision Date Author Description
0.1 2015-10-08 Sharon Chu Initial draft
hk T
1.0 2015-12-14 Sharon Chu
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Y
Confidential A
NL
Table of Contents
US IAL
EO
Document Revision History ......................................................................................................................... 2
hk T
Table of Contents ....................................................................................................................................... 3
m. EN
1.1 Platform Features ............................................................................................................... 16
1.3
1.4
.co ID
GSM/GPRS RF Features ................................................................................................... 19
2.1.1
no TE
Y
Confidential A
NL
2.5 Analog Baseband ............................................................................................................... 65
US IAL
2.5.1 APC-DAC ........................................................................................................... 65
EO
2.5.2 Auxiliary ADC ..................................................................................................... 66
hk T
2.6 Power Management Unit Blocks ........................................................................................ 69
m. EN
2.6.1 LDO .................................................................................................................... 70
.co ID
2.6.4
2.6.5
STRUP ............................................................................................................... 76
PCHR ................................................................................................................. 76
sac NF
2.7 GSM/GPRS RF................................................................................................................... 82
2.8 Bluetooth............................................................................................................................. 87
.Li K
2.9 FM RF ................................................................................................................................. 90
Y
Confidential A
NL
3.1.1 General Description............................................................................................ 96
US IAL
3.1.2 Register Definition .............................................................................................. 97
EO
3.2 SIM Interface .................................................................................................................... 101
hk T
3.2.2 SIM Card Insertion and Removal ..................................................................... 118
m. EN
3.2.3 Card activation and Deactivation ..................................................................... 118
3.3
.co ID
Keypad Scanner ............................................................................................................... 122
Y
Confidential A
NL
3.8.2 Register Definition ............................................................................................ 303
US IAL
3.9 UART3 .............................................................................................................................. 318
EO
3.9.1 General Description.......................................................................................... 318
hk T
3.10 I2C/SCCB Controller ........................................................................................................ 332
m. EN
3.10.1 General Description.......................................................................................... 332
.co ID
3.11 I2C/SCCB Controller (I2C_SCCB_Controller_V18) ......................................................... 345
Y
Confidential A
NL
3.15.1 General Description.......................................................................................... 403
US IAL
3.15.2 Pulse Width Modulation ................................................................................... 405
EO
3.15.3 Register Definition ............................................................................................ 405
hk T
3.16.1 Introduction ....................................................................................................... 415
m. EN
3.16.2 Overview .......................................................................................................... 415
.co ID
3.17.1
3.17.2
Introduction ....................................................................................................... 441
Y
Confidential A
NL
4.2.8 Low power detection ........................................................................................ 477
US IAL
4.2.9 Clock module .................................................................................................... 477
EO
4.2.10 Reset controller ................................................................................................ 478
hk T
4.2.12 Interrupt control unit ......................................................................................... 479
m. EN
4.2.13 Flash ................................................................................................................. 479
.co ID
4.2.16
4.2.17
ECLK ................................................................................................................ 480
Y
Confidential A
NL
Table 11. Recommended operating conditions for power supply ......................................................... 53
Table 12. Recommended operating conditions for voltage input .......................................................... 53
US IAL
Table 13. Recommended operating conditions for operating temperature ........................................... 54
Table 14. Electrical characteristics ........................................................................................................ 54
EO
Table 15. Strapping table ...................................................................................................................... 61
Table 16. Mode selection of chip ........................................................................................................... 61
Table 17. APC-DAC specifications ........................................................................................................ 65
Table 18. Functional specifications of auxiliary ADC ............................................................................ 66
hk T
Table 19. Functional specifications of analog voice blocks ................................................................... 68
Table 20. Functional specifications of analog audio blocks .................................................................. 69
m. EN
Table 21. LDO types and brief specifications ........................................................................................ 72
Table 22. Analog LDO specifications .................................................................................................... 73
Table 23. Digital LDO specifications ..................................................................................................... 73
Table 24. RTC LDO specification .......................................................................................................... 74
Table 25. RTC LDO specification. ......................................................................................................... 74
.co ID
Table 26. ISINKs and KPLED Switches Specification. ......................................................................... 75
Table 27. Charger detection specifications ........................................................................................... 80
Table 28. Pre-charge specifications ...................................................................................................... 80
Table 29. Constant current specifications ............................................................................................. 80
sac NF
Table 30. Constant voltage and over-voltage protection specifications ................................................ 81
Table 31. BC1.1 specifications .............................................................................................................. 81
Table 32. DC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated) ................................. 83
Table 33. Rx AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated) ............................ 84
Table 34. Tx GMSK AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated) ................. 85
O
Table 35. SX AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated) ........................... 86
Table 36. DCXO AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated) ...................... 86
Table 37. Basic data rate – receiver specifications ............................................................................... 88
u@ C
Table 41. FM receiver DC characteristics (TA=25°C, VDD=2.8V unless otherwise stated) ................. 91
Table 42. FM receiver AC characteristics .............................................................................................. 91
Table 43. Time-out condition for answering to reset sequence ........................................................... 119
no TE
Table 44. 5*5 double KEY’s order number in COL/ROW matrix ......................................................... 132
Table 45. 5*5 triple KEY’s order number in COL/ROW matrix ............................................................ 132
Table 46. Abbreviations ....................................................................................................................... 274
Table 47. Wakeup sources .................................................................................................................. 275
Ar IA
Table 52. IIR[5:0] codes associated with the possible interrupts ........................................................ 470
FO M
Y
Confidential A
NL
Figure 1. Typical application of MT2503D ............................................................................................. 15
US IAL
Figure 2. MT2503D block diagram ........................................................................................................ 27
Figure 3. Ball diagram and top view ...................................................................................................... 28
EO
Figure 4. IO types in state of pins ......................................................................................................... 44
Figure 5. Power-on/off control sequence by pressing PWRKEY and XOSC32_ENB = 0 .................... 62
Figure 6. Power-on/off control sequence by pressing PWRKEY and XOSC32_ENB = 1 .................... 63
Figure 7. Block diagram of audio mixed-signal blocks .......................................................................... 68
hk T
Figure 8. PMU system block diagram ................................................................................................... 70
Figure 9. Power domain ........................................................................................................................ 71
m. EN
Figure 10. LDO block diagram .............................................................................................................. 72
Figure 11. ISINKs and KPLED switches bock diagram......................................................................... 75
Figure 12. PCHR block diagram. .......................................................................................................... 77
Figure 13. Charging states diagram ...................................................................................................... 78
Figure 14. Diagram of MT2503D 2G RFSYS........................................................................................ 83
.co ID
Figure 15. System diagram of Bluetooth RF transceiver ...................................................................... 87
Figure 16. Block diagram of hardware top-level architecture ............................................................... 91
Figure 17. Outlines and dimension of VFBGA 8.4mm*6.2mm, 215-ball, 0.4 mm pitch package ......... 94
Figure 18. Mass production top marking of MT2503D .......................................................................... 95
sac NF
Figure 19. PWM waveform .................................................................................................................... 96
Figure 20. PWM waveform with register values.................................................................................... 97
Figure 21. Block diagram of SIM interface .......................................................................................... 101
Figure 22. Timing diagram of SIM interface ........................................................................................ 103
Figure 23. Answering to reset sequence ............................................................................................. 119
O
Figure 24. 5x5 double keypad matrix (50 keys) .................................................................................. 123
Figure 25. 5x5 triple keypad matrix (75 keys) ..................................................................................... 124
u@ C
Figure 32. Wakeup event and Irq_b integration diagram .................................................................... 276
Figure 33. Pause command complete and pause request state ........................................................ 280
Figure 34. Debug wakeup events ....................................................................................................... 286
Figure 35. Block Diagram of UART1 ................................................................................................... 287
Figure 36. Block Diagram of UART2 ................................................................................................... 302
Ar IA
Y
Confidential A
NL
Figure 54. Power supply connection (low power) ............................................................................... 481
Figure 55. Power supply connection (low cost) .................................................................................. 482
US IAL
Figure 56. Power supply connection (external LDO) .......................................................................... 482
Figure 57. Power on/off sequence for external LDO mode ................................................................ 483
EO
Figure 58. Timing diagram of JTAG interface ..................................................................................... 489
Figure 59. Timing diagram of RS-232 interface .................................................................................. 489
Figure 60. Timing diagram of SPI interface......................................................................................... 490
Figure 61.Timing diagram of HOST I2C interface ............................................................................... 491
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Y
Confidential A
NL
1 System Overview
US IAL
EO
MT2503D is a monolithic chip integrating security digital rights management for copyright
leading edge power management unit, analog protection. For further safeguard and to protect
baseband and radio circuitry based on the low- the manufacturer’s development investment,
hk T
power CMOS process. hardware flash content protection is provided to
prevent unauthorized porting of the software
m. EN
MT2503D is a feature-rich and extremely load.
powerful single-chip solution for high-end
GSM/GPRS capability. Based on the 32-bit Memory
TM
ARM7EJ-S
.co ID
RISC processor, MT2503D’s
superb processing power, along with high
bandwidth architecture and dedicated hardware
support, provides a platform for high-
MT2503D supports serial flash interface with
various operating frequencies.
sac NF
Multimedia
performance GPRS Class 12 MODEM
The MT2503D multimedia subsystem provides
application and leading-edge multimedia
serial interface for CMOS sensors. The camera
applications.
resolution is up to VGA size. The software-
O
trade-off between system performance and highest level of flexibility in implementing high-
power consumption. end solutions.
For large amounts of data transfer, high- To achieve a complete user interface, MT2503D
FO M
performance DMA (Direct Memory Access) with also brings together all the necessary peripheral
hardware flow control is implemented, which blocks for a multimedia GSM/GPRS phone. The
greatly enhances the data movement speed peripheral blocks include the keypad scanner
while reducing the MCU processing load. with the capability to detect multiple key presses,
SIM controller, real-time clock, PWM, serial LCD
Targeted as a media-rich platform for mobile
applications, MT2503D also provides hardware
Y
Confidential A
NL
controller and general-purpose programmable reduction. In addition, the minimum component
I/Os. count is guaranteed by realizing a highly
US IAL
integrated transmitter, low-spur frequency
EO
Audio synthesizer and a Digitally-Controlled Crystal
Using a highly integrated mixed-signal audio Oscillator (DCXO).
front-end, the MT2503D architecture provides
easy audio interfacing with direct connection to
hk T
GPS
the audio transducers. The audio interface
A high-performance single-chip multi-GNSS
m. EN
integrates A/D converters for voice band, as well
solution which includes on-chip CMOS RF,
as high-resolution stereo D/A converters for both
digital baseband, ARM7 CPU and an embedded
audio and voice band.
NOR flash. It is able to achieve the industry’s
highest level of sensitivity, accuracy and Time-
.co ID
MT2503D supports AMR codec to adaptively
optimize the quality of speech and audio.
Moreover, HE-AAC codec is implemented to
to-First-Fix (TTFF) with the lowest power
consumption in a small-footprint lead-free
package. Its small footprint and minimal BOM
sac NF
deliver CD-quality audio at low bit rates.
requirement provide significant reductions in the
design, manufacturing and testing resource
In addition, an 1.2W audio amplifier is also required for portable applications.
embedded to save the BOM cost of adopting
O
Y
Confidential A
NL
connection with a wide range of Bluetooth The JTAG interface enables in-circuit debugging
TM
devices. of the software program with the ARM7EJ-S
US IAL
core. With this standardized debugging interface,
EO
MT2503D is fully compliant with Bluetooth v3.0 MT2503D provides developers with a wide set
and offers enhanced data rates of up to 3Mbps. of options in choosing ARM development kits
It also provides the coexistence protocol with from different third party vendors.
802.11 system.
hk T
Power management
m. EN
MT2503D supports rich Bluetooth profiles, A power management is embedded in MT2503D
enabling diversified applications that are widely to provide rich features a high-end feature
used on the handset with excellent phone supports, including Li-ion battery charger,
interoperability. high performance and low quiescent current
FM radio
.co ID
The FM radio subsystem provides a completely
LDOs, and drivers for LED and backlight.
perception quality.
Debugging function
Y
Confidential A
NL
US IAL
EO
SD SIM2 SIM1 USB 1.1 F/S
SDIO USIM USIM DEVICE
hk T
1 2 3
4 5 6 KEYPAD RF
7 8 9 LCD
INTERFACE
m. EN
* 0 #
APC
PA SW
SPEECH/AUDIO
BPI
OUTPUT (PCM
INTERFACE)
SUPPLY
MT2503D VOLTAGES
.co ID
LCD
POWER
MANAGEMENT
CIRCUITRY
CHARGER
sac NF
CHIP RID
PWM
LCD
AUXADC
SPEECH/AUDIO
INPUT
FM STEREO
SDIO INTERFACE
O
RADIO INPUT
6306 SENSOR
.Li K
no TE
Y
Confidential A
NL
US IAL
EO
1.1 Platform Features
hk T
General
Integrated voice-band, audio-band and Connectivity
m. EN
base-band analog front-end 3 UARTs with hardware flow control and
Integrated full-featured power management supports baud rate up to 921,600 bps
unit FS/LS USB 1.1 device controller
Multimedia card, secure digital Memory
MCU subsystem
ARM7EJ-S .co ID
TM
32-bit RISC processor
Java hardware acceleration for fast Java-
Card, host controller with flexible I/O voltage
power
Supports 4-bit SDIO interface for SDIO
sac NF
based games and applets peripherals as well as WIFI connectivity
High-performance multi-layer AHB bus DAI/PCM and I2S interface for audio
Dedicated DMA bus with 16 DMA channels applications
O
On-chip boot ROM for factory flash I2C master interface for peripheral
programming management including image sensors
Watchdog timer for system crash recovery SPI master/slave interface for peripheral
u@ C
Power management
User interfaces Li-ion battery charger
no TE
5-row x 5-column keypad controller with 13 LDOs for the power supply of memory
hardware scanner card, camera, Bluetooth, RF, SIM card and
Supports multiple key presses for gaming other diversified usage
Dual SIM/USIM controller with hardware T = 1 open-drain output switches to
Ar IA
Y
Confidential A
NL
DAI port complies with GSM Rec.11.10.
US IAL
JTAG port for debugging embedded MCU
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Y
Confidential A
NL
US IAL
EO
1.2 MODEM Features
hk T
Radio interface and baseband front-end Supports SAIC (single antenna interference
Digital PM data path with baseband front- cancellation) technology
m. EN
end Supports VAMOS(Voice services over
High dynamic range delta-sigma ADC Adaptive Multi-user channels on One Slot)
converts the downlink analog I and Q technology in R9 spec.
signals to digital baseband.
.co ID
10-bit D/A converter for Automatic Power
Control (APC)
Programmable radio Rx filter with adaptive
Voice interface and voice front-end
Microphone input has one low-noise
amplifier with programmable gain and
sac NF
gain control Automatic Gain Control (AGC) mechanisms
Dedicated Rx filter for FB acquisition Voice power amplifier with programmable
6-pin Baseband Parallel Interface (BPI) with gain
nd
O
Echo suppression
Advanced sidetone oscillation reduction
Digital sidetone generator with
programmable gain
Ar IA
Y
Confidential A
NL
US IAL
EO
1.3 GSM/GPRS RF Features
hk T
Receiver
Dual single-ended LNAs support Quad
m. EN
bandQuadrature RF mixer
Fully integrated channel filter
High dynamic range ADC
12dB PGA gain with 6dB gain step
Transmitter
.co ID
Transmitter outputs support quad bands.
sac NF
Highly precise and low noise RF transmitter
for GSM/GPRS applications
O
Frequency synthesizer
Programmable fractional-N synthesizer
Integrated wide range RFVCO
u@ C
GPRS applications
no TE
removal
FO M
Y
Confidential A
NL
US IAL
EO
1.4 Multimedia Features
hk T
LCD controller High throughput hardware scaler. Capable
Supports simultaneous connection to seral 2 of tailoring an image to an arbitrary size.
m. EN
lane LCD modules Horizontal scaling with bilinear interpolation
LCM formats supported: RGB565, RGB666, Vertical scaling with bilinear interpolation
RGB888 YUV and RGB color space conversion
Supports LCD module with maximum RGB/YCbCr format thumbnail output
.co ID
resolution up to 320x240
Per pixel alpha channel
True color engine
MPEG-4/H.263 CODEC
Software-based MPEG4 encoder
sac NF
Supports hardware display rotation Software-based MPEG4 decoder
Capable of combining display memories ISO/IEC 14496-2 simple profile:
with up to 4 blending layers Decode spec: 480x320@25fps
O
Y
Confidential A
NL
4 layers overlay with individual color format,
window size, source key, constant alpha and
US IAL
rotation
EO
Rectangle fill with constant
BitBlt: Capable with 7 rotation types
Alpha blending with 7 rotation types, per-
hk T
pixel alpha and pre-multiplied alpha
Font drawing: Normal font and anti-aliasing
m. EN
font
Audio CODEC
Supports AAC codec decoding
.co ID
Wavetable synthesis with up to 64 tones
Advanced wavetable synthesizer capable of
generating simulated stereo
sac NF
Wavetable including GM full set of 128
instruments and 47 sets of percussions
PCM playback and record
Digital audio playback
O
audio playback
Voice band A/D converter support
Stereo to mono conversion
no TE
Ar IA
R ED
FO M
Y
Confidential A
NL
US IAL
EO
1.5 Bluetooth Features
hk T
Radio features Channel quality driven data rate adaptation
Fully compliant with Bluetooth specification Channel assessment for AFH
m. EN
3.0
Low out-of-band spurious emissions support Platform features
simultaneous operation with GPS and Embedded processor for Bluetooth protocol
GSM/GPRS worldwide radio systems stack with built-in memory system
.co ID
Low-IF architecture with high degree of
linearity and high order channel filter
Integrated T/R switch and Balun
Fully verified ROM based system with code
patch for feature enhancement
sac NF
Fully integrated PA provides 7.5dBm output
power
-95dBm sensitivity with excellent
O
Baseband features
.Li K
inquiry/page scan
Supports sniff mode
AFH and PTA collaborative support for
R ED
WLAN/BT coexistence
Idle mode and sleep mode enables ultra-low
power consumption.
Supports PCM interface and built-in
FO M
Y
Confidential A
NL
US IAL
EO
1.6 FM Features
hk T
65-108MHz worldwide FM bands with
50KHz tuning step
m. EN
Supports RDS/RBDS radio data system
Digital stereo demodulator
Adaptive FM demodulator for both high- and
low-quality scenarios
Low
.co ID
sensitivity
interference rejection
Programmable
level with superior
de-emphasis
sac NF
Stereophonic multiplex signal (MPX) signal
detection and demodulation
O
Audio SINAD≥60dB
Supports Anti-jamming algorithm
no TE
Y
NL
US IAL
EO
1.7 GPS feature
Specifications
hk T
ARM7EJ-S CPU
GPS/GLONASS/GALILEO/BEIDOU(after
Up to 158 MHz processor clock
m. EN
ICD released) receiver
Dynamic clock rate control
Supports multi-GNSS incl. QZSS, SBAS
ranging
Pulse-per-second (PPS) GPS time
Supports WAAS/EGNOS/MSAS/GAGAN
reference
.co ID
12 multi-tone active interference cancellers
(ISSCC2011 award)
RTCM ready
Adjustable duty cycle
Typical accuracy: ±10 ns
sac NF
Indoor and outdoor multi-path detection
Power scheme
and compensation
A 1.8 volts SMPS build-in SOC
Supports FCC E911 compliance and A-
Direct lithium battery connection (2.8 ~ 4.3
GPS
O
volts)
Max. fixed update rate up to 10 Hz
Self build 1.1 volts RTC LDO, 1.1 volts
u@ C
feature.
Backup mode
Reference oscillator
A Force_On pin to ease backup mode
R ED
TCXO
application circuit
Frequency: 16.368 MHz, 12.6 ~ 40.0 MHz
Frequency variation: ±2.5 ppm
Serial interface
Crystal
3 UARTs
FO M
RF configuration
NMEA
SoC, integrated in single chip with CMOS
NMEA 0183 standard V4.1 and backward
process
compliance
Supports 219 different data
Y
NL
Superior sensitivities
Acq.: -148 dBm (cold) / -163 dBm (hot)
US IAL
Tracking: -165 dBm
EO
Ultra-low power consumption
(GPS+GLONASS)
Acquisition: 37 mW
hk T
Tracking: 27 mW
AlwaysLocateTM: 3.0 mW
m. EN
hardware design
9 passive external components
.co ID
Single RF Front-End
frequency bands
for Multi-GNSS
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Y
Confidential A
NL
US IAL
EO
1.8 General Descriptions
hk T
Figure 2 is the block diagram of MT2503D. Audio front-end: Data path for converting
Based on a multi-processor architecture, stereo audio from an audio source
m. EN
TM
MT2503D integrates an ARM7EJ-S core, the Baseband front-end: Data path for
main processor running high-level GSM protocol converting a digital signal to and from an
software as well as multimedia applications, analog signal from the RF modules
single digital signal processor core, which Timing generator: Generates the control
.co ID
manages the low-level MODEM and advanced
audio functions, an embedded processor
running Bluetooth baseband and link control
signals related to the TDMA frame timing
Power, reset and clock subsystem: Manage
the power, reset and clock distribution
sac NF
protocol and the Bluetooth radio control. inside MT2503D.
Bluetooth subsystem: Includes an
MT2503D consists of the following subsystems: embedded processor with embedded
Microcontroller Unit (MCU) subsystem:
O
management and interrupt handling logics power supply source which also controls
Digital Signal Processor (DSP) subsystem: the charging and system startup circuitry.
Includes a DSP and its accompanying
.Li K
memory, memory controller and interrupt Details of the individual subsystems and blocks
controller are described in the following chapters.
no TE
Y
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
MT2503D
DSP JTAG
ICE
PMU
Internal ARM7EJS
no TE
Internal Memory
DMA
Memory
Speaker GPIO
DMA GPIO
AFE Interrupt
Voice in Analog Baseband VFE Controller
Interrupt Boot
Touch GPTimer
Panel BFE
DS Controller ROM
P
Ar IA
Scaler
BLUESY Internal memory
R ED
BT RF S Image
DMA
Camer 2D
FM RF FMSYS a INT
FO M
VGA
Camera
Y
NL
2 Product Descriptions
US IAL
EO
2.1 Pin Description
2.1.1 Ball Diagram
hk T
For MT2503D, an VFBGA 8.4mm*6.2mm, 215-ball, 0.4mm pitch package is offered. Pin-outs and the
top view are illustrated in Figure 3 for this package.
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
Y
NL
Pin# Net name Pin# Net name Pin# Net name
A8 VIO28 F2 FM_ANT_P K20 GPS_T1N
US IAL
A10 BPI_BUS2 F4 PWRKEY L1 AVSS44_BOOST
EO
A12 SCL28 F5 GND L2 AVSS44_BOOST
A13 CMRST F6 GND L3 AU_HPL
A15 CMMCLK F13 GPS_DVSS11_CORE L4 ACCDET
hk T
A16 CMCSD0 F14 GPS_DVSS11_CORE L5 LSCE_B
A17 GPS_XIN F15 GPS_DVSS28_SF L6 TESTMODE_D
m. EN
A18 GPS_XOUT F17 GPS_JCK L7 RESETB
A19 GPS_AVDD43_RTC F19 GPS_AVDD_TCXO_SW L8 LPTE
A20 GPS_AVDD43_DCV G1 VREF L10 MCDA0
B1
B2
B3
.co ID RXHB
TX_LB
AVSS_2GHF
G2
G3
G4
AVSS_FM
CHRLDO
BATON
L11
L12
L13
MCDA3
VMC
VSIM2
sac NF
B4 XTAL1 G5 GND L14 GPS_JRST_
B5 XTAL2 G6 GND L17 GPS_JDI
B6 AVSS_2GHF G7 GND L18 GPS_DVDD28_IO2
O
Y
NL
Pin# Net name Pin# Net name Pin# Net name
C19 GPS_DCV H13 GPS_DVSS11_CORE N7 APC
US IAL
C20 GPS_AVSS43_DCV H14 GPS_DVSS11_CORE N8 AVSS44_DLDO
EO
D1 VRF H15 GPS_DVSS11_CORE N9 VIBR
D2 AVSS_2GHF H16 GPS_DVSS11_CORE N10 VUSB
D3 GPIO_10 H17 GPS_DVSS28_IO N11 VIO18
hk T
D4 GPIO_11 H18 GPS_DVDD28_IO1 N12 VIO18
D5 EXT_CLK_SEL H19 GPS_VREF N13 SIM2_SIO
m. EN
D7 KROW0 J2 DRV N14 SIM1_SIO
D8 KROW3 J4 AUXIN4 N15 SIM1_SRST
D9 KCOL3 J5 GND N16 GPS_JDO
D11
D12
D13
.co ID KCOL4
GPIO_4
GPIO_5
J6
J7
J8
GND
GND
GND
N17
N18
N19
GPS_EINT0
GPS_EINT1
GPS_AVSS_RF
sac NF
D14 GPIO_1 J9 GND N20 GPS_RFIN
D15 GPIO_6 J10 GND P1 SPK_OUTP
D16 GPS_32K_OUT J11 GND P2 AVSS_SPK
O
Y
NL
2.1.3 Detailed Pin Description
US IAL
Table 2. Acronym for pin types
Abbreviation Description
EO
AI Analog input
AO Analog output
AIO Analog bi-direction
hk T
DI Digital input
m. EN
DO Digital output
DIO Digital bi-direction
P Power
G Ground
Y
NL
Pin name Type Description Power domain
General purpose input /output 10,
US IAL
with analog output function, please be
notified that this GPIO may temporarily
EO
output high signal after VRF power-on then
output low once RF circuit reset done
hk T
GPIO_10 DIO VRF
m. EN
.co ID General purpose input /output 11,
sac NF
with analog output function, please be
notified that this GPIO temporarily output
high signal after VRF power-on then output
low once RF circuit reset done
O
RF control circuitro
BPI_BUS0 DIO RF hard-wire control bus bit 0 DVDD28
Ar IA
Y
NL
Pin name Type Description Power domain
KROW3 DIO Keypad row 3 DVDD28
US IAL
KROW4 DIO Keypad row 4 DVDD28
Camera interface
EO
CMRST DIO CMOS sensor reset signal output DVDD28
CMPDN DIO CMOS sensor power down control DVDD28
CMCSD0 DIO CMOS sensor data input 0 DVDD28
hk T
CMCSD1 DIO CMOS sensor data input 1 DVDD28
CMMCLK DIO CMOS sensor pixel clock input DVDD28
m. EN
CMCSK DIO CMOS sensor pixel clock output DVDD28
MS/SD card interface
SD serial data IO 0/memory stick serial data
MCDA0 DIO DVDD33_MSDC
IO
MCDA1
MCDA2
.co ID DIO
DIO
SD serial data IO 1/memory stick serial data
IO
SD serial data IO 2/memory stick serial data
DVDD33_MSDC
DVDD33_MSDC
sac NF
IO
SD serial data IO 3/memory stick serial data
MCDA3 DIO DVDD33_MSDC
IO
MCCK DIO SD serial clock/memory stick serial clock DVDD33_MSDC
O
FM
FM_ANT_P AI FM input from antenna VCAMA
Bluetooth
BT_LNA AIO Bluetooth RF single-ended input DVDD28
2G RF
RXHB AI RF input for highband Rx (DCS/PCS) VRF
Y
NL
Pin name Type Description Power domain
RF input for lowband Rx
US IAL
RXLB AI VRF
(GSM900/GSM850)
TX_HB AO RF output for highband Tx (DCS/PCS) VRF
EO
RF output pin for lowband Tx
TX_LB AO VRF
(GSM900/GSM850)
FREF AO DCXO reference clock output VRF
hk T
XTAL1 AIO Input 1 for DCXO crystal VRF
XTAL2 AIO Input 2 for DCXO crystal VRF
m. EN
EXT_CLK_SEL AIO DCXO mode selection VRF
USB
USB11_DM AIO D- data input/output -
USB11_DP AIO D+ data input/output -
GPS
GPS_RFIN .co ID RF signal
Analog
LNA RF Input pin
sac NF
GPS_XIN RTC 32KHz XTAL input
input
Analog
GPS_XOUT RTC 32KHz XTAL output
output
Analog
O
Digital
GPS_DVSS11_CORE Digital 1.1V core ground
ground
GPS_DCV_FB SMPS
.Li K
Digital
GPS_DVDD11_CORE1 Digital 1.1V core power input
power
1.2V
LVTTL
Ar IA
I/O
RTC domain GPIO pin, can be
PPU, PPD, programmed to 32KHz clock output or
SMT DR wake-up signal input
4mA, Default: pull-down
8mA,
Default: 16mA driving
12mA,
16mA
GPS_32K_OUT PDR
Y
NL
Pin name Type Description Power domain
Analog
US IAL
GPS_AVDD11_RTC RTC LDO output
power
Analog
EO
Core LDO output pin
GPS_AVDD11_CLDO power
Digital
GPS_DVDD28_SF Digital 2.8V serial flash power input
power
hk T
2.8V,
LVTTL
m. EN
I/O
PPU, PPD, Serial output for UART 1
SMT
Default: pull-up
4mA,
Default: 8mA driving
8mA,
GPS_TX1
.co ID 12mA,
16mA
PDR
sac NF
Analog
GPS_AVDD28_TLDO TCXO LDO output pin
power
Analog Core LDO input pin. Always powered
GPS_AVDD28_CLDO power by external source or SMPS
O
Digital
GPS_DVSS28_SF Digital 2.8V serial flash ground
ground
u@ C
2.8V,
LVTTL
I/O
.Li K
Analog
GPS_AVDD_TCXO_SW TCXO power switch output pin
power
2.8V,
LVTTL
R ED
Y
NL
Pin name Type Description Power domain
2.8V,
US IAL
LVTTL
I/O
EO
PPU, PPD, Serial input for UART 1
SMT
Default: pull-up
4mA,
Default: 8mA driving
8mA,
hk T
12mA,
16mA
m. EN
GPS_RX1 PDR
TCXO LDO input pin. Always be
Analog powered by external source. UVLO
power will detect this PIN to check power
GPS_AVDD43_VBAT
.co ID
GPS_AVSS43_MISC
Analog
ground
Digital
status.
GND pin for buck controller, TCXO
LDO and start-up block
sac NF
GPS_DVSS28_IO Digital 1.8/2.8V IO ground
ground
Digital
GPS_DVDD28_IO1 Digital 1.8/2.8V IO power input
power
O
Analog
GPS_OSC Input for crystal oscillator or TCXO
signal
2.8V,
LVTTL
FO M
I/O
PPU, PPD, Serial input for UART 0
SMT
Default: pull-up
4mA,
Default: 8mA driving
8mA,
12mA,
16mA
GPS_RX0 PDR
Y
NL
Pin name Type Description Power domain
2.8V,
US IAL
LVTTL
I/O
EO
PPU, PPD, Serial input for UART 2
SMT
Default: pull-up
4mA,
Default: 8mA driving
8mA,
hk T
12mA,
16mA
m. EN
GPS_RX2 PDR
GPS_T1P Analog
RF testing signal
signal
Analog
GPS_T1N
.co ID signal
2.8V,
LVTTL
I/O
RF testing signal
sac NF
PPU, PPD, SPI slave selection 1
SMT Default: pull-up
4mA, Default: 8mA driving
8mA, Strap pin clk_sel[1]
O
12mA,
16mA
GPS_JRST_ PDR
u@ C
2.8V,
LVTTL
I/O
.Li K
Default: pull-down
4mA,
Default: 8mA driving
8mA,
12mA,
16mA
GPS_JDI
Ar IA
PDR
Digital
GPS_DVDD28_IO2 Digital 1.8/2.8V IO power input
power
2.8V
R ED
Y
NL
Pin name Type Description Power domain
2.8V,
US IAL
LVTTL
I/O
EO
PPU, PPD, Serial output for UART 0
SMT
Default: pull-up
4mA,
Default: 8mA driving
8mA,
hk T
12mA,
16mA
m. EN
GPS_TX0 PDR
2.8V, SPI clock output
LVTTL Default: pull-up
I/O Default: 8mA driving
LVTTL
I/O
PPU, PPD, SPI slave selection 1
u@ C
12mA,
16mA
GPS_SCS1_ PDR
no TE
2.8V
Test mode. Must keep low in normal
LVTTL
mode.
input
GPS_XTEST Default: pull-down
SMT
Ar IA
GPS_AVSS_RF RF
RF ground pins
ground
2.8V,
R ED
LVTTL
I/O Serial output for UART 2
PPU, PPD, Default: pull-up
SMT Default: 8mA driving
FO M
Y
NL
Pin name Type Description Power domain
2.8V,
US IAL
LVTTL
I/O
EO
PPU, PPD, External interrupt 0
SMT
Default: pull-down
4mA,
Default: 8mA driving
8mA,
hk T
12mA,
16mA
m. EN
GPS_EINT0 PDR
2.8V,
LVTTL
I/O
GPS_AVSS_RF ground
GPS_JMS SMPS SMPS GND pin
u@ C
2.8V,
LVTTL
I/O
.Li K
Analog baseband
AU_HPR AIO Audio head phone output (R channel) AVDD28_ABB
R ED
Y
NL
Pin name Type Description Power domain
APC AIO Automatic power control DAC output AVDD28_ABB
US IAL
AU_MICBIAS0 AIO Microphone bias source 0 AVDD28_ABB
ACCDET AIO Accessory detection
EO
AVDD28_ABB
Power management unit
VA AIO LDO output for ABB - VA VBAT_ANALOG
VCAMA AIO LDO output for sensor – VCAMA VBAT_VA
hk T
VIBR AIO LDO output for vibrator - VIBR VBAT_DIGITAL
VIO18 AIO LDO output for 1.8V power - VIO18 VBAT_DIGITAL
m. EN
VIO28 AIO LDO output for 2.8V power - VIO28 VBAT_DIGITAL
VMC AIO LDO output for memory card - VMC VBAT_DIGITAL
VSF AIO LDO output - VSF VBAT_DIGITAL
VRF
VRTC
VSIM1
.co ID AIO
AIO
AIO
LDO output for GSMRF - VRF
LDO output for RTC - VRTC
st
LDO output for 1 SIM - VSIM
nd
VBAT_VA
VBAT_DIGITAL
VBAT_DIGITAL
sac NF
VSIM2 AIO LDO output for 2 SIM - VSIM2 VBAT_DIGITAL
VUSB AIO LDO output for USB - VUSB VBAT_DIGITAL
VCORE AIO LDO output for core circuit - Vcore VBAT_DIGITAL
VREF AIO Band gap reference BATSNS
O
Y
NL
Pin name Type Description Power domain
AVSS44_PMU G PMU ground -
US IAL
AVSS44_ALDO G ALDO ground -
AVSS44_DLDO G DLDO ground
EO
-
AVSS_SPK G SPK ground -
AGND G GND for VREF -
AVSS44_BOOST G Audio boost GND -
hk T
Digital power
VDDK P Core power -
m. EN
Digital ground
GND G Ground -
Abbreviation Description
sac NF
I Input
LO Low output
HO High output
LO Low output
O
PU Pull-up
PD Pull-down
u@ C
- No PU/PD
0~N Aux. function number
X Delicate function pin
.Li K
no TE
Reset Termination
Name 1 2 3 Output drivability IO type
State Aux PU/PD when not used
Ar IA
System
RESETB HO 1 - DIOH3/DIOL3 No need IO Type 3
SRCLKENAI I 0 PD DIOH1/DIOL1 No need IO Type 1
R ED
1 The column “State” of “Reset” shows the pin state during reset. (Input, High Output, Low Output, etc)
2 The column “Aux” for “Reset” means the default aux function number, shown in the table “Pin Multiplexing, Capability and
Settings”.
3 The column “PU/PD” for “Reset” means if there is internal pull-up or pull-down when the pin is input in the reset state.
Y
NL
Reset Termination
Name 1 2 3 Output drivability IO type
State Aux PU/PD when not used
US IAL
GPIO_0 I 0 PD DIOH1/DIOL1 No need IO Type 1
EO
GPIO_1 I 0 PD DIOH1/DIOL1 No need IO Type 1
GPIO_2 I 0 PD DIOH1/DIOL1 No need IO Type 1
GPIO_3 I 0 PD DIOH1/DIOL1 No need IO Type 1
GPIO_4 I 0 PD DIOH2/DIOL2 No need IO Type 2
hk T
GPIO_5 LO 0 PD DIOH2/DIOL2 No need IO Type 2
GPIO_6 LO 0 PD DIOH2/DIOL2 No need IO Type 2
m. EN
GPIO_7 LO 0 PD DIOH2/DIOL2 No need IO Type 2
GPIO_8 I 0 PD DIOH2/DIOL2 No need IO Type 2
GPIO_9 I 0 PD DIOH2/DIOL2 No need IO Type 2
GPIO_10
GPIO_11
.co ID
RF control circuitry
BPI_BUS0
I
I
LO
0
0
1
PD
PD
PD
DIOH1/DIOL1
DIOH1/DIOL1
DIOH2/DIOL2
No need
No need
No need
IO Type 1
IO Type 1
IO Type 2
sac NF
BPI_BUS1 I 1 PD DIOH2/DIOL2 No need IO Type 2
BPI_BUS2 I 1 PD DIOH2/DIOL2 No need IO Type 2
UART interface
O
Keypad Interface
KCOL0 I 0 PU DIOH4/DIOL4 No need IO Type 4
KCOL1 I 0 PU DIOH4/DIOL4 No need IO Type 4
.Li K
Y
NL
Reset Termination
Name 1 2 3 Output drivability IO type
State Aux PU/PD when not used
US IAL
MCCK I 0 PU DIOH3/DIOL3 No need IO Type 3
EO
MCCM0 I 0 PU DIOH3/DIOL3 No need IO Type 3
SIM card interface
SIM1_SIO I 1 PD DIOH6/DIOL6 No need IO Type 6
SIM1_SRST I 1 PD DIOH6/DIOL6 No need IO Type 6
hk T
SIM1_SCLK I 1 PD DIOH6/DIOL6 No need IO Type 6
SIM2_SIO I 1 PD DIOH6/DIOL6 No need IO Type 6
m. EN
SIM2_SRST I 1 PD DIOH6/DIOL6 No need IO Type 6
SIM2_SCLK I 1 PD DIOH6/DIOL6 No need IO Type 6
I2C interface
I
SCL28
SDA28
LCD interface
LSCE_B
.co ID HO
I
0
0
1
PD
PD
-
DIOH2/DIOL2
DIOH2/DIOL2
DIOH3/DIOL3
No need
No need
No need
IO Type 2
IO Type 2
IO Type 3
sac NF
LSCK I 0 PD DIOH3/DIOL3 No need IO Type 3
LSDA I 0 PD DIOH3/DIOL3 No need IO Type 3
LSA0 I 0 PD DIOH3/DIOL3 No need IO Type 3
O
DVDIO DVDIO
.Li K
DVO DVO
no TE
PAD PAD
Output Output
Enable Enable
Input Input
DVDIO GNDIO DVDIO GNDIO
Enable Enable
PU PU
Ar IA
VIN VIN
PD PD
GNDIO GNDIO
R ED
IO type1 IO type2
FO M
Y
NL
US IAL
DVDIO
DVDIO
EO
DVO
DVO
PAD
PAD
Output
Output
Enable
hk T
Enable
DVDIO GNDIO
DVDIO GNDIO
m. EN
PU
PU
VIN
VIN
PD
PD
GNDIO
GNDIO
DVDIO
DVDIO
DVO
DVO
.Li K
PAD
PAD
Output
Output
Enable
Enable
no TE
DVDIO GNDIO
DVDIO GNDIO
PU
PU
VIN
VIN
PD
PD
Ar IA
GNDIO
GNDIO
IO type5 IO type6
R ED
FO M
Y
NL
2.1.4 Pin Multiplexing, Capability and Settings
US IAL
Table 6. Acronym for pull-up and pull-down types
Abbreviation Description
EO
PU Pull-up, not controllable
PD Pull-down, not controllable
hk T
CU Pull-up, controllable
CD Pull-down, controllable
m. EN
X Cannot pull-up or pull-down
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
4 PWM0 O CU, CD 4, 8, 12, 16mA 0
EO
5 CMCSD0 I CU, CD 4, 8, 12, 16mA 0
6 EDIWS O CU, CD 4, 8, 12, 16mA 0
7 JTRST_B I PD 4, 8, 12, 16mA 0
hk T
8 BTJTRSTB I CU, CD 4, 8, 12, 16mA 0
m. EN
9 FMJTRSTB I CU, CD 4, 8, 12, 16mA 0
GPIO_3 0 GPIO3 IO CU, CD 4, 8, 12, 16mA 0
1 MCINS I CU, CD 4, 8, 12, 16mA 0
.co ID 2
4
5
YM
PWM1
CMCSD1
AIO
O
I
-
CU, CD
CU, CD
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
6 EDICK O CU, CD 4, 8, 12, 16mA 0
7 JTDO O CU, CD 4, 8, 12, 16mA 0
8 BTJTDO O CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
URXD1 0 GPIO10 IO CU, CD 4, 8, 12, 16mA 0
EO
1 U1RXD I PU 4, 8, 12, 16mA 0
2 CMRST O CU, CD 4, 8, 12, 16mA 0
3 EINT9 I CU, CD 4, 8, 12, 16mA 0
hk T
4 MCINS I CU, CD 4, 8, 12, 16mA 0
m. EN
UTXD1 0 GPIO11 IO CU, CD 4, 8, 12, 16mA 0
1 U1TXD O CU, CD 4, 8, 12, 16mA 0
2 CMPDN O CU, CD 4, 8, 12, 16mA 0
KCOL4 .co ID 3
0
1
EINT10
GPIO12
KCOL4
I
IO
IO
CU, CD
CU, CD
-
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
2 U2RXD I CU, CD 4, 8, 12, 16mA 0
3 EDIDI I CU, CD 4, 8, 12, 16mA 0
4 FMJTDI I CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
KCOL0 0 GPIO16 IO CU, CD 4, 8, 12, 16mA 0
EO
1 KCOL0 IO - 4, 8, 12, 16mA 0
KROW4 0 GPIO17 IO CU, CD 4, 8, 12, 16mA 0
1 KROW4 IO - 4, 8, 12, 16mA 0
hk T
2 U2TXD O CU, CD 4, 8, 12, 16mA 0
m. EN
3 EDICK O CU, CD 4, 8, 12, 16mA 0
KROW3 0 GPIO18 IO CU, CD 4, 8, 12, 16mA 0
1 KROW3 IO - 4, 8, 12, 16mA 0
.co ID 2
3
4
EINT13
CLKO0
FMJTRSTB
O
I
I
CU, CD
CU, CD
CU, CD
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
5 JTRST_B I PD 4, 8, 12, 16mA 0
6 BTJTRSTB I CU, CD 4, 8, 12, 16mA 0
KROW2 0 GPIO19 IO CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
1 BPI_BUS1 O CU, CD 4, 8, 12, 16mA 0
EO
BPI_BUS0 0 GPIO24 IO CU, CD 4, 8, 12, 16mA 0
1 BPI_BUS0 IO CU, CD 4, 8, 12, 16mA 0
CMRST 0 GPIO25 IO CU, CD 4, 8, 12, 16mA 0
hk T
1 CMRST O CU, CD 4, 8, 12, 16mA 0
m. EN
2 TESTMODE_D O CU, CD 4, 8, 12, 16mA 0
3 CLKO1 O CU, CD 4, 8, 12, 16mA 0
4 EINT15 I CU, CD 4, 8, 12, 16mA 0
CMPDN
.co ID 5
6
0
FMJTDI
JTDI
GPIO26
I
I
IO
CU, CD
PU
CU, CD
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
1 CMPDN O CU, CD 4, 8, 12, 16mA 0
2 LSCK1 O CU, CD 4, 8, 12, 16mA 0
3 DAICLK O CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
1 CMMCLK O CU, CD 4, 8, 12, 16mA 0
EO
2 LSA0DA1 O CU, CD 4, 8, 12, 16mA 0
3 DAISYNC O CU, CD 4, 8, 12, 16mA 0
4 SPIMISO IO CU, CD 4, 8, 12, 16mA 0
hk T
5 FMJTDO O CU, CD 4, 8, 12, 16mA 0
m. EN
6 JTDO O CU, CD 4, 8, 12, 16mA 0
8 MC2DA0 IO - 4, 8, 12, 16mA 0
CMCSK 0 GPIO30 IO CU, CD 4, 8, 12, 16mA 0
.co ID 1
2
3
CMCSK
LPTE
CMCSD2
I
I
I
CU, CD
CU, CD
CU, CD
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
4 EINT16 I CU, CD 4, 8, 12, 16mA 0
6 JTRCK O CU, CD 4, 8, 12, 16mA 0
MCCK 0 GPIO31 IO CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
4 DAIPCMOUT O CU, CD 4, 8, 12, 16mA 0
EO
SIM1_SIO 0 GPIO37 IO CU, CD 2, 4, 6, 8mA 0
1 SIM1_SIO IO - 2, 4, 6, 8mA 0
SIM1_SRST 0 GPIO38 IO CU, CD 2, 4, 6, 8mA 0
hk T
1 SIM1_SRST IO - 2, 4, 6, 8mA 0
m. EN
SIM1_SCLK 0 GPIO39 IO CU, CD 2, 4, 6, 8mA 0
1 SIM1_SCLK IO - 2, 4, 6, 8mA 0
SIM2_SIO 0 GPIO40 IO CU, CD 2, 4, 6, 8mA 0
SIM2_SRST
.co ID 1
3
0
SIM2_SIO
U2RTS
GPIO41
IO
O
IO
-
CU, CD
CU, CD
2, 4, 6, 8mA
2, 4, 6, 8mA
2, 4, 6, 8mA
0
0
0
sac NF
1 SIM2_SRST IO - 2, 4, 6, 8mA 0
2 CLKO3 O CU, CD 2, 4, 6, 8mA 0
3 U2CTS I CU, CD 2, 4, 6, 8mA 0
O
1 SIM2_SCLK IO - 2, 4, 6, 8mA 0
2 LSCE1_B1 O CU, CD 2, 4, 6, 8mA 0
.Li K
Y
NL
Aux. Aux. PU/PD/
Name Aux. name Driving SMT
function type CU/CD
US IAL
LSDA0 0 GPIO48 IO CU, CD 4, 8, 12, 16mA 0
EO
1 LSDA0 IO - 4, 8, 12, 16mA 0
2 EINT21 I CU, CD 4, 8, 12, 16mA 0
3 CMCSD1 I CU, CD 4, 8, 12, 16mA 0
hk T
4 WIFITOBT I CU, CD 4, 8, 12, 16mA 0
m. EN
LSA0 0 GPIO49 IO CU, CD 4, 8, 12, 16mA 0
1 LSA0DA0 O - 4, 8, 12, 16mA 0
2 LSCE1_B0 O CU, CD 4, 8, 12, 16mA 0
LPTE .co ID 3
0
1
CMMCLK
GPIO50
LPTE
O
IO
I
CU, CD
CU, CD
CU, CD
4, 8, 12, 16mA
4, 8, 12, 16mA
4, 8, 12, 16mA
0
0
0
sac NF
2 EINT22 I CU, CD 4, 8, 12, 16mA 0
3 CMCSK I CU, CD 4, 8, 12, 16mA 0
4 CMCSD2 I CU, CD 4, 8, 12, 16mA 0
O
Y
NL
Symbol or pin name Description Min. Max. Unit
AVDD_SPK VBAT input for loud speaker driver -0.3 +5.5 V
US IAL
VDDK 1.3v core power -0.3 +1.43 V
EO
Table 9. Absolute maximum ratings for voltage input
hk T
VIN1 Digital input voltage for IO Type 1 -0.3 3.08 V
VIN2 Digital input voltage for IO Type 2 -0.3 3.08 V
m. EN
VIN3 Digital input voltage for IO Type 3 -0.3 3.63 V
VIN4 Digital input voltage for IO Type 4 -0.3 3.08 V
VIN5 Digital input voltage for IO Type 5 -0.3 3.08 V
VIN6
VIN7
.co ID Digital input voltage for IO Type 6
Digital input voltage for IO Type 7
-0.3
-0.3
3.08
3.63
V
V
sac NF
Table 10. Absolute maximum ratings for storage temperature
Y
NL
Table 13. Recommended operating conditions for operating temperature
US IAL
Symbol or pin name Description Min. Typ Max. Unit
o
Tc Operating temperature -20 - 85 C
EO
2.2.3 Electrical Characteristics under Recommended Operating Conditions
hk T
Table 14. Electrical characteristics
m. EN
Symbol Description Condition Min. Typ. Max. Unit
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
2.1 < VIN1 < 3.1
DIIH1
.co ID
Digital high input current
for IO Type 1
PU enabled,
DVDIO = 2.8V,
2.1 < VIN1 < 3.1
PD enabled,
-22.5 - 12.5 μA
sac NF
DVDIO = 2.8V, 6.1 - 82.5
2.1<VIN1<3.1
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
O
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
Digital high input current 2.1 < VIN1 < 3.1
DIIH2 μA
for IO Type 2 PU enabled,
DVDIO = 2.8V, -22.5 - 12.5
2.1 < VIN1 < 3.1
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
PD enabled,
US IAL
DVDIO = 2.8V, 6.1 - 82.5
2.1<VIN1<3.1
EO
PU/PD disabled,
DVDIO = 1.8V, -5 - 5
1.35 < VIN1 < 2.1
hk T
PU enabled,
DVDIO = 1.8V, -11.4 - 9.3 μA
m. EN
1.35 < VIN1 < 2.1
PD enabled,
DVDIO = 1.8V, -0.8 - 35
1.35 < VIN1 < 2.1
PU/PD disabled,
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
PU/PD disabled,
US IAL
DVDIO = 2.8V, -5 - 5
2.1 < VIN3 < 3.1
EO
PU enabled,
DVDIO = 2.8V, -22.5 - 12.5 μA
2.1 < VIN3 < 3.1
hk T
PD enabled,
DVDIO = 2.8V, 6.1 - 82.5
m. EN
Digital high input current 2.1 < VIN3 < 3.1
DIIH3
for IO Type 3 PU/PD disabled,
DVDIO = 1.8V, -5 - 5
1.35 < VIN3 < 2.1
PU enabled,
DVDIO = 1.8V, -5 - 5
-0.3 < VIN3 < 0.45
PU enabled,
DVDIO = 1.8V, -35 - 0.8 μA
Ar IA
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
resistance for IO Type 3 DVDIO = 2.8V 10 47 100 kΩ
US IAL
Digital output high DVDIO = 2.8V 2.38 V
DVOH3
voltage for IO Type 3
EO
DVDIO = 1.8V 1.53 V
Digital output low voltage DVDIO = 2.8V 0.42 V
DVOL3
for IO Type 3 DVDIO = 1.8V 0.27 V
PU/PD disabled,
hk T
DVDIO = 2.8V, -5 - 5
2.1 < VIN4 < 3.1
m. EN
PU enabled,
Digital high input current
DIIH4 DVDIO = 2.8V, -22.5 - 12.5 μA
for IO Type 4
2.1 < VIN4 < 3.1
PD enabled,
PD enabled,
DVDIO = 2.8V, -12.5 - 22.5
u@ C
(GPIO mode)
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
PU enabled,
US IAL
DVDIO = 2.8V, -22.5 - 12.5
2.1 < VIN5 < 3.1
EO
PD enabled,
DVDIO = 2.8V, 6.1 - 82.5
2.1 < VIN5 < 3.1
hk T
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
m. EN
-0.3 < VIN5 < 0.7
Digital low input current PU enabled, DVDIO =
DIIL5 -82.5 - -6.1 μA
for IO Type 5 2.8V, -0.3 < VIN5 < 0.7
PD enabled,
DVDIO = 2.8V, -12.5 - 22.5
DIOH5
.co ID
Digital high output current
for IO Type 5
-0.3 < VIN5 < 0.7
DVOH > 2.38V,
DVDIO = 2.8V
-16 - - mA
sac NF
Digital low output current DVOL < 0.42V,
DIOL5 - - 16 mA
for IO Type 5 DVDIO = 2.8V
Digital I/O pull-up
DRPU5 resistance for IO Type 5 DVDIO = 2.8V 15 36 55 kΩ
O
(GPIO mode)
Digital I/O pull-down
DRPD5 resistance for IO Type 5 DVDIO = 2.8V 15 36 55 kΩ
u@ C
(GPIO mode)
for IO Type 5
PU/PD disabled, DVDIO
= 2.8V, -5 - 5
2.1 < VIN6 < 3.1
R ED
PU enabled,
DVDIO = 2.8V, -22.5 - 12.5 μA
2.1 < VIN6 < 3.1
PD enabled,
FO M
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
PD enabled,
US IAL
DVDIO = 1.8V, -0.8 - 35
1.35 < VIN6 < 2.1
EO
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
-0.3 < VIN6 < 0.7
hk T
PU enabled,
DVDIO = 2.8V, -82.5 - -6.1 μA
m. EN
-0.3 < VIN6 < 0.7
PD enabled,
DVDIO = 2.8V, -12.5 - 22.5
Digital low input current -0.3 < VIN6 < 0.7
DIIL6
for IO Type 6 PU/PD disabled,
- - 6 mA
DVDIO = 1.8V
Digital I/O pull-up DVDIO = 2.8V 40 85 190 kΩ
DRPU6
resistance for IO Type 6 DVDIO = 1.8V 70 150 320 kΩ
kΩ
Ar IA
DVDIO = 2.8V, -5 - 5
2.1 < VIN7 < 3.1
PU enabled,
Digital high input current
DIIH7 DVDIO = 2.8V, -22.5 - 12.5 μA
for IO Type 7
2.1 < VIN7 < 3.1
PD enabled,
DVDIO = 2.8V, 6.1 - 82.5
2.1<VIN7<3.1
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
PU/PD disabled,
US IAL
DVDIO = 1.8V, -5 - 5
1.35 < VIN7 < 2.1
EO
PU enabled,
DVDIO = 1.8V, -11.4 - 9.3 μA
1.35 < VIN7 < 2.1
hk T
PD enabled,
DVDIO = 1.8V, -0.8 - 35
m. EN
1.35 < VIN7 < 2.1
PU/PD disabled,
DVDIO = 2.8V, -5 - 5
-0.3 < VIN7 < 0.7
PU enabled,
-16 - - mA
Digital high output current DVDIO = 2.8V
DIOH7
for IO Type 7 DVOH > 1.53V,
-12 - - mA
DVDIO = 1.8V
Digital low output current DVOL < 0.42V,
Ar IA
DIOL7 - - 16 mA
for IO Type 7 DVDIO = 2.8V
DVOL < 0.27V,
- - 12 mA
DVDIO = 1.8V
R ED
Y
NL
2.3 System Configuration
US IAL
2.3.1 Strapping Resistors
EO
Table 15. Strapping table
hk T
down with 47K resister)
Pull-up with 10K resister (Default internal pull-
BPI_BUS1 Power-on reset
m. EN
down with 75K resister)
Pull-up with 10K resister (Default internal pull-
BPI_BUS2 Power-on reset
down with 75K resister)
2.3.2
.co ID
Mode Selection
Table 16. Mode selection of chip
sac NF
Pin name Description
GND: Uses DCXO as 26M clock source
EXT_CLK_SEL
VRF: Uses external clock as 26M clock source
GND: Uses 1.8V serial flash device
O
LSA0
DVDD18_EMI: Uses 3.3V serial flash device
GND: Boots ROM to enter USB download mode
KCOL0
u@ C
MT2503D provides 32K crystal removal feature. The XOSC32_ENB state tells if MT2503D provides
this feature or not. VRF will be turned on at the same time with VRTC when XOSC32_ENB = 1. The
power-on/off sequence controlled by “Control” and “Reset Generator” is shown as the figure below.
R ED
FO M
Y
NL
<=100ms
US IAL
VBAT
EO
DDLO
XOSC32
_ENB=0
hk T
VRTC
m. EN
UVLO
PWRKEY
PWRBB
.co ID De-bounce
time = 50ms
sac NF
1.7ms
VCORE
1.7ms
VIO18
O
1.7ms
VIO28
u@ C
1.7ms
VSF
1.7mms
.Li K
VA
1.7ms
no TE
VUSB
1.7ms
VRF
Ar IA
1.7ms
RESETB
200ms
R ED
Y
NL
<=100ms
US IAL
VBAT
EO
DDLO
XOSC32
_ENB=1
hk T
VRTC/
m. EN
VRF
UVLO
PWRKEY
.co ID De-bounce
time = 50ms
sac NF
PWRBB
1.7ms
VCORE
1.7ms
O
VIO18
1.7ms
u@ C
VIO28
1.7ms
.Li K
VSF
1.7mms
no TE
VA
1.7ms
VUSB
Ar IA
1.7ms
1.7ms
R ED
RESETB
200ms
Note that each of the above figures only shows one power-on/off condition when XOSC32_ENB = 0
or XOSC32_ENB = 1. MT2503D handles the power-on and off of the handset. The following three
methods can switch on the handset (when leaving UVLO): XOSC32_ENB = 0
Y
NL
Pulling PWRKEY low is the typical way to turn on the handset. The turn-on sequence is
VCORE VIO18 VIO28 VSF VA VUSB VRF.
US IAL
The supplies for the baseband are ready, and the system reset ends at the moment when the
EO
above LDOs are fully turned on to ensure correct timing and function. After that, the baseband will
send the PWRBB signal back to the PMU for acknowledgement. To successfully power on the
handset, PWRKEY should be kept low until PMU receives PWRBB from the baseband.
hk T
2. RTC module generates PWRBB to wake up the system.
m. EN
If the RTC module is scheduled to wake up the handset at a certain time, the PWRBB signal will
be directly sent to the PMU. In this case, PWRBB will become high at specific moment and allow
the PMU to be powered on as the sequence described above. This is called the RTC alarm.
.co ID
3. Valid charger plug-in (CHRIN voltage is within the valid range.)
sac NF
The charger plug-in will also turn on the handset if the charger is valid (no OVP takes place).
However, if the battery voltage is too low to power on the handset (UVLO state), the system will
not be turned on by any of the three methods. In this case, the charger will charge the battery first
O
and the handset will be powered on automatically as long as the battery voltage is high enough.
The UVLO state in the PMU prevents startup if the initial voltage of the main battery is below the 3.2V
threshold. It ensures that the handset is powered on with the battery in good condition. The UVLO
.Li K
turned off by itself, except for VRTC LDO, to prevent further discharging. Once the PMU enters the
UVLO state, it will draw low quiescent current. The RTC LDO will still be working until the DDLO
disables it.
Ar IA
Reset
The PMU contains a reset control circuit which takes effect at both power-up and power-down. The
FO M
RESETB pin is held low in the beginning of power-up and returns to high after the pre-determined
delay time. The delay time is controlled by a large counter which uses the clock from internal ring-
oscillator. At power-off, the RESETB pin will return to low immediately without any delay.
Over-temperature protection
Y
NL
If the die temperature of PMU exceeds 150°C, the PMU will automatically disable all the LDOs except
for VRTC. Once the over-temperature state is resolved, a new power-on sequence will be required to
US IAL
enable the LDOs.
EO
2.5 Analog Baseband
hk T
To communicate with analog blocks, a common control interface for all analog blocks is implemented.
In addition, there are some dedicated interfaces for data transfer. The common control interface
m. EN
translates the APB bus write and read cycle for specific addresses related to analog front-end control.
During the writing or reading of any of these control registers, there is a latency associated with the
transfer of data to or from the analog front-end. Dedicated data interface of each analog block is
implemented in the corresponding digital block. An analog block includes the following analog
1.
.co ID
functions for the complete GSM/GPRS baseband signal processing:
RF control: DAC for automatic power control (APC) is included, and its output is provided to
sac NF
external RF power amplifier respectively.
2. Auxiliary ADC: Provides an ADC for the battery and other auxiliary analog functions monitoring
O
3. Audio mixed-signal block: Provides complete analog voice signal processing including
u@ C
microphone amplification, A/D conversion, D/A conversion, earphone driver, etc. Dedicated
stereo D/A conversion and amplification for audio signals are also included.
.Li K
4. Clock generation: Includes a clock squarer for shaping the system clock, and PLL providing
no TE
2.5.1 APC-DAC
2.5.1.1 Block Description
R ED
APC-DAC is a 10-bit DAC with output buffer aiming at automatic power control. See the tables below
for its analog pin assignment and functional specifications. It is an event-driven scheme for power
saving purpose.
FO M
Y
NL
Symbol Parameter Min. Typ. Max. Unit
SINAD Signal to noise and distortion ratio 47 dB
US IAL
(10-kHz sine with 1.0V swing & 100-kHz BW)
99% settling time (full swing on maximal 5 μS
EO
capacitance)
Output swing 0 AVDD V
Output capacitance 200 2200 pF
hk T
Output resistance 0.47 10 KΩ
DNL Differential nonlinearity for code 20 to 970 ±1 LSB
m. EN
INL Integral nonlinearity for code 20 to 970 ±1 LSB
DVDD Digital power supply 1.1 1.2 1.3 V
AVDD Analog power supply 2.6 2.8 3.0 V
T Operating temperature -20 80 °C
.co ID
Current consumption
Power-up
Power-down
400
1
μA
μA
sac NF
2.5.2 Auxiliary ADC
2.5.2.1 Block Description
O
1. Analog multiplexer: Selects signal from one of the seven auxiliary input pins. Real-world
2. 10-bit A/D converter: Converts the multiplexed input signal to 10-bit digital data.
no TE
4 AUXIN4 0 ~ AVDD28
others Internal use N/A
FO M
Y
NL
Symbol Parameter Min. Typ. Max. Unit
N Resolution 10 Bit
US IAL
FC Clock rate 1.08 MHz
FS Sampling rate @ N-Bit 1.08/(N+1)
EO
MSPS
Input swing 0 AVDD V
CIN Input capacitance
Unselected channel 50 fF
hk T
Selected channel 4 pF
RIN Input resistance
m. EN
Unselected channel 400 MΩ
Selected channel 1 MΩ
Clock latency N+1 1/FC
DNL Differential nonlinearity ±1 LSB
INL
OE
FSE
.co ID
Integral nonlinearity
Offset error
Full swing error
±1
± 10
± 10
LSB
mV
mV
sac NF
SINAD Signal to noise and distortion ratio (10-kHz full
50 dB
swing input & 1.0833-MHz clock rate)
DVDD Digital power supply 1.1 1.2 1.3 V
AVDD Analog power supply 2.6 2.8 3.0 V
O
Power-up 280 μA
Power-down 1 μA
.Li K
band DACs (left channel audio DAC) and voice amplifier, which produces voice signals to earphones
or other auxiliary output devices. Moreover, a ClassK amplifier is embedded to support continuous
>1W output power with an on-chip boost. The last part is the voice uplink path, which is the interface
R ED
between the microphone (or other auxiliary input device) input and MT2503D DSP. A set of bias
voltage is provided for the external electric microphone.
FO M
Y
NL
PGA Class-K AU_SPKP
US IAL
AU_SPKN
EO
Audio Amp-R
Voice Signal AU_HPR
Audio
Stereo or Mono RCHDAC
Audio Signal
Audio Amp-L
hk T
Voice Signal AU_HPL
Audio
Stereo or Mono LCHDAC
Audio Signal
m. EN
AU_HSP
AU_HSN
AU_VIN1_P
sac NF
PGA
Voice Signal AU_VIN1_N
M U X
Voice
ADC AU_VIN0_P
O
AU_VIN0_N
u@ C
See the table below for the functional specifications of voice-band uplink/downlink blocks.
4
For uplink-path, not all gain settings of VUPG meet the specifications listed in the table, especially for several the lowest gains.
The minimum gain that meets the specifications is to be determined.
Y
NL
Symbol Parameter Min. Typ. Max. Unit
Input level: 0 dbm0 69 dB
US IAL
RIN Input impedance (differential) 13 20 27 KΩ
ICN Idle channel noise -67 dBm0
EO
Downlink path
IDC Current consumption 4 mA
Signal to noise and distortion ratio
hk T
SINAD Input level: -40 dBm0 29 dB
Input level: 0 dBm0 69 dB
m. EN
RLOAD Output resistor load (differential) 16 32 Ω
CLOAD Output capacitor load 250 pF
ICN Idle channel noise of transmit path -64 dBPa
XT Crosstalk level on transmit path -66 dBm0
.co ID
See the table below for the functional specifications of audio blocks.
DR Dynamic range 88 dB
Output swing for 0dBFS input level @ -1dB
VOUT 0.707 Vrms
headphone gain
no TE
processor, memory, SIM cards, camera, vibrator, etc. The digital part of PMU is integrated into the
analog part (see the figure below). PMU includes the following analog functions for signal processing:
Y
NL
Start-up (STRUP): Generates power-on/off control sequence of start-up circuits
Pulse charger (PCHR): Controls battery charging
US IAL
Backup Battery
EO
VCORE
LCM
Current Sink
Module Essential LDOs
VCORE
VRTC Base Band
hk T
VRTC VA Processor
VA VIO18
VIO18 VIO28
1 2 3
m. EN
4 5 6
KP LED Driver VIO28
7 8 9 (Open Drain) VMC
VSF
0 # VSIM1 Serial Flash
VSIM2 VMC
VSF Memory card
Class-AB
VSIM1
Audio Amplifier
SIM1
.co ID BOOST
Control
Reset
Generator Basic Feature
LDOs
VSIM2
VUSB
SIM2
sac NF
VIBR Extra LDOs VUSB SDIO Device
M Vibrator VCAMA
VCAMA
Camera sensor
(AF)
SIM
Charger BJT Pulse-Charger Blue Tooth
Level Shifter
O
MT2503D 2G Transceiver
LDOs
VRF
2G RF Transceiver
(on chip)
PMU VRF
u@ C
2.6.1 LDO
PMU integrates 13 general low dropout regulators (LDO) optimized for their given functions by
balancing the quiescent current, dropout voltage, line/load regulation, ripple rejection and output noise.
Ar IA
R ED
FO M
Y
NL
PCHR STARTUP
CHRIN BATSNS
US IAL
7.5k
AVDD28_CHRLDO
Backlight and
EO
BATSNS
KPLED
C=1uF CHR CHR CHR 1.2V
PWR_SEL
LDO28 ANACKT LDO12
(max 4.3V) LDO IGEN
PWRKEY ISINK,
V12 VGEN KPLED
CHR controller
CTRL V33
LIMT STARTU
(2.5~3.3V) AVDD33/XVDD33/DVDD33
hk T
P
m. EN
LDO-Group1 VBAT1 LDO-Group2 Class AB
VBAT2 VBAT_BOOST and BOOST
VIO18
.co ID
VUSB VIBR
VIO18 VRTC
VBOOST
ClassAB
Cotroller
ClassAB
Driver
sac NF
Figure 9. Power domain
O
2.6.1.1 LDO
u@ C
A low-dropout regulator (LDO) is capable of maintaining its specified output voltage over a wide range
of load current and input voltage, down to a very small difference between input and output voltages.
.Li K
There are several features in the design of LDO, including discharge control, soft start and current
limit. Before LDO is enabled, the output pin of LDO should be discharged first to avoid voltage
no TE
accumulation on the capacitance. The soft-start limits inrush current and controls output-voltage rising
time during the power-up. The current limit is the current protection to limit the LDO’s output current
and power dissipation.
Ar IA
There are three types of LDOs in PMU of MT2503D PMU. The analog LDO is optimized for low-
frequency ripple rejection in order to reject the ripples coming from the burst of RF power amplifier.
The digital IO LDO is a linear regulator optimized for very low quiescent current. The single-step RTC
R ED
LDO is a linear regulator that can charge up a capacitor-type backup coin cell, which also supplies the
RTC module even at the absence of the main battery. The single-step LDO features reverse current
protection and is optimized for ultra-low quiescent current while sustaining the RTC function as long
as possible.
FO M
Y
NL
2.6.1.1.1 Block Description
US IAL
AVDD43_VXX
EO
Current
Limit
VREF
hk T
VOUT VOUT
m. EN
R1
VOUT
Discharge
R2 Control
.co ID
sac NF
GND
Y
NL
2.6.1.1.3 Functional Specifications
US IAL
Table 22. Analog LDO specifications
EO
Load capacitor 1 μF
Current limit 1.2*Imax 5*Imax mA
hk T
Includes load
regulation, line Max. (-5%, Max. (+5%,
Vout V
regulation, and -0.1V) +0.1V)
m. EN
temperature coefficient
Max. (-5%, Max. (+5%,
Transient response Slew: 15mA/us V
-0.1V) +0.1V)
Temperature
.co ID
coefficient
PSRR
Iout < 0.5*Imax
10 < f < 3 kHz
65
100 ppm/C
dB
sac NF
Iout < 0.5*Imax
45 dB
3K < f< 30 kHz
Output noise With A-weighted filter 90 uVrms
Quiescent current Iout = 0 55 μA
O
Max.
Turn-on overshoot Iout = 0 (+10%, V
u@ C
+0.1V)
Turn-on settling
Iout = 0 240 μsec
time
.Li K
+0.1V)
temperature coefficient
Max.
Max. (-
Transient response Slew: 15mA/us (+5%, V
5%, -0.1V)
+0.1V)
FO M
Temperature
100 ppm/C
coefficient
Quiescent current Iout = 0 30 μA
5 VCORE loading capacitor typical value is 2.2uF. Other LDOs are 1uF.
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
Max.
US IAL
Turn-on overshoot Iout = 0 (+10%, V
+0.1V)
EO
Turn-on settling
Iout = 0 240 μs
time
hk T
Table 24. RTC LDO specification
m. EN
Symbol Description Condition Min. Typ. Max. Unit
Load capacitor 1 μF
Includes load regulation,
Vout line regulation, and 2 2.8 3 V
.co ID
Temperature
coefficient
temperature coefficient
100 ppm/C
sac NF
Quiescent current Iout = 0 15 μA
2.6.2 BOOST
O
Cin 2.2uF
μF
Cout 4.7uF
no TE
L Rdcr,max<80mOhm 0.68 uH
Vout 5.3 V
Ripple
Vin=3.4V/3.8V/4.2V,
Ar IA
One built-in open-drain output switch drives the keypad LED (KPLED) in the handset. The switch is
controlled by the baseband with enabling registers. The switch of keypad LED can sink as much as
Y
NL
60mA current, and the output is high impedance when disabled. The value of the sink current decides
the brightness of the LED.
US IAL
The current controlled open drain drivers are also implemented to drive the LCM backlight module,
EO
and provides currentfrom 4mA to 96mA.
hk T
2.6.3.1 Block Description
m. EN
AVDD43
ISINK
.co ID
NI_ISINKS_CH_EN ISINK_EN
sac NF
RG_ISINKS_CH0_STEP[2:0]
Step[2:0]
O
PAD_KPLED
NI_KPLED_EN
u@ C
A2D signals
NI_ISINK0_STATUS
KPLED_EN
.Li K
NI_ISINK1_STATUS
NI_ISINK2_STATUS
NI_ISINK3_STATUS AVSS43_DRV
NI_KPLED_STATUS
no TE
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
ISINK without current dimming duty,
US IAL
double option ISINKS_CHx_STEP = 010
1 ch Sink current of Von > 0.15V, 100%
EO
ISINK without current dimming duty, 16 mA
double option ISINKS_CHx_STEP = 011
1 ch Sink current of Von > 0.15V, 100%
hk T
ISINK without current dimming duty, 20 mA
double option ISINKS_CHx_STEP = 100
m. EN
1 ch Sink current of Von > 0.15V, 100%
ISINK without current dimming duty, 24 mA
double option ISINKS_CHx_STEP = 101
Von > 0.15V, 100%
Current mismatch -5 5 %
dimming duty
2.6.4
.co ID
STRUP
sac NF
PMU handles the power-on and off of the handset. If the battery voltage is neither in the UVLO state
(VBAT ≥ 3.4V) nor in the thermal condition, there are three methods to power on the handset system:
pulling PWRKEY low (the user pushes PWRKEY), pulling PWRBB high (baseband BB_WakeUp) or
O
According to different battery voltage (VBAT) and phone states, control signals and regulators will
have different responses.
.Li K
2.6.5 PCHR
no TE
The charger controller senses the charger input voltage from either a standard AC-DC adaptor or an
USB charger. When the charger input voltage is within a pre-determined range, the charging process
will be activated. This detector can resist higher input voltage than other parts of the PMU.
Ar IA
R ED
FO M
Y
NL
2.6.5.1 Block Description
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
Whenever an invalid charging source is detected (> 7.0 V), the charger detector stops the charging
process immediately to avoid burning out the chip or even the phone. In addition, if the charger-in
level is not high enough (< 4.3V), the charger will also be disabled to avoid improper charging
R ED
behavior.
When the charger is active, the charger controller manages the charging phase according to the
battery status. During the charging period, the battery voltage is constantly monitored. The battery
charger supports pre-charge mode (VBAT < 3.2V, PMU power-off state), CC mode (constant current
mode or fast charging mode at the range 3.2V < VBAT < 4.2V) and CV mode (constant voltage mode)
to optimize the charging procedure for Li-ion battery. The charging states diagram is shown in the
figure below.
Y
NL
US IAL
NON- CHARGING
EO
Dead Battery
VBAT <2.2V YES
5 min timeout
hk T
NO
m. EN
CHRIN >4. 3V
CHRIN DET
YES
VBAT>4.1V NO
NO
u@ C
PreCC
CV Mode
.Li K
YES
FULL
no TE
NO
VBAT=4.2V
Ar IA
YES
Reduce ICHG
by step
R ED
NO
ICHG < I TERM
YES
FO M
Charger OFF
YES VBAT<4.05V NO
Re- Charge
Y
NL
Pre-charge mode
US IAL
When the battery voltage is in the UVLO state, the charger operates in the pre-charge mode. There
are two steps in this mode. When the battery voltage is deeply discharged below 2.2V, PRECC1
EO
trickle charging current will be applied to the battery.
The PRECC1 trickle charging current is about 550ms pulse 70mA current when VBAT is under 2.2V.
hk T
When the battery voltage exceeds 2.2V, called the PRECC2 stage, the closed-loop pre-charge is
m. EN
enabled. The voltage drop across the external RSENSE is kept around 40mV (AC charger) or 14mV
(USB host). The closed-loop pre-charge current can be calculated:
VSENSE 40mV
IPRECC2, AC adapter
.co ID
IPRECC2,USBHOST
Rsense Rsense
V
SENSE
14mV
Rsense Rsense
sac NF
Constant current mode
As the battery is charged up and over 3.4V, it can switch to the CC mode. (CHR_EN should be high)
O
In the CC mode, several charging currents can be set by programming registers or the external
RSENSE resistor. The charging current can be determined by CS_VTH/RSENSE, where CS_VTH is
programmed by registers. For example, if RSENSE is selected as 0.2ohm, the CC mode charging
u@ C
current can be set from 70 to 800mA. It can accommodate the battery charger to various charger
inputs with different current capabilities.
.Li K
acquiring optimized full charging volume. The charging process is completed once the current
reaches zero automatically and this mechanism is optimized for different battery
R ED
If the battery voltage is still below 2.2V after applying trickle current, the charger will be disabled. On
the other hand, if the battery voltage is raised to above 2.2V, the charger will enter the PRECC2 stage,
and the charging current will be 70mA or 200mA depending on the type of charging port.
Under the condition of battery voltage from 2.2V to 3.3V, the charger will charge the battery with the
PRECC2 current.
Y
NL
A dedicated 5mins (T1) timer will be timed out and disable the charger if the battery voltage is always
US IAL
below 2.7V under charging. Another 35mins (T2) timer will also be timed out and disable the charger if
the battery voltage is always kept between 2.7V and 3.3V under charging.
EO
The trickle current (IUNIT) and two dedicated timers protect the charging action if the battery is dead.
hk T
2.6.5.2 Functional Specifications
m. EN
Table 27. Charger detection specifications
.co ID
range
Pre-charging off
0.4 V
hysteresis
R ED
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
CS_VTH [3:0] = 0111 180/Rsense mA
US IAL
CS_VTH [3:0] = 1000 160/Rsense
EO
CS_VTH [3:0] = 1001 140/Rsense
CS_VTH [3:0] = 1010 130/Rsense
CS_VTH [3:0] = 1011 110/Rsense
hk T
CS_VTH [3:0] = 1100 90/Rsense
CS_VTH [3:0] = 1101 60/Rsense
m. EN
CS_VTH [3:0] = 1110 40/Rsense
CS_VTH [3:0] = 1111 14/Rsense
Current sensing
RSENSE 0.2 ohm
resistor
.co ID
Table 30. Constant voltage and over-voltage protection specifications
sac NF
Symbol Description Condition Min. Typ. Max. Unit
Charging complete
4.15 4.2 4.25 V
threshold
O
Battery over-voltage
protection threshold 4.3 V
(OV)
u@ C
IPRECC2
(USB PRECC2 current 2.2 < VBAT < 3.3V 70 100 mA
host)
IPRECC2
Ar IA
(AC PRECC2 current 2.2 < VBAT < 3.3V 200 250 mA
adapter)
5 minute dedicated
T1 2.2 < VBAT < 2.7V 5 6.5 min.
R ED
timer
35 minute dedicated
T2 2.7 < VBAT < 3.3V 35 38.5 min.
timer
BC1.1 trickle current
TUNIT 550 770 ms.
FO M
period
Y
NL
2.7 GSM/GPRS RF
US IAL
2.7.1 General Description
EO
2G RFSYS which is built in MT2503D SOC is a highly integrated RF transceiver for multi-band GSM
and GPRS cellular systems.
hk T
The features include:
m. EN
Receiver
Single-end saw-less Rx
Quadrature RF mixer
.co ID
Fully integrated channel filter
sac NF
High dynamic range ADC
Transmitter
High accurate transmitter modulator for GSM/GPRS application
.Li K
Frequency synthesizer
Programmable fractional-N synthesizer
Ar IA
Y
NL
Supports 32K XTAL-less operation
US IAL
EO
2.7.2 Functional Block Diagram
hk T
RXHB
2GRXIP
2GRXIN
2GRXQP
m. EN
2GRXQN
Gaussian
Filter
sac NF
TXO_LB DIV4 Loop XTAL1
CP PFD DCXO
Filter XTAL2
TP1
TP2
TP3
TP4
O
VRF
u@ C
2G RFDIG
GND_RF
DBB_CLK
OUT_32KB
OUT_32K
.Li K
FREF
no TE
Y
NL
Table 33. Rx AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated)
US IAL
Item Symbol Band Test condition Min. Typ. Max. Unit
GSM850 869 894 MHz
EO
GSM900 925 960 MHz
Input frequency FRX
DCS1800 1,805 1,880 MHz
PCS1900 1,930 1,990 MHz
hk T
1
GSM850 LNA = High gain 52 55 dB
2
GSM900 PGA = High gain 52 55 dB
Voltage gain 1 G1
m. EN
3
DCS1800 LNA = High gain 52 55 dB
4
PCS1900 PGA = High gain 52 55 dB
GSM850 LNA = Middle gain 46 dB
GSM900 PGA = High gain 46 dB
Voltage gain 2
.co ID G2
DCS1800
PCS1900
GSM850
LNA = Middle gain
PGA = High gain
LNA = Low gain
45
45
26
dB
dB
dB
sac NF
GSM900 PGA = High gain 26 dB
Voltage gain 3 G3
DCS1800 LNA = Low gain 26 dB
PCS1900 PGA = High gain 26 dB
1
O
GSM850 3 5 dB
2
GSM900 3 5 dB
Noise figure at 25°C NF25 G1 3
u@ C
DCS1800 3 5 dB
4
PCS1900 3 5 dB
GSM850 4.5 dB
.Li K
GSM900 4.5 dB
Noise figure at 85°C NF85 G1
DCS1800 4.5 dB
no TE
PCS1900 4.5 dB
1
GSM850 31 43 dBm
nd 2
2 -order input GSM900 31 43 dBm
IIP2 G2 3
intercept point DCS1800 31 43 dBm
Ar IA
4
PCS1900 31 43 dBm
1
GSM850 -14 -3 dBm
rd 2
3 -order input GSM900 -14 -3 dBm
R ED
IIP3 G2 3
intercept point DCS1800 -14 -3 dBm
4
PCS1900 -14 -3 dBm
GSM850 -5 dBm
rd
3 -order input
FO M
GSM900 -5 dBm
intercept point @ - IIP3-20 G2
20°C DCS1800 -5 dBm
PCS1900 -5 dBm
1
GSM850 G2 8 12 dB
2
Receiver S/N with GSM900 Blocker = -23dBm 8 12 dB
SN3M 3
3MHz blocker DCS1800 G2 8 12 dB
4
PCS1900 Blocker = -26dBm 8 12 dB
Y
NL
Item Symbol Band Test condition Min. Typ. Max. Unit
5
GSM850 G2 6 8 dB
US IAL
Blocker = 2dBm, 5
GSM900 offset +/-20MHz 6 8 dB
Receiver S/N with
EO
SNOOB 5
OBB DCS1800 G2 6 8 dB
Blocker = -10/2dBm, 5
PCS1900 offset +/-80/-100MHz 6 8 dB
1,2,3,4
Image rejection ratio IRR ALL G2 32 40 dB
hk T
Receiver channel @3MHz offset 20 dB
ALL
response attenuation
m. EN
@6MHz offset 35 dB
Receiver filtering 3-
ALL For all gain settings 900 kHz
dB bandwidth
5
INL 0.2 1 dBΩ
PGA gain linearity ALL 5
dBΩ
PGA gain step
.co ID
PGA dynamic range
ALL
ALL
DNL 0.1
6
12
0.5
dBΩ
dBΩ
sac NF
I/Q common-mode 5 5
ALL G1 1.1 1.2 1.3 V
output voltage
Output static dc offset ALL G1 100 200 mV
O
Table 34. Tx GMSK AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated)
GSM850 1,2
1.5 2.5 degree
GSM900
RMS phase error PErms
DCS1800 3,4
1.5 2.5 degree
PCS1900
Ar IA
GSM850 1,2
400kHz offset -66 -64 dBc
GSM900
(RBW = 30kHz
DCS1800 bandwidth) 3,4
-66 -64 dBc
PCS1900
R ED
Output modulation
ORFS
spectrum GSM850 5
1.8MHz offset -75 dBc
GSM900
(RBW = 30kHz
DCS1800 bandwidth) 5
-75 dBc
PCS1900
FO M
5
20MHz offset -165 -163 dBc/Hz
GSM850 5
35MHz offset -166 -164 dBc/Hz
5
20MHz offset -165 -163 dBc/Hz
Tx noise in Rx band GSM900 5
35MHz offset -166 -164 dBc/Hz
5
DCS1800 20MHz offset -160 -156 dBc/Hz
5
PCS1900 20MHz offset -160 -156 dBc/Hz
Y
NL
Item Symbol Band Test condition Min. Typ. Max. Unit
GSM850 1,2 1,2
US IAL
1 3 6 dBm
GSM900 PA driver amplifier
Output power level Pout
DCS1800 Rload = 50Ω
EO
3,4 3,4
1 3 6 dBm
PCS1900
rd
Output 3 harmonics ALL PA driver amplifier -10 dBc
hk T
Table 35. SX AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated)
m. EN
Item Symbol Test condition Min. Typ. Max. Unit
Frequency range Frange 3,296 3,980 MHz
Reference frequency Fref 26 MHz
Frequency step resolution Fres 3 Hz
Phase noise
.co ID PN10k
PN400k
PN3M
@ 10kHz offset
@ 400kHz offset
@ 3MHz offset
-83
-114
-136
dBc/Hz
dBc/Hz
dBc/Hz
sac NF
Frequency error < ± 5
Lock time of Rx burst Tlock_rx 150 200 us
0.1ppm
Frequency error < ± 5
Lock time of Tx burst Tlock_tx 200 300 us
0.1ppm
O
Table 36. DCXO AC characteristics (TA = 25oC, VDD = 2.8V unless otherwise stated)
1, 2
: Tested at E-GSM Tx channel 0 and GSM850 Rx channel 190.
3, 4
: Tested at PCS Tx channel 601 and DCS Rx channel 636.
5
: Not subject to production test – verified by characterization and design.
Y
NL
2.8 Bluetooth
US IAL
2.8.1 Block Description
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
For TX path, the baseband transmit data are digitally modulated in the baseband processor then up-
converted to 2.4GHz RF channels through DA converter, filter, IQ up-converter and power amplifier.
The power amplifier is capable of transmitting 7.5dBm power for class-1 operation.
FO M
For RX path, MT2503D is a low IF receiver architecture. An image-reject mixer down-converts the RF
signal to the IF with LO from the synthesizer, which supports different clock frequencies as the
reference clock. The mixer output is then converted to digital signal and down-converted to baseband
for demodulation. A fast AGC enables effective discovery of device within dynamic range of the
receiver.
Y
NL
MT2503D features self calibration schemes to compensate the process and temperature variation to
US IAL
maintain high performance. Those calibrations are performed automatically right after system boot-up.
EO
2.8.2 Functional Specifications
2.8.2.1 Basic Data Rate – Receiver Specifications
hk T
Table 37. Basic data rate – receiver specifications
m. EN
Symbol Description Condition Min. Typ. Max. Unit
Frequency range 2,402 - 2,480 MHz
Receiver sensitivity BER < 0.1% - -95 - dBm
.co ID
Max. detectable input power
C/I co-channel selectivity
C/I 1 MHz adj. channel
BER < 0.1%
BER < 0.1%
BER < 0.1%
-
-
-
0
4
-12
-
-
-
dBm
dB
dB
sac NF
selectivity
C/I 2 MHz adj. channel
BER < 0.1% - -42.5 - dB
selectivity
C/I 3 MHz adj. channel
BER < 0.1% - -46 - dB
O
selectivity
C/I image channel selectivity BER < 0.1% - -24 - dB
u@ C
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
DH5 -40 10 40 kHz
US IAL
Max. drift rate - 100 400 Hz/μs
EO
BW 20dB of Tx output spectrum - 920 1,000 kHz
±2 MHz offset - -38 - dBm
In-band spurious emission ±3 MHz offset - -43 - dBm
hk T
> ±3 MHz offset - -43 - dBm
Out-of-band spurious
30 MHz to 1 GHz - -36 - dBm
m. EN
emission
1 to 12.75 GHz - -30 - dBm
1.8 to 1.9 GHz - -47 - dBm
5.15 to 5.3 GHz - -47 - dBm
2.8.2.3
.co ID
Enhanced Data Rate – Receiver Specifications
sac NF
Table 39. Enhanced data rate – receiver specifications
C/I 1MHz adj. channel π/4 DQPSK, BER < 0.01% - -13 - dB
selectivity 8PSK, BER < 0.01% - -7 - dB
C/I 2MHz adj. channel π/4 DQPSK, BER < 0.01% - -42 - dB
Ar IA
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
Frequency range 2,402 - 2,480 MHz
US IAL
π/4 DQPSK - 4.5 - dBm
Max. transmit power
EO
8PSK - 4.5 - dBm
π/4 DQPSK - -1.7 - dB
Relative transmit power
8PSK - -1.7 - dB
hk T
π/4 DQPSK - 1.5 - kHz
Freq. stability ω0
8PSK - 1.5 - kHz
m. EN
π/4 DQPSK - 3 - kHz
Freq. stability ω1
8PSK - 3 - kHz
π/4 DQPSK - 2.8 - kHz
| ω0+ω1|
.co ID
RMS DEVM
8PSK
π/4 DQPSK
8PSK
-
-
-
2.8
7
6
-
-
-
kHz
%
%
sac NF
π/4 DQPSK - 11 - %
99% DEVM
8PSK - 11 - %
π/4 DQPSK - 18 - %
Peak DEVM
8PSK - 18 - %
O
2.9 FM RF
The connection between internal modules, as well as external interfaces, are as shown in Figure 16.
The FM receiver section incorporates the complete receiving path with wide tuning range. The FM
baseband signal processor incorporates the digital demodulator and audio processing function which
FO M
Y
NL
US IAL
sysrst_b FM RX FM_RF
fspi_core_rstb
EO
FM_CLKCON FM_MAINCON
fspi_rgf_rstb
hk T
I2S Interface FM FMX FM RX AFE
FM Modem RF MACRO
m. EN
Front End Interface
interrupts
FM RX RF
FM RDS FM SCRG
.co ID
FSPI host Interface
FM HCI
(SPI slave)
FM RGF
RF
Control
FM_RGF
_RF
sac NF
Figure 16. Block diagram of hardware top-level architecture
O
FM receiver 12 mA
no TE
Unless otherwise stated, all receiver characteristics are applicable to both long and short antenna
ports when operated under the recommended operating conditions. Typical specifications are for
channel 98.7MHz, default register settings and under recommended operating conditions. The
minimum and maximum specifications are for extreme operating voltage and temperature conditions,
Ar IA
Sensitivity (long
1,3
antenna) SINAD = 26dB, matched 2 dBVemf
RDS sensitivity (long f=2kHz, BLER < 5%,
18 dBVemf
antenna) unmatched
Sensitivity (short
1,3 SINAD = 26dB, unmatched 3 dBVemf
antenna)
RDS sensitivity (short f = 2kHz, BLER < 5%,
18 dBVemf
antenna) unmatched
Y
NL
Symbol Description Condition Min. Typ. Max. Unit
4
LNA input resistance Antenna port 2.4k Ohm
US IAL
4
LNA input capacitance Antenna port 8 pF
1,4
AM suppression M = 0.3 58
EO
dB
Adjacent channel
1,4 200kHz 53 dB
selectivity
Alternate channel
400kHz 65 dB
hk T
1,4
selectivity
Spurious response
4 In-band 55 dB
m. EN
rejection
Maximum input level 117 dBVemf
Audio mono
1,3,4 60 dB
(S+N+D)/(N+D)
.co ID
Audio stereo
(S+N+D)/(N+D)
Audio stereo
separation
4
2,3,4
f = 75kHz
52
45
dB
dB
sac NF
Audio output load Single-ended at AFR/AFL
10k Ohm
resistance outputs
Audio output load Single-ended at AFR/AFL
12.5 pF
capacitance outputs
O
1,4
Audio output voltage At AFR/AFL outputs 80 mVrms
1,4
Audio output THD 0.05 0.1 %
u@ C
3
A-weighting, BW = 300 Hz to 15 kHz
no TE
4
Vin = 60dBVemf
5
Reference clock accuracy assumes ideal FM source. If the input FM source has less frequency error, it is
recommended to use a reference clock of accuracy within 100ppm so as not to affect the channel scan
quality.
Ar IA
Y
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Y
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
Ar IA
R ED
FO M
Figure 17. Outlines and dimension of VFBGA 8.4mm*6.2mm, 215-ball, 0.4 mm pitch package
Y
NL
2.10.2 Thermal Operating Specifications
US IAL
Symbol Description Value Unit Notes
Thermal resistance from device junction to package case 48 C/W
EO
Maximum package temperature 65 Deg C
Maximum power dissipation 1.28 W
hk T
2.10.3 Lead-free Packaging
MT2503D is provided in a lead-free package and meets RoHS requirements
m. EN
2.11 Ordering Information
2.11.1
.co ID
Top Marking Definition
sac NF
MEDIATEK
ARM
O
MT2503DV
DDDD: Date Code
#####: Subcontractor Code
u@ C
DDDD - #####
LLLLLL: Die Lot No.
LLLLLL
.Li K
no TE
Y
NL
3 Micro-Controller Unit Peripherals
US IAL
EO
3.1 Pulse-Width Modulation Outputs (2 Channel)
3.1.1 General Description
hk T
2 generic pulse-width modulators are implemented to generate pulse sequences with programmable
frequency and duty cycles for LCD backlight. As long as the internal counter value is bigger than or
m. EN
equal to the threshold value, the duration of the PWM output signal is LOW. The waveform is shown
in Figure 19.
.co ID
Internal counter
Threshold
sac NF
PWM Signal
The frequency and volume of the PWM output signal are determined by PWM1_COUNT,
u@ C
Note: PWM_THRES should be less than the PWM_COUNT. If this condition is not satisfied, the
FO M
Figure 20 shows the PWM waveform with the indicated register values.
Y
NL
13MHz
US IAL
PWM_COUNT = 5
PWM_THRES = 1
PWM_CON = 0b
EO
Figure 20. PWM waveform with register values
hk T
3.1.2 Register Definition
m. EN
Module name: Pulse Width Modulation base address: (+A00E0000h)
Address Name Width Register function
A00E0000 PWM1_CTRL_ADDR 16 PWM1 control register
A00E0004
A00E0008 .co ID
PWM1_COUNT_ADDR
PWM1_THRESH_ADDR
16
16
PWM1 max counter value register
PWM1 threshold value register
sac NF
A00E0000 PWM1_CTRL_ADDR PWM1 Control Register 0000
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWM1
O
PWM1_CLK_
Name _CLK_
DIV
SEL
Type RW RW
u@ C
Reset 0 0 0
2'b11: f = fclk/8
R ED
Y
NL
US IAL
A00E0008 PWM1_THRESH_ADDR PWM1 Threshold Value Register 0000
EO
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name PWM1_THRES
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Bit(s) Mnemonic Name Description
m. EN
PWM1 threshold value
PWM1_THR When the internal counter value is bigger than or equal to
12:0 PWM1_THRES PWM1_THRES, the PWM1 output signal will be "0". When the
ES
internal counter is less than PWM1_THRES, the PWM1 output
signal will be "1".
.co ID
Module name: Pulse Width Modulation base address: (+A0280000h)
sac NF
Address Name Width Register function
A0280000 PMW4_CTRL_ADDR 16 PMW4 control register
A0280004 PMW4_COUNT_ADDR 16 PMW4 max counter value register
A0280008 PMW4_THRESH_ADDR 16 PMW4 threshold value register
O
u@ C
PMW4
PMW4_CLK_
Name _CLK_
DIV
SEL
no TE
Type RW RW
Reset 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
PMW4 maximum counter value
US IAL
This value is the initial value of the internal counter. Regardless of
PMW4_COU the operation mode, if PMW4_COUNT is written while the internal
12:0 PMW4_COUNT
EO
NT counter is counting backwards, the new initial value will not take
effect until the internal counter counts down to 0, i.e. a complete
period.
hk T
A0280008 PMW4_THRESH_ADDR PMW4 Threshold Value Register 0000
m. EN
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name PMW4_THRES
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
.co ID
Bit(s) Mnemonic Name Description
PMW4 threshold value
When the internal counter value is bigger than or equal to
sac NF
PMW4_THR
12:0 PMW4_THRES PMW4_THRES, the PMW4 output signal will be "0". When the
ES
internal counter is less than PMW4_THRES, the PMW4 output
signal will be "1".
O
A0740014 PWM2_THRES 16
Controls the duty of waveform
PWM3 control register
no TE
A0740018 PWM3_CTRL 16
Select CLK SRC and prescaler scale.
PWM3 max counter value register
A074001C PWM3_COUNT 16
Configures internal counter's max. value
A0740020 PWM3_THRES 16 PWM3 threshold value register
Ar IA
R ED
Type RW
Reset 1
Y
NL
A0740014 PWM2_THRES PWM2 Threshold Value Register 0000
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PWM2_THRE
EO
Name S
Type RW
Reset 0 0
hk T
Bit(s) Name Description
PWM2 threshold value
m. EN
1:0 PWM2_THRES 0: Duty = 0%
1: Duty = 50%
2: Duty = 100%
A0740018
Bit 15
.co ID
PWM3_CTRL
14 13 12
PWM3 Control Register
11 10 9 8 7 6 5 4 3 2 1
0000
0
sac NF
PWM3
PWM3
_ALW PWM3_CLK_
Name _CLK_
AYS_ DIV
SEL
HIGH
Type RW RW RW
Reset 0 0 0 0
O
0: Duty! = 100%
1: Duty = 100%
2 PWM3_CLK_SEL Selects PWM3 CLK
no TE
2'b1: f = fclk/2
2'b2: f = fclk/4
2'b3: f = fclk/8
R ED
Type RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1
Y
NL
Bit(s) Name Description
counter counts down to 0, i.e. a complete period.
US IAL
EO
A0740020 PWM3_THRES PWM3 Threshold Value Register 0000
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name PWM3_THRES
hk T
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
m. EN
Bit(s) Name Description
PWM3 threshold value
12:0 PWM3_THRES When the internal counter value is bigger than or equal to PWM3_THRES, the
PWM3 output signal will be 0. When the internal counter is less than
SIMDATA are for one SIM interface, and SIM2VCC, SIM2SEL, SIM2RST, SIM2CLK and SIM2DATA
are for the other SIM interface.
u@ C
13MHz
.Li K
VCC1 SIMVCC
SIMSEL
1st
no TE
Level
Shift SIM2VCC
SIM2SEL
R ED
VCC2
SIM2RST 2nd
SIM I/F
2nd SIM2CLK SIMIRQ
RST2
SIM SIM2DATA IRQ Ctrl
CARD CLK2 SIM2IRQ
FO M
DATA2
13MHz
Y
NL
The functions of the two SIM interfaces are identical; therefore, only the first SIM interface will be
described in this document. SIMVCC is used to control the external voltage supply to the SIM card,
US IAL
and SIMSEL determines the regulated smart card supply voltage. SIMRST is used as the SIM card
reset signal. Besides, SIMDATA and SIMCLK are used for data exchange.
EO
The SIM interface is a half duplex asynchronous communication port, and its data format is composed
of ten consecutive bits: a start bit in state “low”, eight information bits and a tenth bit used for parity
hk T
checking. The data format can be divided into two modes as follows:
m. EN
Direct convention mode (ODD = SDIR = SINV = 0)
SB D0 D1 D2 D3 D4 D5 D6 D7 PB
SB: Start bit (in state “low”)
.co ID
Dx: Data byte (LSB is the first and logic level ONE is in state “high”)
PB: Even parity check bit
sac NF
Inverse convention mode (ODD = SDIR = SINV = 1)
SB N7 N6 N5 N4 N3 N2 N1 N0 PB
SB: Start bit (in state “low”)
O
Nx: Data byte (MSB is the first and logic level ONE is in state “low”)
PB: Odd parity check bit
u@ C
If the receiver obtains a wrong parity bit, it will respond by pulling the SIMDATA “low” to inform the
.Li K
If the receiver is an SIM card, the error response will start 0.5 bit after the PB and may last for 1 ~ 2-
no TE
bit period. If the receiver is an SIM interface, the error response will start 0.5 bit after the PB and last
for 1.5-bit period.
Ar IA
If the SIM interface is a transmitter, it will take total 14 bits guard period wherever the error response
appears. If the receiver shows the error response, the SIM interface will retransmit the previous
character again, or it will transmit the next character.
R ED
FO M
Y
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
When the MCU controls two SIM card interfaces, all registers will be duplicated to two copies but with
st nd
different base address. n = “0” is for the 1 SIM card interface; n=1 is for the 2 SIM card interface.
no TE
For example, address SIMIF0+0000h is mapped to the SIMIF0_SIM_CTRL register while address
SIMIF1+0000h is mapped to the SIMIF1_SIM_CTRL register.
Ar IA
MCU register
Acronym Description
address (hex)
R ED
st
1 SIM card interface
SIMIF0+0000h SIMIF0_SIM_CTRL Control register
SIMIF0+0004h SIMIF0_SIM_CONF Configuration register
FO M
Y
NL
MCU register
Acronym Description
address (hex)
US IAL
SIMIF0+0034h SIMIF0_SIM_COUNT FIFO count register
SIMIF0+0040h SIMIF0_SIM_ATIME Activation time register
EO
SIMIF0+0044h SIMIF0_SIM_DTIME Deactivation time register
SIMIF0+0048h SIMIF0_SIM_TOUT Character to character waiting time register
SIMIF0+004Ch SIMIF0_SIM_GTIME Block to block guard time register
hk T
SIMIF0+0050h SIMIF0_SIM_ETIME Block to error signal time register
SIMIF0+0054h SIMIF0_SIM_EXT_TIME Extend data I/O state switch time register
m. EN
SIMIF0+0058h SIMIF0_SIM_CGTIME Character to character guard time register
SIMIF0+0060h SIMIF0_SIM_INS Command header register : INS
SIMIF0+0064h SIMIF0_SIM_IMP3 Command header register : P3
.co ID
SIMIF0+0068h
SIMIF0+006Ch
SIMIF0+0070h
SIMIF0+0074h
SIMIF0_SIM_SW1
SIMIF0_SIM_SW2
SIMIF0_SIM_ATRSTA
SIMIF0_SIM_STATUS
Procedure byte register : SW1
Procedure byte register : SW2
ATR state register
Protocol state register
sac NF
SIMIF0+0080h SIMIF0_SIM_DMADATA TX/RX data register for DMA
SIMIF0+0090h SIMIF0_SIM_DBG Debug register
SIMIF0+0094h SIMIF0_SIM_DBGDATA FIFO data debug register
O
nd
2 SIM card interface
SIMIF1+0000h SIMIF1_SIM_CTRL Control register
no TE
Y
NL
MCU register
Acronym Description
address (hex)
US IAL
SIMIF1+0064h SIMIF1_SIM_IMP3 Command header register : P3
SIMIF1+0068h SIMIF1_SIM_SW1 Procedure byte register : SW1
EO
SIMIF1+006Ch SIMIF1_SIM_SW2 Procedure byte register : SW2
SIMIF1+0070h SIMIF1_SIM_ATRSTA ATR state register
SIMIF1+0074h SIMIF1_SIM_STATUS Protocol state register
hk T
SIMIF1+0080h SIMIF1_SIM_DMADATA TX/RX data register for DMA
SIMIF1+0090h SIMIF1_SIM_DBGD Debug register
m. EN
SIMIF1+0094h SIMIF1_SIM_DBGDATA FIFO data debug register
SIMIF1+00A0h SIMIF1_SIM_SCLK SCLK PAD control register
SIMIF1+00A4h SIMIF1_SIM_SRST SRST PAD control register
.co ID
SIMIF1+00A8h
SIMIF1+00ACh
SIMIF1+00B0h
SIMIF1_SIM_SIO
SIMIF1_SIM_MON
SIMIF1_SIM_SEL
SIO PAD control register
PAD monitor register
Testing output select
sac NF
3.2.1.2 Register Description
O
Y
NL
RXACK Handshaking control of SIM card reception error
US IAL
0 Disable character receipt handshaking
1 Enable character receipt handshaking
EO
TXACK Handshaking control of SIM card transmission error
0 Disable character transmission handshaking
1 Enable character transmission handshaking
hk T
CPOL SIMCLK polarity control in clock stop mode
0 Make SIMCLK stop in “low” level
m. EN
1 Make SIMCLK stop in “high” level
SINV Data inversion mode
0 Does not invert the transmitted and received data; data logic ONE is in “high” state
1 Invert the transmitted and received data; data logic ONE is in “low” state
SDIR
.co ID
Direction of data transfer
0 LSB is transmitted and received first.
1 MSB is transmitted and received first.
sac NF
ODD Selecting odd or even parity
0 Even parity
1 Odd parity
SIMSEL Selects SIM card supply voltage (also configure SIMSEL in PMU register)
O
Y
NL
During RX transmission and not protocol T = 1, the recommended setting of TXRDIS
is 1.
US IAL
T1TX2RXEN Enables DMA type auto switch for protocol T = 1 (this function is not supported in
MT6260)
EO
0 Disable DMA type auto switch function
If the current block is TX transmission and the next block is also TX
transmission, disabling this bit is recommended
hk T
1 Enable DMA type auto switch function
If the current block is TX transmission and the next block is RX transmission,
m. EN
enabling this bit is recommended to improve transmission quality
SIMn +0008h
bit
Name
Type
15 .co ID
14
SIM Baudrate Register
13 12 11 10 9 8 7 6
ETU[8:0]
R/W
5 4 3
SIMIFN_SIM_BRR
2 1
SIMCLK[1:0]
R/W
0
sac NF
Reset 372d 01
01 13/4 MHz
10 13/8 MHz
u@ C
11 13/12 MHz
ETU Determines duration of elementary time unit in SIMCLK unit
The minimum valid setting of ETU is 8
.Li K
no TE
Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0 0 0 0 0
0 Disable interrupt
1 Enable interrupt
FO M
Y
NL
TXTIDE The interrupt occurs when the number of transmitted data in the FIFO is less than the
transmitted tide.
US IAL
RXTIDE The interrupt occurs when the number of received data in the FIFO is less than the
received tide.
EO
OVRUN Receiving FIFO overflow interrupt occurrs.
TOUT Between characters time-out interrupt occurs.
TXERR Character transmission error interrupt occurs.
hk T
ATRERR ATR start time-out interrupt occurrs.
SIMOFF Card deactivation completed interrupt occurs.
m. EN
T0END Data transfer handled by T = 0 controller completed interrupt occurs.
RXERR Character reception error interrupt occurrs.
T1END Data transfer handled by T = 1 controller completed interrupt occurs.
EDCERR T = 1 controller CRC error occurs.
UDRUN
.co ID
FIFO underflow interrupt occurs (still reading FIFO when FIFO is empty).
sac NF
SIMIFN_SIM_CLR_ST
SIMn +0018h SIM Clear Status Register
A
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O
CLR_
Name
STA
Type RO
u@ C
Reset 0
CLA_STA 1: Clear SIMIF. Do not write to SIMIF; 0: SIMIF clear finished or not in clear status, you
.Li K
RXRETRY Specifies maximum number of receive retries allowed when parity error occurrs.
R ED
TXRETRY Specifies maximum number of transmit retries allowed when parity error occurrs.
FO M
Y
NL
US IAL
SIMn +0030h Data Register Used As Tx/Rx Data Register SIMIFN_SIM_DATA
EO
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DATA[7:0]
Type R/W
Reset -
hk T
DATA Eight data digits, corresponding to the character being read or written
m. EN
SIMn +0034h SIM FIFO Count Register SIMIFN_SIM_COUNT
bit
Name
Type
Reset
15
.co ID
14 13 12 11 10 9 8 7 6 5 4 3 2
COUNT[4:0]
R/W
0h
1 0
sac NF
COUNT Number of characters in the SIM FIFO when read and flushes when written.
O
Name ATIME[9:0]
Type R/W
Reset 2BEh
.Li K
ATIME Defines the duration, in 64 SIM clock cycles, of the time taken for each of the three
stages of the card activation process, from SIMON transiting to “high” to turning on VCC,
no TE
from turning on VCC to pull data “high” and then from pulling data “high” to turning on
CLK.
Ar IA
Name DTIME[5:0]
Type R/W
Reset Fh
DTIME Defines the duration, in 64 13 MHz clock cycles, of the time taken for each of the three
FO M
stages of the card deactivation sequence, from pulling RST “low” to turning off CLK, from
turning off CLK to pulling data “low”, from pulling data “low” to turning off VCC.
Y
NL
Type R/W
Reset 260h
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
Name WTIME[21:0]
Type R/W
EO
Reset 260h
WTIME Maximum interval between the leading edge of two consecutive characters in 16 ETU
units
hk T
m. EN
SIMn +004Ch Block to Block Guard Time Register SIMIFN_SIM_GTIME
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GTIME[3:0]
Type
Reset
GTIME
.co ID
Minimum interval between the leading edge of two consecutive characters sent in
R/W
10d
sac NF
opposite directions in ETU unit
O
Name ETIME[5:0]
Type R/W
Reset 15d
.Li K
ETIME Defines the interval, in 1/16 ETU unit, between the end of the transmitted parity bit and
the time to check the parity error signal sent from SIM card.
no TE
SIMIFN_SIM_EXT_TIM
SIMn +0054h Active High Period Control Register
Ar IA
E
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name EXT_TIME[3:0]
Type R/W
R ED
Reset 1d
EXT_TIME Defines the interval, in 1/16 ETU unit, between the end of the transmitted parity bit and
the time to switch SIO to input mode. This value should be smaller than ETIME.
FO M
Y
NL
CGTIME Defines the minimum interval between the leading edges of two consecutive characters
in ETU unit.
US IAL
In the same transmission direction, the minimum interval is (12 + CGTIME) ETU. In
opposite transmission direction, the minimum interval is (12 + CGTIME + GTIME) ETU.
EO
hk T
SIMn +0060h SIM Command Header Register: INS SIMIFN_SIM_INS
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
m. EN
Name INSD SIMINS[7:0]
Type R/W R/W
Reset 0h 0h
SIMINS This field should be identical to the INS instruction code. When writing to this register, the
INSD .co ID
T = 0 controller will be activated and data transfer initiated.
Instruction direction
0 T = 0 controller receives data from the SIM card.
sac NF
1 T = 0 controller sends data to the SIM card.
SIMIFN_SIM_IMP3
O
SIMP3
Name SIMP3[7:0]
[8]
Type R R/W
Reset 0h 0h
.Li K
SIMP3 This field should be identical to the P3 instruction code. It should be written prior to the
no TE
SIM_INS register. When the data transfer is being conducted, this field will show the
number of the remaining data to be sent or to be received.
Ar IA
SIMIFN_SIM_SW1
SIMn +0068h SIM Procedure Byte Register: SW1
(ICC_LEN)
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R ED
Name SIMSW1[7:0]
Type R
Reset 0h
SIMSW1 This field holds the last received procedure byte for debugging. When the T0END
FO M
SIMIFN_SIM_SW2
SIMn +006Ch SIM Procedure Byte Register: SW2
(ICC_EDC)
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name SIMSW2[7:0]
Y
NL
Type R
Reset 0h
US IAL
SIMSW2 This field holds the SW2 procedure byte
EO
SIMIFN_SIM_ATRST
SIMn +0070h SIM ATR State Register
hk T
A
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name AL IR OFF
m. EN
Type R R R
Reset 0h 0h 1h
The SIM card is initially turned off. After configuring SIMON of SIMn_SIM_CTRL and ATR procedure,
SIMn_SIM_ATRSTA will set IR or AL to 1 to indicate the card’s feature.
OFF
IR
.co ID
Indicates On/Off of the SIM card
SIM card is IR (internal reset) card
sac NF
AL SIM card is AL (active low reset) card
O
T0 or T1 protocol of the SIM card is initially turned off. When T0 or T1 protocol is turned on,
SIMn_SIM_T0STA will transit between ONE or ALL according to the procedure byte of the SIM card.
no TE
Reset -
DATA Eight data digits, corresponding to the character being read or written
Y
NL
Name DBG7 DBG6 DBG5 DBG4 DBG3[4:0]
Type R R R R R
Reset 0h 0h 0h 0h 0h
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DBG2[4:0] DBG1[4:0]
EO
Type R R
Reset 0h 0h
hk T
DBG2 Debugging register 2
DBG3 Debugging register 3
m. EN
DBG4 Debugging register 4
DBG5 Debugging register 5
DBG6 Debugging register 6
DBG7 Debugging register 7
.co ID
sac NF
SIMn +0094h SIM FIFO Data Debug Register SIMIFN_SIM_DBGDATA
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DBGRPTR[3:0] DBGDATA[7:0]
Type R R
O
Reset 0h -
Name FUN
G
C
Type R/W R/W
Reset 0h 0h
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R ED
IES_ IES_L
Name TDSEL[1:0] RDSEL[1:0] R1 R0 PUPD SMT E4 E2 SR[1:0]
CTRL V
Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0h 0h 0h 0h 0h 0h 0h 1h 0h 1h 3h
FO M
Y
NL
E4 TX driving strength control
For SIM card mode, E4 = [0] is the recommended setting for SCLK/SRST/SIO.
US IAL
SMT RX input buffer schmit trigger hysteresis control enable
High asserted. SMT = 1, schmit trigger enable.
EO
For SIM card mode, SMT = [1] is the recommended setting.
PUPD Weak pull-up/pull-down control
0 Pull-up
hk T
1 Pull-down
R0 Weak pull-up/pull-down resistance select
m. EN
Check the table in register “R1”.
R1 Weak pull-up/pull-down resistance select
Check the following table.
.co ID E
0
0
PUPD
0
0
R1
0
0
R0
0
1
R Value
High – Z
PU – 20k
sac NF
0 0 1 0 PU – 5k
0 0 1 1 PU – 4k
0 1 0 0 High – Z
O
0 1 0 1 PD – 75k
0 1 1 0 PD – 75k
PD – 37.5k
u@ C
0 1 1 1
1 x x x High - Z
.Li K
RDSEL[1]: Input buffer duty low when asserted. (low pulse width adjustment)
For SIM card mode, RDSEL = [0 0] is the recommended setting.
TDSEL Selects TX duty
TDSEL[0]: Output level shifter duty high when asserted. (high pulse width adjustment)
Ar IA
TDSEL[1]: Output level shifter duty low when asserted. (low pulse width adjustment)
For SIM card mode, TDSEL = [0 0] is the recommended setting.
IES_LV Controls IES (RX input buffer enable) parking level in IES direct control mode
R ED
Y
NL
SIMn +00A4h SIM SRST PAD Control Register SIMIFN_SIM_SRST
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IES_ IES_L
Name TDSEL[1:0] RDSEL[1:0] R1 R0 PUPD SMT E4 E2 SR[1:0]
EO
CTRL V
Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0h 0h 0h 0h 0h 0h 0h 1h 0h 1h 3h
hk T
High asserted. SR = 1, slower slew. SR = 0, no slew rate control.
For SIM card mode, SR[1:0] = [1 1] is the recommended setting to eliminate
m. EN
overshooting/undershooting. For non-SIM card mode, SR[1:0] = [0 0] is set for best speed.
E2 TX driving strength control
For SIM card mode, E2 = [1] is the recommended setting for SCLK/SRST/SIO. (SIO/SRST
can use [0])
E4
.co ID
TX driving strength control
For SIM card mode, E4 = [0] is the recommended setting for SCLK/SRST/SIO.
SMT RX input buffer schmit trigger hysteresis control enable
sac NF
High asserted. SMT = 1, schmit trigger enable.
For SIM card mode, SMT = [1] is the recommended setting.
PUPD Weak pull-up/pull-down control
O
0 Pull-up
1 Pull-down
R0 Weak pull-up/pull-down resistance select
u@ C
E PUPD R1 R0 R Value
0 0 0 0 High – Z
0 0 0 1 PU – 20k
0 0 1 0 PU – 5k
Ar IA
0 0 1 1 PU – 4k
0 1 0 0 High – Z
0 1 0 1 PD – 75k
R ED
0 1 1 0 PD – 75k
0 1 1 1 PD – 37.5k
1 x x x High - Z
FO M
Y
NL
For SIM card mode, TDSEL = [0 0] is the recommended setting.
IES_LV Controls IES (RX input buffer enable) parking level in IES direct control mode
US IAL
High asserted. Datapath: From IO to O. IES = 0, O = 0.
In quiescent mode, IES = 0 is suggested for power saving.
EO
IES_CTRL Enables IES direct control mode
hk T
SIMn +00A8h SIM SIO PAD Control Register SIMIFN_SIM_SIO
m. EN
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IES_ IES_L
Name TDSEL[1:0] RDSEL[1:0] R1 R0 PUPD SMT E4 E2 SR[1:0]
CTRL V
Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0h 0h 0h 0h 1h 0h 0h 1h 0h 1h 3h
SR
.co ID
Output slew rate control
High asserted. SR = 1, slower slew. SR = 0, no slew rate control.
For SIM card mode, SR[1:0] = [1 1] is the recommended setting to eliminate
sac NF
overshooting/undershooting. For non-SIM card mode, SR[1:0] = [0 0] is set for best speed.
E2 TX driving strength control
For SIM card mode, E2 = [1] is the recommended setting for SCLK/SRST/SIO. (SIO/SRST
O
For SIM card mode, E4 = [0] is the recommended setting for SCLK/SRST/SIO.
SMT RX input buffer schmit trigger hysteresis control enable
High asserted. SMT = 1, schmit trigger enable.
.Li K
0 Pull-up
1 Pull-down
R0 Weak pull-up/pull-down resistance select
Check the table in register “R1”.
Ar IA
and SIO is connected to external SIM switch, please disable pull-up resistance. ([R1 R0] = [0
0])
E PUPD R1 R0 R Value
FO M
0 0 0 0 High – Z
0 0 0 1 PU – 20k
0 0 1 0 PU – 5k
0 0 1 1 PU – 4k
0 1 0 0 High – Z
0 1 0 1 PD – 75k
0 1 1 0 PD – 75k
Y
NL
E PUPD R1 R0 R Value
0 1 1 1 PD – 37.5k
US IAL
1 x x x High - Z
EO
RDSEL Selects RX duty
RDSEL[0]: Input buffer duty high when asserted. (high pulse width adjustment)
RDSEL[1]: Input buffer duty low when asserted. (low pulse width adjustment)
hk T
For SIM card mode, RDSEL = [0 0] is the recommended setting.
TDSEL Selects TX duty
m. EN
TDSEL[0]: Output level shifter duty high when asserted. (high pulse width adjustment)
TDSEL[1]: Output level shifter duty low when asserted. (low pulse width adjustment)
For SIM card mode, TDSEL = [0 0] is the recommended setting.
IES_LV Controlling IES (RX input buffer enable) parking level in IES direct control mode
IES_CTRL
.co ID
High asserted. Datapath: From IO to O. IES = 0, O = 0.
In quiescent mode, IES = 0 is suggested for power saving.
Enables IES direct control mode
sac NF
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
MON1 MON1 MON1
Name MON9 MON8 MON7 MON6 MON5 MON4 MON3 MON2 MON1
u@ C
2 1 0
Type R R R R R R R R R R R R
Reset 0h 0h 0h 0h 0h 0h 0h 0h 0h 0h 0h 0h
.Li K
Y
NL
SIMSEL Selects monitor SIMRST, SIMCLK, SIMIO input signal
001 SIMRST input is monitored.
US IAL
010 SIMCLK input is monitored.
100 SIMSIO input is monitored.
EO
Others No meaning
hk T
3.2.2 SIM Card Insertion and Removal
m. EN
The detection of physical connection to the SIM card and card removal can be done by the external
interrupt controller or by GPIO.
3.2.3 .co ID
Card activation and Deactivation
The card activation and deactivation sequence are both controlled by H/W. The MCU initiates the
sac NF
activation sequence by writing “1” to bit 0 of the SIM_CTRL register, and then the interface performs
the following activation sequence:
Assert SIMRST ”low”
Set SIMVCC at “high” level and SIMDATA in the reception mode
O
The final step in a typical card session is contacting deactivation in case the card will be electrically
.Li K
damaged. The deactivation sequence is initiated by writing “0” to bit 0 of the SIM_CTRL register, and
the interface will perform the following deactivation sequence:
no TE
After the card is activated, a reset operation will result in an answer from the card consisting of the
initial character TS, followed by maximum 32 characters. The initial character TS provides a bit
synchronization sequence and defines the conventions to interpret data bytes in all subsequent
FO M
characters.
On reception of the first character, TS, the MCU should read this character, establish the respective
required convention and re-program the related registers. These processes should be completed prior
to the completion of reception of the next character. Next, the remainder of the ATR sequence will be
received, read via the SIM_DATA in the selected convention and interpreted by the S/W.
Y
NL
The timing requirement and procedures for ATR sequence are handled by H/W and shall meet the
requirement of ISO 7816-3, as shown in Figure 23.
US IAL
EO
hk T
m. EN
.co ID Figure 23. Answering to reset sequence
sac NF
Table 43. Time-out condition for answering to reset sequence
fashion using T=0 controller and DMA controller. In both modes, the time-out counter can be enabled
to monitor the elapsed time between two consecutive bytes.
R ED
Receiving characters
Upon detection of the start-bit sent by SIM card, the interface transforms into reception mode and the
following bits are shifted into an internal register. If no parity error is detected or the character-
received handshaking is disabled, the received-character will be written into the SIM FIFO and the
SIM_COUNT register increased by one. Otherwise, the SIMDATA line will be held “low” at 0.5 etu after
detecting the parity error for 1.5 etus, and the character will be re-received. If a character fails to be
Y
NL
received correctly for the RXRETRY times, the receive-handshaking will be aborted, the last-received
character written into the SIM FIFO, the SIM_COUNT increased by one and the RXERR interrupt
US IAL
generated.
EO
When the number of characters held in the received FIFO exceeds the level defined in the SIM_TIDE
register, a RXTIDE interrupt will be generated. The number of characters held in the SIM FIFO can be
hk T
determined by reading the SIM_COUNT register, and writing to this register will flush the SIM FIFO.
m. EN
Sending characters
Characters that are to be sent to the card are first written into the SIM FIFO and then automatically
transmitted to the card at timed intervals. If character-transmitted handshaking is enabled, the
SIMDATA line will be sampled at 1 etu after the parity bit. If the card indicates that it does not receive
.co ID
the character correctly, the character will be re-transmitted for maximum of TXRETRY times before a
TXERR interrupt is generated and the transmission is aborted. Otherwise, the succeeding byte in the
SIM FIFO will be transmitted.
sac NF
If a character fails to be transmitted and a TXERR interrupt is generated, the interface will need to be
reset by flushing the SIM FIFO before any subsequent transmission or reception operation.
O
When the number of characters held in the SIM FIFO falls below the level defined in the SIM_TIDE
register, a TXTIDE interrupt will be generated. The number of characters held in the SIM FIFO can be
u@ C
determined by reading the SIM_COUNT register, and writing to this register will flush the SIM FIFO.
.Li K
Basically the SIM interface is designed to work in conjunction with the T=0 protocol controller and the
DMA controller during non-ATR and non-PPS phase, though it is still possible for software to service
the data transfer manually as in the byte transfer mode if necessary. Thus the T=0 protocol should be
controlled by software.
Ar IA
The T=0 controller can be accessed via four registers representing the instruction header bytes INS
and P3, and the procedure bytes SW1 and SW2. The registers are:
R ED
SIM_INS, SIM_P3
SIM_SW1, SIM_SW2
FO M
During the character transfer, SIM_P3 holds the number of characters to be sent or to be received,
and SIM_SW1 holds the last received procedure byte including NULL, ACK, NACK and SW1 for
debugging.
Y
NL
1. Enable the T=0 protocol controller by setting the T0EN bit to 1 in the SIM_CONF register.
2. Program the SIM_TIDE register to 0x0000 (TXTIDE = 0, RXTIDE = 0).
US IAL
3. Program the SIM_IRQEN to 0x019C (enable RXERR, TXERR, T0END, TOUT and OVRUN
interrupts).
EO
4. Write CLA, INS, P1, P2 and P3 into SIM FIFO.
5. Program the DMA controller:
- DMAn_MSBSRC and DMAn_LSBSRC: Address of the SIM_DATA register
hk T
- DMAn_MSBDST and DMAn_LSBDST: Memory address reserved to store the received
characters
m. EN
- DMAn_COUNT: Identical to P3 or 256 (if P3 = 0)
- DMAn_CON: 0x0078
6. Write P3 into the SIM_P3 register and then INS into SIM_INS register. (Data transfer is initiated
now.)
.co ID
7. Enable the time-out counter by setting the TOUT bit to 1 in the SIM_CONF register.
8. Start the DMA controller by writing 0x8000 into the DMAn_START register.
sac NF
Upon completion of the data receiving instruction, T0END interrupt will be generated and the time-out
counter should be disabled by setting the TOUT bit to 0 in the SIM_CONF register.
If error occurs during the data transfer (RXERR, TXERR, OVRUN or TOUT interrupt is generated), the
O
SIM card should be deactivated first and then activate the prior subsequent operations.
u@ C
1. Enable the T=0 protocol controller by setting the T0EN bit to 1 in the SIM_CONF register.
2. Program the SIM_TIDE register to 0x0100 (TXTIDE = 1, RXTIDE = 0)
no TE
3. Program the SIM_IRQEN to 0x019C (enable RXERR, TXERR, T0END, TOUT and OVRUN
interrupts)
4. Write CLA, INS, P1, P2 and P3 into SIM FIFO
Ar IA
initiated now.)
7. Enable the time-out counter by setting the TOUT bit to 1 in the SIM_CONF register.
8. Start the DMA controller by writing 0x8000 into the DMAn_START register.
Upon completion of the data sending instruction, T0END interrupt will be generated and the time-out
counter should be disabled by setting the TOUT bit back to 0 in the SIM_CONF register.
Y
NL
If error occurs during the data transfer (RXERR, TXERR, OVRUN or TOUT interrupt is generated), the
SIM card should be deactivated first and then activate the prior subsequent operations.
US IAL
EO
3.3 Keypad Scanner
hk T
The keypad supports two types of keypads: 5*5 double keypad and 5*5 triple keypad.
m. EN
The 5*5 keypad can be divided into two parts: 1) The keypad interface including 5 columns and 5
rows (see Figure 24 and Figure 25); 2) The key detection block providing key pressed, key released
and de-bounce mechanisms.
.co ID
Each time the key is pressed or released, i.e. something different in the 5*5 matrix, the key detection
block senses the change and recognizes if a key has been pressed or released. Whenever the key
sac NF
status changes and is stable, a KEYPAD IRQ will be issued. The MCU can then read the key(s)
pressed directly in the KP_MEM1, KP_MEM2, KP_MEM3, KP_MEM4 and KP_MEM5 registers. To
ensure the key pressed information is not missed, the status register in keypad is not read-cleared by
the APB read command. The status register can only be changed by the key-pressed detection FSM.
O
This keypad can detect one or two keys pressed simultaneously. Figure 27 shows the one key
u@ C
pressed condition. Figure 28(a) and Figure 28(b) illustrate the two keys pressed cases. Since the key
pressed detection depends on the HIGH or LOW level of the external keypad interface, if the keys are
pressed at the same time and there exists a key that is on the same column and the same row with
.Li K
other keys, the pressed key cannot be correctly decoded. For example, if there are three key pressed:
key1 = (x1, y1), key2 = (x2, y2), and key3 = (x1, y2), then both key3 and key4 = (x2, y1) will be
no TE
detected, and therefore they cannot be distinguished correctly. Hence, the keypad can detect only one
or two keys pressed simultaneously at any combination. More than two keys pressed simultaneously
in a specific pattern will retrieve the wrong information.
Ar IA
The 5*5 double keypad (Figure 24) supports a 5*5*2 = 50 keys matrix. The 50 keys are divided into
25 sub groups and each group consists of 2 keys and a off-chip resistor. 5*5 double keypad has
another limitation, which is it cannot detect two keys pressed simultaneously when the two keys are in
R ED
one group, i.e. the 5*5 keypad cannot detect key0 and key1 pressed simultaneously or key15 and
key16 pressed simultaneously.
The 5*5 triple keypad (Figure 25) supports a 5*5*3 = 75 keys matrix. The 75 keys are divided into 25
FO M
sub groups and each group consists of 3 keys and two off-chip resistors. 5*5 triple keypad has
another limitation, which is it cannot detect three keys pressed simultaneously when the three keys
are in one group, i.e. 5*5 keypad cannot detect key0, key1 and key2 pressed simultaneously or key15,
key16 and key17 pressed simultaneously.
Y
NL
KCOL0 KCOL1 KCOL2 KCOL3 KCOL4
US IAL
KROW0 0 3 6 9 12
EO
1 4 7 10 13
KROW1
15 18 21 24 27
hk T
16 19 22 25 28
m. EN
KROW2 30 33 36 39 42
31 34 37 40 43
KROW3 48 54
45 51 57
.co ID
KROW4
46 49 52 55 58
sac NF
60 63 66 69 72
61 64 67 70 73
Baseband
O
u@ C
Y
NL
KCOL0 KCOL1 KCOL2 KCOL3 KCOL4
US IAL
KROW0
0 3 6 9 12
EO
1 4 7 10 13
2 5 8 11 14
KROW1
15 18 21 24 27
hk T
16 19 22 25 28
17 20 23 26 29
KROW2
m. EN
30 33 36 39 42
31 34 37 40 43
32 35 38 41 44
KROW3
.co ID
45 48 51 54 57
46 49 52 55 58
47 50 53 56 59
KROW4
sac NF
60 63 66 69 72
61 64 67 70 73
62 65 68 71 74
O
Baseband
u@ C
Y
NL
US IAL
Key Pressed
De-bounce time De-bounce time
EO
Key-pressed Status
KP_IRQ
hk T
KEY_PRESS_IRQ KEY_RELEASE_IRQ
m. EN
Figure 27. One key pressed with de-bounce mechanism denoted
.co ID
Key1 pressed
Key2 pressed
Status
sac NF
IRQ
(a)
Key1 pressed
O
Key2 pressed
u@ C
Status
IRQ
(b)
Figure 28. (a) Two keys pressed, case 1; (b) Two keys pressed, case 2
no TE
A00D0008 KP_MEM2 16 Shows the key-pressed status of key 16 (LSB) ~ key 31.
Refer to Table 1 and Table 2.
Keypad Scanning Output Register
A00D000C KP_MEM3 16 Shows the key-pressed status of key 32 (LSB) ~ key 47.
Refer to Table 1 and Table 2.
Keypad Scanning Output Register
A00D0010 KP_MEM4 16 Shows the key-pressed status of key 48 (LSB) ~ key 63.
Refer to Table 1 and Table 2.
Y
NL
Address Name Width Register Function
Keypad Scanning Output Register
US IAL
A00D0014 KP_MEM5 16 Shows the key-pressed status of key 64 (LSB) ~ key 77.
Refer to Table 1 and Table 2.
EO
De-bounce Period Setting
Defines the waiting period before key pressing or release
events are considered stable. If the de-bounce setting is
A00D0018 KP_DEBOUNCE 16 too small, the keypad will be too sensitive and detect too
hk T
many unexpected key presses. The suitable de-bounce
time setting must be adjusted according to the user's
habit.
m. EN
Keypad Scan Timing Adjustment Register
Sets up the keypad scan timing.
Note: ROW_SCAN_DIV > ROW_INTERVAL_DIV and
A00D001C KP_SCAN_TIMING 16 COL_SCAN_DIV > COL_INTERVAL_DIV.
Reset 0
no TE
1: Key pressed
R ED
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Overview: Shows the key-pressed status of key 0 (LSB) ~ key 15. Refer to Table 1 and Table 2.
Y
NL
Bit(s) Mnemonic Name Description
13 KEY13 KEY13
US IAL
12 KEY12 KEY12
11 KEY11 KEY11
EO
10 KEY10 KEY10
9 KEY9 KEY9
8 KEY8 KEY8
hk T
7 KEY7 KEY7
6 KEY6 KEY6
m. EN
5 KEY5 KEY5
4 KEY4 KEY4
3 KEY3 KEY3
2 KEY2 KEY2
1
0
KEY1
KEY0
.co ID KEY1
KEY0
sac NF
A00D0008 KP_MEM2 Keypad Scanning Output Register FFFF
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Overview: Shows the key-pressed status of key 16 (LSB) ~ key 31. Refer to Table 1 and Table 2.
.Li K
14 KEY30 KEY30
13 KEY29 KEY29
12 KEY28 KEY28
Ar IA
11 KEY27 KEY27
10 KEY26 KEY26
9 KEY25 KEY25
R ED
8 KEY24 KEY24
7 KEY23 KEY23
6 KEY22 KEY22
5 KEY21 KEY21
FO M
4 KEY20 KEY20
3 KEY19 KEY19
2 KEY18 KEY18
1 KEY17 KEY17
0 KEY16 KEY16
Y
NL
A00D000C KP_MEM3 Keypad Scanning Output Register FFFF
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
Name KEY4 KEY3
KEY46 KEY45 KEY44 KEY43 KEY42 KEY41 KEY40 KEY39 KEY38 KEY37 KEY36 KEY35 KEY34 KEY33
7 2
EO
Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Overview: Shows the key-pressed status of key 32 (LSB) ~ key 47. Refer to Table 1 and Table 2.
hk T
Bit(s) Mnemonic Name Description
m. EN
15 KEY47 KEY47
14 KEY46 KEY46
13 KEY45 KEY45
12 KEY44 KEY44
11
10
9
KEY43
KEY42
KEY41
.co ID KEY43
KEY42
KEY41
sac NF
8 KEY40 KEY40
7 KEY39 KEY39
6 KEY38 KEY38
5 KEY37 KEY37
O
4 KEY36 KEY36
3 KEY35 KEY35
u@ C
2 KEY34 KEY34
1 KEY33 KEY33
0 KEY32 KEY32
.Li K
no TE
Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Overview: Shows the key-pressed status of key 48 (LSB) ~ key 63. Refer to Table 1 and Table 2.
R ED
13 KEY61 KEY61
12 KEY60 KEY60
11 KEY59 KEY59
10 KEY58 KEY58
9 KEY57 KEY57
8 KEY56 KEY56
7 KEY55 KEY55
Y
NL
Bit(s) Mnemonic Name Description
6 KEY54 KEY54
US IAL
5 KEY53 KEY53
4 KEY52 KEY52
EO
3 KEY51 KEY51
2 KEY50 KEY50
1 KEY49 KEY49
hk T
0 KEY48 KEY48
m. EN
A00D0014 KP_MEM5 Keypad Scanning Output Register 07FF
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
Type
Reset
.co ID KEY74 KEY73 KEY72 KEY71 KEY70 KEY69 KEY68 KEY67 KEY66 KEY65
RO
1
RO
1
RO
1
RO
1
RO
1
RO
1
RO
1
RO
1
RO
1
RO
1
KEY6
4
RO
1
sac NF
Overview: Shows the key-pressed status of key 64 (LSB) ~ key 77. Refer to Table 1 and Table 2.
O
9 KEY73 KEY73
8 KEY72 KEY72
7 KEY71 KEY71
.Li K
6 KEY70 KEY70
5 KEY69 KEY69
no TE
4 KEY68 KEY68
3 KEY67 KEY67
2 KEY66 KEY66
1 KEY65 KEY65
Ar IA
0 KEY64 KEY64
The five registers list the status of 75 keys on the keypad. For 5*5 keypad, KP_MEM1~4 registers list the status
R ED
of 75 keys on the keypad. When the MCU receives KEYPAD IRQ, both two registers must be read. If any key is
pressed, the relative bit will be set to 0.
FO M
In order to work normally, the corresponding pull-up/down setting must be programmed correctly. If some keys
can be used because their COL or ROW is used as GPIO, these corresponding enabling bit should be set.
Y
NL
Name DEBOUNCE
Type RW
Reset 0 0 0 1 0 0 0 0 0 0 0 0 0 0
US IAL
Overview: Defines the waiting period before key pressing or release events are considered stable. If the de-
EO
bounce setting is too small, the keypad will be too sensitive and detect too many unexpected key presses. The
suitable de-bounce time setting must be adjusted according to the user's habit.
hk T
Bit(s) Mnemonic Name Description
13:0 DEBOUNCE DEBOUNCE De-bounce time = KP_DEBOUNCE/32ms.
m. EN
KP_SCAN_TIMI
A00D001C Keypad Scan Timing Adjustment Register 0011
NG
Bit
Name
Type
Reset
15
0
.co ID
0
14
COL_INTERVAL_DIV
RW
0 0
13 12 11
0 0
10
ROW_INTERVAL_DIV
RW
0 0
9 8 7
0 0
RW
6
COL_SCAN_DIV
0 1
5 4 3
0
2
ROW_SCAN_DIV
0
RW
0
1
1
0
sac NF
Overview: Sets up the keypad scan timing. Note: ROW_SCAN_DIV > ROW_INTERVAL_DIV and
COL_SCAN_DIV > COL_INTERVAL_DIV. ROW_INTERVAL_DIV/COL_INTERVAL_DIV are used to lower the
power consumption for it decreases the actual scan number during the de-bounce time.
O
VAL_DIV IV scans
Default 0 means there is 1 cycle between two high scan pulses.
11:8 ROW_INTERROW_INTERVAL_ Sets up the ROW SCAN interval cycle, i.e. cycles between two
.Li K
Y
NL
f32k_ck
US IAL
EO
Row0_scan
hk T
Row1_scan
m. EN
row_interval_div
= 4'h0
row_scan_div
= 4'h1
Type RW RW RW
Reset 1 1 1 1 1 0 0 0 0 0 0
u@ C
Overview: Selects 1: Use the double keypad or triple keypad; 2: Which cols and rows are used.
Name
N
Type RW
Reset 1
Y
NL
Bit(s) Mnemonic Name Description
1: Enable keypad (Only either of double or triple keypads can work.)
US IAL
EO
Table 44. 5*5 double KEY’s order number in COL/ROW matrix
hk T
ROW3 45/46 48/49 51/52 54/55 57/58
m. EN
ROW2 30/31 33/34 36/37 39/40 42/43
ROW1 15/16 18/19 21/22 24/25 27/28
ROW0 0/1 3/4 6/7 9/10 12/13
.co ID Table 45. 5*5 triple KEY’s order number in COL/ROW matrix
MT2503D offers 56 general purpose I/O pins. By setting up the control registers, the MCU software
can control the direction, the output value, and read the input values on these pins. These GPIOs and
GPOs are multiplexed with other functions to reduce the pin count. In addition, all GPO pins are
removed. To facilitate application use, the software can configure which clock to send outside the chip.
Ar IA
There are 6 clock-out ports embedded in 56 GPIO pins, and each clock-out can be programmed to
output appropriate clock source. Besides, when 2 GPIO function for the same peripheral IP, the
smaller GPIO serial numbers have higher priority than larger numbers.
R ED
FO M
Y
NL
Figure 30. GPIO block diagram
US IAL
3.4.2
EO
Register Definitions
Module name: gpio_reg Base address: (+A0020000h)
Address Name Width Register Function
hk T
GPIO Direction Control
A0020000 GPIO_DIR0 32
Configures GPIO direction
m. EN
GPIO Direction Control
A0020004 GPIO_DIR0_SET 32
For bitwise access of GPIO_DIR0
GPIO Direction Control
A0020008 GPIO_DIR0_CLR 32
For bitwise access of GPIO_DIR0
GPIO Direction Control
A0020010
A0020014 .co ID
GPIO_DIR1
GPIO_DIR1_SET
32
32
Configures GPIO direction
GPIO Direction Control
For bitwise access of GPIO_DIR1
sac NF
GPIO Direction Control
A0020018 GPIO_DIR1_CLR 32
For bitwise access of GPIO_DIR1
GPIO Pull-up/down Enable Control
A0020100 GPIO_PULLEN0 32
Configures GPIO pull enabling
GPIO_PULLEN0_ GPIO Pull-up/down Enable Control
O
A0020104 SET 32
For bitwise access of GPIO_PULLEN0
GPIO_PULLEN0_ GPIO Pull-up/down Enable Control
A0020108 CLR 32
u@ C
A0020114 GPIO_PULLEN1_ 32
SET For bitwise access of GPIO_PULLEN1
GPIO_PULLEN1_ GPIO Pull-up/down Enable Control
A0020118 32
no TE
Y
NL
Address Name Width Register Function
GPIO_DOUT1_SE GPIO Output Data Control
A0020314 32
US IAL
T For bitwise access of GPIO_DIR1
GPIO_DOUT1_CL GPIO Output Data Control
A0020318 32
EO
R For bitwise access of GPIO_DIR1
GPIO Input Data Value
A0020400 GPIO_DIN0 32
Reads GPIO input value
GPIO Input Data Value
hk T
A0020410 GPIO_DIN1 32
Reads GPIO input value
GPIO Pullsel Control
A0020500 GPIO_PULLSEL0 32
m. EN
Configures GPIO PUPD selection
GPIO_PULLSEL0 GPIO Pullsel Control
A0020504 _SET 32
For bitwise access of GPIO_PULLSEL0
GPIO_PULLSEL0 GPIO Pullsel Control
A0020508 _CLR 32
For bitwise access of GPIO_PULLSEL0
A0020510
A0020514
.co ID
GPIO_PULLSEL1
GPIO_PULLSEL1
32
32
GPIO Pullsel Control
Configures GPIO PUPD selection
GPIO Pullsel Control
sac NF
_SET For bitwise access of GPIO_PULLSEL1
GPIO_PULLSEL1 GPIO Pullsel Control
A0020518 _CLR 32
For bitwise access of GPIO_PULLSEL1
GPIO SMT Control
A0020600 GPIO_SMT0 32
Configures GPIO Schmit trigger control
O
GPIO SR Control
A0020704 GPIO_SR0_SET 32
For bitwise access of GPIO_SR0
GPIO SR Control
A0020708 GPIO_SR0_CLR 32
For bitwise access of GPIO_SR0
R ED
GPIO SR Control
A0020710 GPIO_SR1 32
Configures GPIO slew rate control
GPIO SR Control
A0020714 GPIO_SR1_SET 32
For bitwise access of GPIO_SR1
GPIO SR Control
FO M
A0020718 GPIO_SR1_CLR 32
For bitwise access of GPIO_SR1
GPIO SIM SR Control
A0020720 GPIO_SIM_SR 32
Configures GPIO slew rate control for SIM IO
GPIO_SIM_SR_S GPIO SIM SR Control
A0020724 ET 32
For bitwise access of GPIO_SIM_SR
GPIO_SIM_SR_C GPIO SIM SR Control
A0020728 LR 32
For bitwise access of GPIO_SIM_SR
A0020800 GPIO_DRV0 32 GPIO DRV Control
Y
NL
Address Name Width Register Function
Configures GPIO driving control
US IAL
GPIO DRV Control
A0020804 GPIO_DRV0_SET 32
For bitwise access of GPIO_DRV0
EO
GPIO DRV Control
A0020808 GPIO_DRV0_CLR 32
For bitwise access of GPIO_DRV0
GPIO DRV Control
A0020810 GPIO_DRV1 32
Configures GPIO driving control
hk T
GPIO DRV Control
A0020814 GPIO_DRV1_SET 32
For bitwise access of GPIO_DRV1
m. EN
GPIO DRV Control
A0020818 GPIO_DRV1_CLR 32
For bitwise access of GPIO_DRV1
GPIO IES Control
A0020900 GPIO_IES0 32
Configures GPIO input enabling control
GPIO IES Control
A0020904
A0020908 .co ID
GPIO_IES0_SET
GPIO_IES0_CLR
32
32
For bitwise access of GPIO_IES0
GPIO IES Control
For bitwise access of GPIO_IES0
sac NF
GPIO IES Control
A0020910 GPIO_IES1 32
Configures GPIO input enabling control
GPIO IES Control
A0020914 GPIO_IES1_SET 32
For bitwise access of GPIO_IES1
GPIO IES Control
O
A0020918 GPIO_IES1_CLR 32
For bitwise access of GPIO_IES1
GPIO PUPD Control
A0020A00 GPIO_PUPD0 32
u@ C
GPIO R0 Control
A0020B00 GPIO_RESEN0_0 32
Configures GPIO R0 control
GPIO_RESEN0_0 GPIO R0 Control
A0020B04 32
R ED
Y
NL
Address Name Width Register Function
GPIO_RESEN1_0 GPIO R1 Control
A0020B28 32
US IAL
_CLR For bitwise access of GPIO_RESEN1_0
GPIO R1 Control
A0020B30 GPIO_RESEN1_1 32
EO
Configures GPIO R1 control
GPIO_RESEN1_1 GPIO R1 Control
A0020B34 32
_SET For bitwise access of GPIO_RESEN1_1
GPIO_RESEN1_1 GPIO R1 Control
hk T
A0020B38 _CLR 32
For bitwise access of GPIO_RESEN1_1
GPIO Mode Control
A0020C00 GPIO_MODE0 32
m. EN
Configures GPIO aux. mode
GPIO_MODE0_S GPIO Mode Control
A0020C04 ET 32
For bitwise access of GPIO_MODE0
GPIO_MODE0_C GPIO Mode Control
A0020C08 LR 32
For bitwise access of GPIO_MODE0
A0020C10
A0020C14
.co ID
GPIO_MODE1
GPIO_MODE1_S
32
32
GPIO Mode Control
Configures GPIO aux. mode
GPIO Mode Control
sac NF
ET For bitwise access of GPIO_MODE1
GPIO_MODE1_C GPIO Mode Control
A0020C18 LR 32
For bitwise access of GPIO_MODE1
GPIO Mode Control
A0020C20 GPIO_MODE2 32
Configures GPIO aux. mode
O
GPIO_MODE5_C
A0020C58 LR 32
For bitwise access of GPIO_MODE5
GPIO Mode Control
A0020C60 GPIO_MODE6 32
Configures GPIO aux. mode
GPIO_MODE6_S GPIO Mode Control
A0020C64 ET 32
For bitwise access of GPIO_MODE6
GPIO_MODE6_C GPIO Mode Control
A0020C68 LR 32
For bitwise access of GPIO_MODE6
A0020D10 GPIO_TDSEL 32 GPIO TDSEL Control
Y
NL
Address Name Width Register Function
GPIO TX duty control register
US IAL
GPIO_TDSEL_SE GPIO TDSEL Control
A0020D14 T 32
For bitwise access of GPIO_TDSEL
EO
GPIO_TDSEL_CL GPIO TDSEL Control
A0020D18 R 32
For bitwise access of GPIO_TDSEL
CLK Out Selection Control
A0020E00 CLK_OUT0 32
CLK OUT0 Setting
hk T
CLK Out Selection Control
A0020E10 CLK_OUT1 32
CLK OUT1 Setting
m. EN
CLK Out Selection Control
A0020E20 CLK_OUT2 32
CLK OUT2 Setting
CLK Out Selection Control
A0020E30 CLK_OUT3 32
CLK OUT3 Setting
CLK Out Selection Control
A0020E40
A0020E50 .co ID
CLK_OUT4
CLK_OUT5
32
32
CLK OUT4 Setting
CLK Out Selection Control
CLK OUT5 Setting
sac NF
A0020000 GPIO_DIR0 GPIO Direction Control 040008E0
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O
GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Mne 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
u@ C
Reset 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
Mne GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
.Li K
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 1 0 0 0 1 1 1 0 0 0 0 0
no TE
0: GPIO as input
1: GPIO as output
29 GPIO29 GPIO29_DIR GPIO29 direction control
0: GPIO as input
1: GPIO as output
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: GPIO as output
US IAL
25 GPIO25 GPIO25_DIR GPIO25 direction control
0: GPIO as input
EO
1: GPIO as output
24 GPIO24 GPIO24_DIR GPIO24 direction control
0: GPIO as input
1: GPIO as output
hk T
23 GPIO23 GPIO23_DIR GPIO23 direction control
0: GPIO as input
m. EN
1: GPIO as output
22 GPIO22 GPIO22_DIR GPIO22 direction control
0: GPIO as input
1: GPIO as output
21 GPIO21 GPIO21_DIR GPIO21 direction control
20 GPIO20
.co ID GPIO20_DIR
0:
1: GPIO as output
GPIO
0: GPIO as input
1: GPIO as output
13 GPIO13 GPIO13_DIR GPIO13 direction control
0: GPIO as input
R ED
1: GPIO as output
12 GPIO12 GPIO12_DIR GPIO12 direction control
0: GPIO as input
1: GPIO as output
FO M
Y
NL
Bit(s) Mnemonic Name Description
8 GPIO8 GPIO8_DIR GPIO8 direction control
US IAL
0: GPIO as input
1: GPIO as output
EO
7 GPIO7 GPIO7_DIR GPIO7 direction control
0: GPIO as input
1: GPIO as output
6 GPIO6 GPIO6_DIR GPIO6 direction control
hk T
0: GPIO as input
1: GPIO as output
m. EN
5 GPIO5 GPIO5_DIR GPIO5 direction control
0: GPIO as input
1: GPIO as output
4 GPIO4 GPIO4_DIR GPIO4 direction control
0: GPIO as input
0: GPIO as input
1: GPIO as output
0 GPIO0 GPIO0_DIR GPIO0 direction control
u@ C
0: GPIO as input
1: GPIO as output
.Li K
GPIO_DIR0_SE
no TE
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Mne GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
R ED
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
29 GPIO29 GPIO29_DIR Bitwise SET operation of GPIO29 direction
US IAL
0: Keep
1: SET bits
EO
28 GPIO28 GPIO28_DIR Bitwise SET operation of GPIO28 direction
0: Keep
1: SET bits
27 GPIO27 GPIO27_DIR Bitwise SET operation of GPIO27 direction
hk T
0: Keep
1: SET bits
m. EN
26 GPIO26 GPIO26_DIR Bitwise SET operation of GPIO26 direction
0: Keep
1: SET bits
25 GPIO25 GPIO25_DIR Bitwise SET operation of GPIO25 direction
0: Keep
24 GPIO24.co ID GPIO24_DIR
1: SET bits
Bitwise SET operation of GPIO24 direction
0:
1: SET bits
Keep
sac NF
23 GPIO23 GPIO23_DIR Bitwise SET operation of GPIO23 direction
0: Keep
1: SET bits
22 GPIO22 GPIO22_DIR Bitwise SET operation of GPIO22 direction
O
0: Keep
1: SET bits
21 GPIO21 GPIO21_DIR Bitwise SET operation of GPIO21 direction
u@ C
0: Keep
1: SET bits
20 GPIO20 GPIO20_DIR Bitwise SET operation of GPIO20 direction
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
17 GPIO17 GPIO17_DIR Bitwise SET operation of GPIO17 direction
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
14 GPIO14 GPIO14_DIR Bitwise SET operation of GPIO14 direction
0: Keep
1: SET bits
13 GPIO13 GPIO13_DIR Bitwise SET operation of GPIO13 direction
0: Keep
1: SET bits
12 GPIO12 GPIO12_DIR Bitwise SET operation of GPIO12 direction
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
11 GPIO11 GPIO11_DIR Bitwise SET operation of GPIO11 direction
EO
0: Keep
1: SET bits
10 GPIO10 GPIO10_DIR Bitwise SET operation of GPIO10 direction
0: Keep
hk T
1: SET bits
9 GPIO9 GPIO9_DIR Bitwise SET operation of GPIO9 direction
m. EN
0: Keep
1: SET bits
8 GPIO8 GPIO8_DIR Bitwise SET operation of GPIO8 direction
0: Keep
1: SET bits
7
6
GPIO7
GPIO6
.co ID GPIO7_DIR
GPIO6_DIR
Bitwise SET operation of GPIO7 direction
0:
1: SET bits
Bitwise SET operation of GPIO6 direction
Keep
sac NF
0: Keep
1: SET bits
5 GPIO5 GPIO5_DIR Bitwise SET operation of GPIO5 direction
0: Keep
O
1: SET bits
4 GPIO4 GPIO4_DIR Bitwise SET operation of GPIO4 direction
0: Keep
u@ C
1: SET bits
3 GPIO3 GPIO3_DIR Bitwise SET operation of GPIO3 direction
0: Keep
.Li K
1: SET bits
2 GPIO2 GPIO2_DIR Bitwise SET operation of GPIO2 direction
0: Keep
no TE
1: SET bits
1 GPIO1 GPIO1_DIR Bitwise SET operation of GPIO1 direction
0: Keep
1: SET bits
Ar IA
GPIO_DIR0_CL
A0020008 GPIO Direction Control 00000000
R
FO M
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Mne GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Mne GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Overview: For bitwise access of GPIO_DIR0
US IAL
Bit(s) Mnemonic Name Description
31 GPIO31 GPIO31_DIR Bitwise CLR operation of GPIO31 direction
EO
0: Keep
1: CLR bits
30 GPIO30 GPIO30_DIR Bitwise CLR operation of GPIO30 direction
0: Keep
hk T
1: CLR bits
29 GPIO29 GPIO29_DIR Bitwise CLR operation of GPIO29 direction
m. EN
0: Keep
1: CLR bits
28 GPIO28 GPIO28_DIR Bitwise CLR operation of GPIO28 direction
0: Keep
1: CLR bits
27 GPIO27
.co ID GPIO27_DIR Bitwise CLR operation of GPIO27 direction
0:
1: CLR bits
Keep
sac NF
26 GPIO26 GPIO26_DIR Bitwise CLR operation of GPIO26 direction
0: Keep
1: CLR bits
25 GPIO25 GPIO25_DIR Bitwise CLR operation of GPIO25 direction
0: Keep
O
1: CLR bits
24 GPIO24 GPIO24_DIR Bitwise CLR operation of GPIO24 direction
u@ C
0: Keep
1: CLR bits
23 GPIO23 GPIO23_DIR Bitwise CLR operation of GPIO23 direction
0: Keep
.Li K
1: CLR bits
22 GPIO22 GPIO22_DIR Bitwise CLR operation of GPIO22 direction
no TE
0: Keep
1: CLR bits
21 GPIO21 GPIO21_DIR Bitwise CLR operation of GPIO21 direction
0: Keep
1: CLR bits
Ar IA
1: CLR bits
17 GPIO17 GPIO17_DIR Bitwise CLR operation of GPIO17 direction
0: Keep
1: CLR bits
16 GPIO16 GPIO16_DIR Bitwise CLR operation of GPIO16 direction
0: Keep
1: CLR bits
15 GPIO15 GPIO15_DIR Bitwise CLR operation of GPIO15 direction
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
14 GPIO14 GPIO14_DIR Bitwise CLR operation of GPIO14 direction
0: Keep
EO
1: CLR bits
13 GPIO13 GPIO13_DIR Bitwise CLR operation of GPIO13 direction
0: Keep
1: CLR bits
hk T
12 GPIO12 GPIO12_DIR Bitwise CLR operation of GPIO12 direction
0: Keep
m. EN
1: CLR bits
11 GPIO11 GPIO11_DIR Bitwise CLR operation of GPIO11 direction
0: Keep
1: CLR bits
10 GPIO10 GPIO10_DIR Bitwise CLR operation of GPIO10 direction
9 GPIO9
.co ID GPIO9_DIR
0:
1: CLR bits
Bitwise CLR operation of GPIO9 direction
Keep
sac NF
0: Keep
1: CLR bits
8 GPIO8 GPIO8_DIR Bitwise CLR operation of GPIO8 direction
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
2 GPIO2 GPIO2_DIR Bitwise CLR operation of GPIO2 direction
0: Keep
R ED
1: CLR bits
1 GPIO1 GPIO1_DIR Bitwise CLR operation of GPIO1 direction
0: Keep
1: CLR bits
FO M
Y
NL
5 4 1 0 9 8
Type RW RW RW RW RW RW
Reset 0 0 0 0 0 0
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name
EO
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
hk T
m. EN
Bit(s) Mnemonic Name Description
23 GPIO55 GPIO55_DIR GPIO55 direction control
0: GPIO as input
1: GPIO as output
22 GPIO54 GPIO54_DIR GPIO54 direction control
19 GPIO51
.co ID GPIO51_DIR
0:
1: GPIO as output
GPIO
1: GPIO as output
14 GPIO46 GPIO46_DIR GPIO46 direction control
0: GPIO as input
1: GPIO as output
13 GPIO45 GPIO45_DIR GPIO45 direction control
Ar IA
0: GPIO as input
1: GPIO as output
12 GPIO44 GPIO44_DIR GPIO44 direction control
R ED
0: GPIO as input
1: GPIO as output
11 GPIO43 GPIO43_DIR GPIO43 direction control
0: GPIO as input
1: GPIO as output
FO M
Y
NL
Bit(s) Mnemonic Name Description
7 GPIO39 GPIO39_DIR GPIO39 direction control
US IAL
0: GPIO as input
1: GPIO as output
EO
6 GPIO38 GPIO38_DIR GPIO38 direction control
0: GPIO as input
1: GPIO as output
5 GPIO37 GPIO37_DIR GPIO37 direction control
hk T
0: GPIO as input
1: GPIO as output
m. EN
4 GPIO36 GPIO36_DIR GPIO36 direction control
0: GPIO as input
1: GPIO as output
3 GPIO35 GPIO35_DIR GPIO35 direction control
0: GPIO as input
2 GPIO34.co ID GPIO34_DIR
1: GPIO as output
GPIO34 direction control
0:
1: GPIO as output
GPIO as input
sac NF
1 GPIO33 GPIO33_DIR GPIO33 direction control
0: GPIO as input
1: GPIO as output
0 GPIO32 GPIO32_DIR GPIO32 direction control
O
0: GPIO as input
1: GPIO as output
u@ C
GPIO_DIR1_SE
.Li K
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R ED
0: Keep
1: SET bits
22 GPIO54 GPIO54_DIR Bitwise SET operation of GPIO54 direction
0: Keep
1: SET bits
19 GPIO51 GPIO51_DIR Bitwise SET operation of GPIO51 direction
0: Keep
1: SET bits
Y
NL
Bit(s) Mnemonic Name Description
18 GPIO50 GPIO50_DIR Bitwise SET operation of GPIO50 direction
US IAL
0: Keep
1: SET bits
EO
17 GPIO49 GPIO49_DIR Bitwise SET operation of GPIO49 direction
0: Keep
1: SET bits
16 GPIO48 GPIO48_DIR Bitwise SET operation of GPIO48 direction
hk T
0: Keep
1: SET bits
m. EN
15 GPIO47 GPIO47_DIR Bitwise SET operation of GPIO47 direction
0: Keep
1: SET bits
14 GPIO46 GPIO46_DIR Bitwise SET operation of GPIO46 direction
0: Keep
13 GPIO45.co ID GPIO45_DIR
1: SET bits
Bitwise SET operation of GPIO45 direction
0:
1: SET bits
Keep
sac NF
12 GPIO44 GPIO44_DIR Bitwise SET operation of GPIO44 direction
0: Keep
1: SET bits
11 GPIO43 GPIO43_DIR Bitwise SET operation of GPIO43 direction
O
0: Keep
1: SET bits
10 GPIO42 GPIO42_DIR Bitwise SET operation of GPIO42 direction
u@ C
0: Keep
1: SET bits
9 GPIO41 GPIO41_DIR Bitwise SET operation of GPIO41 direction
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
6 GPIO38 GPIO38_DIR Bitwise SET operation of GPIO38 direction
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
3 GPIO35 GPIO35_DIR Bitwise SET operation of GPIO35 direction
0: Keep
1: SET bits
2 GPIO34 GPIO34_DIR Bitwise SET operation of GPIO34 direction
0: Keep
1: SET bits
1 GPIO33 GPIO33_DIR Bitwise SET operation of GPIO33 direction
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
0 GPIO32 GPIO32_DIR Bitwise SET operation of GPIO32 direction
EO
0: Keep
1: SET bits
hk T
GPIO_DIR1_CL
A0020018 GPIO Direction Control 00000000
m. EN
R
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO5 GPIO5 GPIO4 GPIO4
Name
5 4 1 0 9 8
Type WO WO WO WO WO WO
Reset 0 0 0 0 0 0
Bit
Type
7
WO
15
6
.co ID
14
5 4
13
3
12
2 1
11
WO WO WO WO WO WO WO WO WO WO WO WO
0
10
9 8
9
7 6
8
5
7
4 3
WO WO WO
6
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
2
5 4 3 2 1 0
sac NF
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0: Keep
1: CLR bits
22 GPIO54 GPIO54_DIR Bitwise CLR operation of GPIO54 direction
0: Keep
.Li K
1: CLR bits
19 GPIO51 GPIO51_DIR Bitwise CLR operation of GPIO51 direction
no TE
0: Keep
1: CLR bits
18 GPIO50 GPIO50_DIR Bitwise CLR operation of GPIO50 direction
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
15 GPIO47 GPIO47_DIR Bitwise CLR operation of GPIO47 direction
0: Keep
FO M
1: CLR bits
14 GPIO46 GPIO46_DIR Bitwise CLR operation of GPIO46 direction
0: Keep
1: CLR bits
13 GPIO45 GPIO45_DIR Bitwise CLR operation of GPIO45 direction
0: Keep
1: CLR bits
12 GPIO44 GPIO44_DIR Bitwise CLR operation of GPIO44 direction
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
11 GPIO43 GPIO43_DIR Bitwise CLR operation of GPIO43 direction
0: Keep
EO
1: CLR bits
10 GPIO42 GPIO42_DIR Bitwise CLR operation of GPIO42 direction
0: Keep
1: CLR bits
hk T
9 GPIO41 GPIO41_DIR Bitwise CLR operation of GPIO41 direction
0: Keep
m. EN
1: CLR bits
8 GPIO40 GPIO40_DIR Bitwise CLR operation of GPIO40 direction
0: Keep
1: CLR bits
7 GPIO39 GPIO39_DIR Bitwise CLR operation of GPIO39 direction
6 GPIO38
.co ID GPIO38_DIR
0:
1: CLR bits
Bitwise CLR operation of GPIO38 direction
Keep
sac NF
0: Keep
1: CLR bits
5 GPIO37 GPIO37_DIR Bitwise CLR operation of GPIO37 direction
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
R ED
Type RW RW RW RW RW
Reset 1 1 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 1 1 1 1 1 1 1
Y
NL
Bit(s) Mnemonic Name Description
US IAL
30 GPIO30 GPIO30_PULLEN GPIO30 PULLEN
0: Disable
EO
1: Enable
25 GPIO25 GPIO25_PULLEN GPIO25 PULLEN
0: Disable
1: Enable
hk T
24 GPIO24 GPIO24_PULLEN GPIO24 PULLEN
0: Disable
m. EN
1: Enable
23 GPIO23 GPIO23_PULLEN GPIO23 PULLEN
0: Disable
1: Enable
22 GPIO22 GPIO22_PULLEN GPIO22 PULLEN
11 GPIO11
.co ID GPIO11_PULLEN
0:
1: Enable
GPIO11 PULLEN
Disable
sac NF
0: Disable
1: Enable
9 GPIO9 GPIO9_PULLEN GPIO9 PULLEN
0: Disable
1: Enable
O
1: Enable
5 GPIO5 GPIO5_PULLEN GPIO5 PULLEN
0: Disable
1: Enable
4 GPIO4 GPIO4_PULLEN GPIO4 PULLEN
Ar IA
0: Disable
1: Enable
3 GPIO3 GPIO3_PULLEN GPIO3 PULLEN
R ED
0: Disable
1: Enable
2 GPIO2 GPIO2_PULLEN GPIO2 PULLEN
0: Disable
1: Enable
FO M
Y
NL
GPIO_PULLEN0
A0020104 GPIO Pull-up/down Enable Control 00000000
_SET
US IAL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2
EO
Name 0 5 4 3 2
Type WO WO WO WO WO
Reset 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
hk T
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset
m. EN
0 0 0 0 0 0 0 0 0 0 0
30 GPIO30
.co ID
Bit(s) Mnemonic Name
GPIO30_PULLEN
Description
Bitwise SET operation of GPIO30 PULLEN_SET
0:
1: SET bits
Keep
sac NF
25 GPIO25 GPIO25_PULLEN Bitwise SET operation of GPIO25 PULLEN_SET
0: Keep
1: SET bits
24 GPIO24 GPIO24_PULLEN Bitwise SET operation of GPIO24 PULLEN_SET
O
0: Keep
1: SET bits
23 GPIO23 GPIO23_PULLEN Bitwise SET operation of GPIO23 PULLEN_SET
u@ C
0: Keep
1: SET bits
22 GPIO22 GPIO22_PULLEN Bitwise SET operation of GPIO22 PULLEN_SET
.Li K
0: Keep
1: SET bits
11 GPIO11 GPIO11_PULLEN Bitwise SET operation of GPIO11 PULLEN_SET
no TE
0: Keep
1: SET bits
9 GPIO9 GPIO9_PULLEN Bitwise SET operation of GPIO9 PULLEN_SET
0: Keep
1: SET bits
Ar IA
1: SET bits
5 GPIO5 GPIO5_PULLEN Bitwise SET operation of GPIO5 PULLEN_SET
0: Keep
1: SET bits
4 GPIO4 GPIO4_PULLEN Bitwise SET operation of GPIO4 PULLEN_SET
0: Keep
1: SET bits
3 GPIO3 GPIO3_PULLEN Bitwise SET operation of GPIO3 PULLEN_SET
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
2 GPIO2 GPIO2_PULLEN Bitwise SET operation of GPIO2 PULLEN_SET
EO
0: Keep
1: SET bits
1 GPIO1 GPIO1_PULLEN Bitwise SET operation of GPIO1 PULLEN_SET
0: Keep
hk T
1: SET bits
0 GPIO0 GPIO0_PULLEN Bitwise SET operation of GPIO0 PULLEN_SET
m. EN
0: Keep
1: SET bits
A0020108
Bit 31
.co ID
GPIO_PULLEN0
_CLR
30
GPIO3
GPIO Pull-up/down Enable Control
29 28 27 26 25 24 23
GPIO2 GPIO2 GPIO2 GPIO2
22 21 20 19 18
00000000
17 16
sac NF
Name
0 5 4 3 2
Type WO WO WO WO WO
Reset 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
O
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
u@ C
0: Keep
1: CLR bits
25 GPIO25 GPIO25_PULLEN Bitwise CLR operation of GPIO25 PULLEN_CLR
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
22 GPIO22 GPIO22_PULLEN Bitwise CLR operation of GPIO22 PULLEN_CLR
0: Keep
FO M
1: CLR bits
11 GPIO11 GPIO11_PULLEN Bitwise CLR operation of GPIO11 PULLEN_CLR
0: Keep
1: CLR bits
9 GPIO9 GPIO9_PULLEN Bitwise CLR operation of GPIO9 PULLEN_CLR
0: Keep
1: CLR bits
8 GPIO8 GPIO8_PULLEN Bitwise CLR operation of GPIO8 PULLEN_CLR
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
7 GPIO7 GPIO7_PULLEN Bitwise CLR operation of GPIO7 PULLEN_CLR
0: Keep
EO
1: CLR bits
6 GPIO6 GPIO6_PULLEN Bitwise CLR operation of GPIO6 PULLEN_CLR
0: Keep
1: CLR bits
hk T
5 GPIO5 GPIO5_PULLEN Bitwise CLR operation of GPIO5 PULLEN_CLR
0: Keep
m. EN
1: CLR bits
4 GPIO4 GPIO4_PULLEN Bitwise CLR operation of GPIO4 PULLEN_CLR
0: Keep
1: CLR bits
3 GPIO3 GPIO3_PULLEN Bitwise CLR operation of GPIO3 PULLEN_CLR
2 GPIO2
.co ID GPIO2_PULLEN
0:
1: CLR bits
Bitwise CLR operation of GPIO2 PULLEN_CLR
Keep
sac NF
0: Keep
1: CLR bits
1 GPIO1 GPIO1_PULLEN Bitwise CLR operation of GPIO1 PULLEN_CLR
0: Keep
1: CLR bits
O
Name
4 3
Type RW RW
Reset 1 1
R ED
0: Disable
1: Enable
22 GPIO54 GPIO54_PULLEN GPIO54 PULLEN
0: Disable
1: Enable
21 GPIO53 GPIO53_PULLEN GPIO53 PULLEN
0: Disable
1: Enable
Y
NL
Bit(s) Mnemonic Name Description
20 GPIO52 GPIO52_PULLEN GPIO52 PULLEN
US IAL
0: Disable
1: Enable
EO
12 GPIO44 GPIO44_PULLEN GPIO44 PULLEN
0: Disable
1: Enable
11 GPIO43 GPIO43_PULLEN GPIO43 PULLEN
hk T
0: Disable
1: Enable
m. EN
GPIO_PULLEN1
A0020114 GPIO Pull-up/down Enable Control 00000000
_SET
Bit
Name
Type
31
.co ID
30 29 28 27 26 25 24 23 22 21
GPIO5 GPIO5 GPIO5 GPIO5
5 4
WO WO WO WO
3 2
20 19 18 17 16
sac NF
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4
Name
4 3
Type WO WO
Reset 0 0
O
0: Keep
1: SET bits
no TE
1: SET bits
20 GPIO52 GPIO52_PULLEN Bitwise SET operation of GPIO30 PULLEN_SET
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
GPIO_PULLEN1
A0020118 GPIO Pull-up/down Enable Control 00000000
_CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Y
NL
GPIO5 GPIO5 GPIO5 GPIO5
Name
5 4 3 2
Type WO WO WO WO
US IAL
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EO
GPIO4 GPIO4
Name 4 3
Type WO WO
Reset 0 0
hk T
Overview: For bitwise access of GPIO_PULLEN1
m. EN
Bit(s) Mnemonic Name Description
23 GPIO55 GPIO55_PULLEN Bitwise CLR operation of GPIO51 PULLEN_CLR
0: Keep
1: CLR bits
22
21
GPIO54
GPIO53
.co ID GPIO54_PULLEN
GPIO53_PULLEN
Bitwise CLR operation of GPIO44 PULLEN_CLR
0:
1: CLR bits
Bitwise CLR operation of GPIO43 PULLEN_CLR
Keep
sac NF
0: Keep
1: CLR bits
20 GPIO52 GPIO52_PULLEN Bitwise CLR operation of GPIO30 PULLEN_CLR
0: Keep
O
1: CLR bits
12 GPIO44 GPIO44_PULLEN Bitwise CLR operation of GPIO44 PULLEN_CLR
0: Keep
u@ C
1: CLR bits
11 GPIO43 GPIO43_PULLEN Bitwise CLR operation of GPIO43 PULLEN_CLR
0: Keep
.Li K
1: CLR bits
no TE
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name INV15 INV14 INV13 INV12 INV11 INV10 INV9 INV8 INV7 INV6 INV5 INV4 INV3 INV2 INV1 INV0
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
R ED
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
0: Keep input value
US IAL
1: Invert input value
28 INV28 GPIO28_DINV GPIO28 inversion control
EO
0: Keep input value
1: Invert input value
27 INV27 GPIO27_DINV GPIO27 inversion control
0: Keep input value
hk T
1: Invert input value
26 INV26 GPIO26_DINV GPIO26 inversion control
m. EN
0: Keep input value
1: Invert input value
25 INV25 GPIO25_DINV GPIO25 inversion control
0: Keep input value
1: Invert input value
24
23
INV24
INV23
.co ID GPIO24_DINV
GPIO23_DINV
GPIO24 inversion control
0: Keep
1: Invert input value
GPIO23 inversion control
input value
sac NF
0: Keep input value
1: Invert input value
22 INV22 GPIO22_DINV GPIO22 inversion control
0: Keep input value
O
Y
NL
Bit(s) Mnemonic Name Description
1: Invert input value
US IAL
11 INV11 GPIO11_DINV GPIO11 inversion control
0: Keep input value
EO
1: Invert input value
10 INV10 GPIO10_DINV GPIO10 inversion control
0: Keep input value
1: Invert input value
hk T
9 INV9 GPIO9_DINV GPIO9 inversion control
0: Keep input value
m. EN
1: Invert input value
8 INV8 GPIO8_DINV GPIO8 inversion control
0: Keep input value
1: Invert input value
7 INV7 GPIO7_DINV GPIO7 inversion control
6 INV6
.co ID GPIO6_DINV
0: Keep
1: Invert input value
GPIO6 inversion control
input value
sac NF
0: Keep input value
1: Invert input value
5 INV5 GPIO5_DINV GPIO5 inversion control
0: Keep input value
1: Invert input value
O
GPIO_DINV0_S
A0020204 GPIO Data Inversion Control 00000000
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FO M
Name INV31 INV30 INV29 INV28 INV27 INV26 INV25 INV24 INV23 INV22 INV21 INV20 INV19 INV18 INV17 INV16
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name INV15 INV14 INV13 INV12 INV11 INV10 INV9 INV8 INV7 INV6 INV5 INV4 INV3 INV2 INV1 INV0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
31 INV31 GPIO31_DINV Bitwise SET operation of GPIO31 inversion control
US IAL
0: Keep
1: SET bits
EO
30 INV30 GPIO30_DINV Bitwise SET operation of GPIO30 inversion control
0: Keep
1: SET bits
29 INV29 GPIO29_DINV Bitwise SET operation of GPIO29 inversion control
hk T
0: Keep
1: SET bits
m. EN
28 INV28 GPIO28_DINV Bitwise SET operation of GPIO28 inversion control
0: Keep
1: SET bits
27 INV27 GPIO27_DINV Bitwise SET operation of GPIO27 inversion control
0: Keep
0: Keep
1: SET bits
23 INV23 GPIO23_DINV Bitwise SET operation of GPIO23 inversion control
u@ C
0: Keep
1: SET bits
22 INV22 GPIO22_DINV Bitwise SET operation of GPIO22 inversion control
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
19 INV19 GPIO19_DINV Bitwise SET operation of GPIO19 inversion control
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
16 INV16 GPIO16_DINV Bitwise SET operation of GPIO16 inversion control
0: Keep
1: SET bits
15 INV15 GPIO15_DINV Bitwise SET operation of GPIO15 inversion control
0: Keep
1: SET bits
14 INV14 GPIO14_DINV Bitwise SET operation of GPIO14 inversion control
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
13 INV13 GPIO13_DINV Bitwise SET operation of GPIO13 inversion control
EO
0: Keep
1: SET bits
12 INV12 GPIO12_DINV Bitwise SET operation of GPIO12 inversion control
0: Keep
hk T
1: SET bits
11 INV11 GPIO11_DINV Bitwise SET operation of GPIO11 inversion control
m. EN
0: Keep
1: SET bits
10 INV10 GPIO10_DINV Bitwise SET operation of GPIO10 inversion control
0: Keep
1: SET bits
9
8
INV9
INV8
.co ID GPIO9_DINV
GPIO8_DINV
Bitwise SET operation of GPIO9 inversion control
0:
1: SET bits
Bitwise SET operation of GPIO8 inversion control
Keep
sac NF
0: Keep
1: SET bits
7 INV7 GPIO7_DINV Bitwise SET operation of GPIO7 inversion control
0: Keep
O
1: SET bits
6 INV6 GPIO6_DINV Bitwise SET operation of GPIO6 inversion control
0: Keep
u@ C
1: SET bits
5 INV5 GPIO5_DINV Bitwise SET operation of GPIO5 inversion control
0: Keep
.Li K
1: SET bits
4 INV4 GPIO4_DINV Bitwise SET operation of GPIO4 inversion control
0: Keep
no TE
1: SET bits
3 INV3 GPIO3_DINV Bitwise SET operation of GPIO3 inversion control
0: Keep
1: SET bits
Ar IA
0: Keep
1: SET bits
0 INV0 GPIO0_DINV Bitwise SET operation of GPIO0 inversion control
0: Keep
1: SET bits
FO M
GPIO_DINV0_C
A0020208 GPIO Data Inversion Control 00000000
LR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name INV31 INV30 INV29 INV28 INV27 INV26 INV25 INV24 INV23 INV22 INV21 INV20 INV19 INV18 INV17 INV16
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Y
NL
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name INV15 INV14 INV13 INV12 INV11 INV10 INV9 INV8 INV7 INV6 INV5 INV4 INV3 INV2 INV1 INV0
US IAL
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
EO
Overview: For bitwise access of GPIO_DINV0
hk T
Bit(s) Mnemonic Name Description
31 INV31 GPIO31_DINV Bitwise CLR operation of GPIO31 inversion control
m. EN
0: Keep
1: CLR bits
30 INV30 GPIO30_DINV Bitwise CLR operation of GPIO30 inversion control
0: Keep
1: CLR bits
29
28
INV29
INV28
.co ID GPIO29_DINV
GPIO28_DINV
Bitwise CLR operation of GPIO29 inversion control
0:
1: CLR bits
Bitwise CLR operation of GPIO28 inversion control
Keep
sac NF
0: Keep
1: CLR bits
27 INV27 GPIO27_DINV Bitwise CLR operation of GPIO27 inversion control
0: Keep
O
1: CLR bits
26 INV26 GPIO26_DINV Bitwise CLR operation of GPIO26 inversion control
0: Keep
u@ C
1: CLR bits
25 INV25 GPIO25_DINV Bitwise CLR operation of GPIO25 inversion control
0: Keep
.Li K
1: CLR bits
24 INV24 GPIO24_DINV Bitwise CLR operation of GPIO24 inversion control
0: Keep
no TE
1: CLR bits
23 INV23 GPIO23_DINV Bitwise CLR operation of GPIO23 inversion control
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
20 INV20 GPIO20_DINV Bitwise CLR operation of GPIO20 inversion control
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
16 INV16 GPIO16_DINV Bitwise CLR operation of GPIO16 inversion control
0: Keep
EO
1: CLR bits
15 INV15 GPIO15_DINV Bitwise CLR operation of GPIO15 inversion control
0: Keep
1: CLR bits
hk T
14 INV14 GPIO14_DINV Bitwise CLR operation of GPIO14 inversion control
0: Keep
m. EN
1: CLR bits
13 INV13 GPIO13_DINV Bitwise CLR operation of GPIO13 inversion control
0: Keep
1: CLR bits
12 INV12 GPIO12_DINV Bitwise CLR operation of GPIO12 inversion control
11 INV11
.co ID GPIO11_DINV
0:
1: CLR bits
Bitwise CLR operation of GPIO11 inversion control
Keep
sac NF
0: Keep
1: CLR bits
10 INV10 GPIO10_DINV Bitwise CLR operation of GPIO10 inversion control
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
4 INV4 GPIO4_DINV Bitwise CLR operation of GPIO4 inversion control
0: Keep
R ED
1: CLR bits
3 INV3 GPIO3_DINV Bitwise CLR operation of GPIO3 inversion control
0: Keep
1: CLR bits
FO M
Y
NL
US IAL
A0020210 GPIO_DINV1 GPIO Data Inversion Control 00000000
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name INV55 INV54 INV53 INV52 INV51 INV50 INV49 INV48
Type RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
hk T
Name INV47 INV46 INV45 INV44 INV43 INV42 INV41 INV40 INV39 INV38 INV37 INV36 INV35 INV34 INV33 INV32
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
m. EN
Overview: Configures GPIO inversion enabling
Y
NL
Bit(s) Mnemonic Name Description
0: Keep input value
US IAL
1: Invert input value
10 INV42 GPIO42_DINV GPIO42 inversion control
EO
0: Keep input value
1: Invert input value
9 INV41 GPIO41_DINV GPIO41 inversion control
0: Keep input value
hk T
1: Invert input value
8 INV40 GPIO40_DINV GPIO40 inversion control
m. EN
0: Keep input value
1: Invert input value
7 INV39 GPIO39_DINV GPIO39 inversion control
0: Keep input value
1: Invert input value
6
5
INV38
INV37
.co ID GPIO38_DINV
GPIO37_DINV
GPIO38 inversion control
0: Keep
1: Invert input value
GPIO37 inversion control
input value
sac NF
0: Keep input value
1: Invert input value
4 INV36 GPIO36_DINV GPIO36 inversion control
0: Keep input value
O
GPIO_DINV1_S
R ED
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name INV47 INV46 INV45 INV44 INV43 INV42 INV41 INV40 INV39 INV38 INV37 INV36 INV35 INV34 INV33 INV32
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
23 INV55 GPIO55_DINV Bitwise SET operation of GPIO55 inversion control
US IAL
0: Keep
1: SET bits
EO
22 INV54 GPIO54_DINV Bitwise SET operation of GPIO54 inversion control
0: Keep
1: SET bits
21 INV53 GPIO53_DINV Bitwise SET operation of GPIO53 inversion control
hk T
0: Keep
1: SET bits
m. EN
20 INV52 GPIO52_DINV Bitwise SET operation of GPIO52 inversion control
0: Keep
1: SET bits
19 INV51 GPIO51_DINV Bitwise SET operation of GPIO51 inversion control
0: Keep
0: Keep
1: SET bits
15 INV47 GPIO47_DINV Bitwise SET operation of GPIO47 inversion control
u@ C
0: Keep
1: SET bits
14 INV46 GPIO46_DINV Bitwise SET operation of GPIO46 inversion control
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
11 INV43 GPIO43_DINV Bitwise SET operation of GPIO43 inversion control
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
8 INV40 GPIO40_DINV Bitwise SET operation of GPIO40 inversion control
0: Keep
1: SET bits
7 INV39 GPIO39_DINV Bitwise SET operation of GPIO39 inversion control
0: Keep
1: SET bits
6 INV38 GPIO38_DINV Bitwise SET operation of GPIO38 inversion control
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
5 INV37 GPIO37_DINV Bitwise SET operation of GPIO37 inversion control
EO
0: Keep
1: SET bits
4 INV36 GPIO36_DINV Bitwise SET operation of GPIO36 inversion control
0: Keep
hk T
1: SET bits
3 INV35 GPIO35_DINV Bitwise SET operation of GPIO35 inversion control
m. EN
0: Keep
1: SET bits
2 INV34 GPIO34_DINV Bitwise SET operation of GPIO34 inversion control
0: Keep
1: SET bits
1
0
INV33
INV32
.co ID GPIO33_DINV
GPIO32_DINV
Bitwise SET operation of GPIO33 inversion control
0:
1: SET bits
Bitwise SET operation of GPIO32 inversion control
Keep
sac NF
0: Keep
1: SET bits
O
GPIO_DINV1_C
A0020218 GPIO Data Inversion Control 00000000
LR
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name INV55 INV54 INV53 INV52 INV51 INV50 INV49 INV48
Type WO WO WO WO WO WO WO WO
.Li K
Reset 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name INV47 INV46 INV45 INV44 INV43 INV42 INV41 INV40 INV39 INV38 INV37 INV36 INV35 INV34 INV33 INV32
Type
no TE
WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1: CLR bits
22 INV54 GPIO54_DINV Bitwise CLR operation of GPIO54 inversion control
0: Keep
1: CLR bits
21 INV53 GPIO53_DINV Bitwise CLR operation of GPIO53 inversion control
FO M
0: Keep
1: CLR bits
20 INV52 GPIO52_DINV Bitwise CLR operation of GPIO52 inversion control
0: Keep
1: CLR bits
19 INV51 GPIO51_DINV Bitwise CLR operation of GPIO51 inversion control
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
18 INV50 GPIO50_DINV Bitwise CLR operation of GPIO50 inversion control
US IAL
0: Keep
1: CLR bits
EO
17 INV49 GPIO49_DINV Bitwise CLR operation of GPIO49 inversion control
0: Keep
1: CLR bits
16 INV48 GPIO48_DINV Bitwise CLR operation of GPIO48 inversion control
hk T
0: Keep
1: CLR bits
m. EN
15 INV47 GPIO47_DINV Bitwise CLR operation of GPIO47 inversion control
0: Keep
1: CLR bits
14 INV46 GPIO46_DINV Bitwise CLR operation of GPIO46 inversion control
0: Keep
0: Keep
1: CLR bits
10 INV42 GPIO42_DINV Bitwise CLR operation of GPIO42 inversion control
u@ C
0: Keep
1: CLR bits
9 INV41 GPIO41_DINV Bitwise CLR operation of GPIO41 inversion control
.Li K
0: Keep
1: CLR bits
no TE
1: CLR bits
6 INV38 GPIO38_DINV Bitwise CLR operation of GPIO38 inversion control
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
3 INV35 GPIO35_DINV Bitwise CLR operation of GPIO35 inversion control
0: Keep
1: CLR bits
2 INV34 GPIO34_DINV Bitwise CLR operation of GPIO34 inversion control
0: Keep
1: CLR bits
1 INV33 GPIO33_DINV Bitwise CLR operation of GPIO33 inversion control
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: CLR bits
0 INV32 GPIO32_DINV Bitwise CLR operation of GPIO32 inversion control
EO
0: Keep
1: CLR bits
hk T
A0020300 GPIO_DOUT0 GPIO Output Data Control 04000800
m. EN
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Type
Reset
5
RW
0
4
RW
0
.co ID
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
3
RW
0
2
RW
0
1
RW
1
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
RW
0
sac NF
Overview: Configures GPIO output value
1: GPIO output HI
28 GPIO28 GPIO28_OUT GPIO28 data output value
0: GPIO output LO
1: GPIO output HI
27 GPIO27 GPIO27_OUT GPIO27 data output value
Ar IA
0: GPIO output LO
1: GPIO output HI
26 GPIO26 GPIO26_OUT GPIO26 data output value
0: GPIO output LO
R ED
1: GPIO output HI
25 GPIO25 GPIO25_OUT GPIO25 data output value
0: GPIO output LO
1: GPIO output HI
FO M
Y
NL
Bit(s) Mnemonic Name Description
21 GPIO21 GPIO21_OUT GPIO21 data output value
US IAL
0: GPIO output LO
1: GPIO output HI
EO
20 GPIO20 GPIO20_OUT GPIO20 data output value
0: GPIO output LO
1: GPIO output HI
19 GPIO19 GPIO19_OUT GPIO19 data output value
hk T
0: GPIO output LO
1: GPIO output HI
m. EN
18 GPIO18 GPIO18_OUT GPIO18 data output value
0: GPIO output LO
1: GPIO output HI
17 GPIO17 GPIO17_OUT GPIO17 data output value
0: GPIO output LO
16 GPIO16.co ID GPIO16_OUT
1: GPIO output HI
GPIO16 data output value
0:
1: GPIO output HI
GPIO output LO
sac NF
15 GPIO15 GPIO15_OUT GPIO15 data output value
0: GPIO output LO
1: GPIO output HI
14 GPIO14 GPIO14_OUT GPIO14 data output value
O
0: GPIO output LO
1: GPIO output HI
13 GPIO13 GPIO13_OUT GPIO13 data output value
u@ C
0: GPIO output LO
1: GPIO output HI
12 GPIO12 GPIO12_OUT GPIO12 data output value
.Li K
0: GPIO output LO
1: GPIO output HI
no TE
1: GPIO output HI
9 GPIO9 GPIO9_OUT GPIO9 data output value
0: GPIO output LO
1: GPIO output HI
R ED
0: GPIO output LO
1: GPIO output HI
6 GPIO6 GPIO6_OUT GPIO6 data output value
0: GPIO output LO
1: GPIO output HI
5 GPIO5 GPIO5_OUT GPIO5 data output value
0: GPIO output LO
1: GPIO output HI
4 GPIO4 GPIO4_OUT GPIO4 data output value
Y
NL
Bit(s) Mnemonic Name Description
0: GPIO output LO
US IAL
1: GPIO output HI
3 GPIO3 GPIO3_OUT GPIO3 data output value
EO
0: GPIO output LO
1: GPIO output HI
2 GPIO2 GPIO2_OUT GPIO2 data output value
0: GPIO output LO
hk T
1: GPIO output HI
1 GPIO1 GPIO1_OUT GPIO1 data output value
m. EN
0: GPIO output LO
1: GPIO output HI
0 GPIO0 GPIO0_OUT GPIO0 data output value
0: GPIO output LO
1: GPIO output HI
.co ID
GPIO_DOUT0_S
sac NF
A0020304 GPIO Output Data Control 00000000
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
O
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
u@ C
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.Li K
0: Keep
1: SET bits
28 GPIO28 GPIO28_OUT Bitwise SET operation of GPIO28 data output value
0: Keep
FO M
1: SET bits
27 GPIO27 GPIO27_OUT Bitwise SET operation of GPIO27 data output value
0: Keep
1: SET bits
26 GPIO26 GPIO26_OUT Bitwise SET operation of GPIO26 data output value
0: Keep
1: SET bits
25 GPIO25 GPIO25_OUT Bitwise SET operation of GPIO25 data output value
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
24 GPIO24 GPIO24_OUT Bitwise SET operation of GPIO24 data output value
0: Keep
EO
1: SET bits
23 GPIO23 GPIO23_OUT Bitwise SET operation of GPIO23 data output value
0: Keep
1: SET bits
hk T
22 GPIO22 GPIO22_OUT Bitwise SET operation of GPIO22 data output value
0: Keep
m. EN
1: SET bits
21 GPIO21 GPIO21_OUT Bitwise SET operation of GPIO21 data output value
0: Keep
1: SET bits
20 GPIO20 GPIO20_OUT Bitwise SET operation of GPIO20 data output value
19 GPIO19
.co ID GPIO19_OUT
0:
1: SET bits
Bitwise SET operation of GPIO19 data output value
Keep
sac NF
0: Keep
1: SET bits
18 GPIO18 GPIO18_OUT Bitwise SET operation of GPIO18 data output value
0: Keep
1: SET bits
O
0: Keep
1: SET bits
12 GPIO12 GPIO12_OUT Bitwise SET operation of GPIO12 data output value
0: Keep
R ED
1: SET bits
11 GPIO11 GPIO11_OUT Bitwise SET operation of GPIO11 data output value
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
7 GPIO7 GPIO7_OUT Bitwise SET operation of GPIO7 data output value
US IAL
0: Keep
1: SET bits
EO
6 GPIO6 GPIO6_OUT Bitwise SET operation of GPIO6 data output value
0: Keep
1: SET bits
5 GPIO5 GPIO5_OUT Bitwise SET operation of GPIO5 data output value
hk T
0: Keep
1: SET bits
m. EN
4 GPIO4 GPIO4_OUT Bitwise SET operation of GPIO4 data output value
0: Keep
1: SET bits
3 GPIO3 GPIO3_OUT Bitwise SET operation of GPIO3 data output value
0: Keep
0: Keep
1: SET bits
u@ C
GPIO_DOUT0_C
.Li K
GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
Ar IA
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R ED
0: Keep
1: CLR bits
30 GPIO30 GPIO30_OUT Bitwise CLR operation of GPIO30 data output value
0: Keep
1: CLR bits
29 GPIO29 GPIO29_OUT Bitwise CLR operation of GPIO29 data output value
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
28 GPIO28 GPIO28_OUT Bitwise CLR operation of GPIO28 data output value
US IAL
0: Keep
1: CLR bits
EO
27 GPIO27 GPIO27_OUT Bitwise CLR operation of GPIO27 data output value
0: Keep
1: CLR bits
26 GPIO26 GPIO26_OUT Bitwise CLR operation of GPIO26 data output value
hk T
0: Keep
1: CLR bits
m. EN
25 GPIO25 GPIO25_OUT Bitwise CLR operation of GPIO25 data output value
0: Keep
1: CLR bits
24 GPIO24 GPIO24_OUT Bitwise CLR operation of GPIO24 data output value
0: Keep
23 GPIO23.co ID GPIO23_OUT
1: CLR bits
Bitwise CLR operation of GPIO23 data output value
0:
1: CLR bits
Keep
sac NF
22 GPIO22 GPIO22_OUT Bitwise CLR operation of GPIO22 data output value
0: Keep
1: CLR bits
21 GPIO21 GPIO21_OUT Bitwise CLR operation of GPIO21 data output value
O
0: Keep
1: CLR bits
20 GPIO20 GPIO20_OUT Bitwise CLR operation of GPIO20 data output value
u@ C
0: Keep
1: CLR bits
19 GPIO19 GPIO19_OUT Bitwise CLR operation of GPIO19 data output value
.Li K
0: Keep
1: CLR bits
no TE
1: CLR bits
16 GPIO16 GPIO16_OUT Bitwise CLR operation of GPIO16 data output value
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
13 GPIO13 GPIO13_OUT Bitwise CLR operation of GPIO13 data output value
0: Keep
1: CLR bits
12 GPIO12 GPIO12_OUT Bitwise CLR operation of GPIO12 data output value
0: Keep
1: CLR bits
11 GPIO11 GPIO11_OUT Bitwise CLR operation of GPIO11 data output value
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: CLR bits
10 GPIO10 GPIO10_OUT Bitwise CLR operation of GPIO10 data output value
EO
0: Keep
1: CLR bits
9 GPIO9 GPIO9_OUT Bitwise CLR operation of GPIO9 data output value
0: Keep
hk T
1: CLR bits
8 GPIO8 GPIO8_OUT Bitwise CLR operation of GPIO8 data output value
m. EN
0: Keep
1: CLR bits
7 GPIO7 GPIO7_OUT Bitwise CLR operation of GPIO7 data output value
0: Keep
1: CLR bits
6
5
GPIO6
GPIO5
.co ID GPIO6_OUT
GPIO5_OUT
Bitwise CLR operation of GPIO6 data output value
0:
1: CLR bits
Bitwise CLR operation of GPIO5 data output value
Keep
sac NF
0: Keep
1: CLR bits
4 GPIO4 GPIO4_OUT Bitwise CLR operation of GPIO4 data output value
0: Keep
O
1: CLR bits
3 GPIO3 GPIO3_OUT Bitwise CLR operation of GPIO3 data output value
0: Keep
u@ C
1: CLR bits
2 GPIO2 GPIO2_OUT Bitwise CLR operation of GPIO2 data output value
0: Keep
.Li K
1: CLR bits
1 GPIO1 GPIO1_OUT Bitwise CLR operation of GPIO1 data output value
0: Keep
no TE
1: CLR bits
0 GPIO0 GPIO0_OUT Bitwise CLR operation of GPIO0 data output value
0: Keep
1: CLR bits
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO5 GPIO5 GPIO4 GPIO4
Name
5 4 1 0 9 8
Type RW RW RW RW RW RW
Reset 0 0 0 0 0 0
FO M
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
23 GPIO55 GPIO55_OUT GPIO55 data output value
US IAL
0: GPIO output LO
1: GPIO output HI
EO
22 GPIO54 GPIO54_OUT GPIO54 data output value
0: GPIO output LO
1: GPIO output HI
19 GPIO51 GPIO51_OUT GPIO51 data output value
hk T
0: GPIO output LO
1: GPIO output HI
m. EN
18 GPIO50 GPIO50_OUT GPIO50 data output value
0: GPIO output LO
1: GPIO output HI
17 GPIO49 GPIO49_OUT GPIO49 data output value
0: GPIO output LO
16 GPIO48.co ID GPIO48_OUT
1: GPIO output HI
GPIO48 data output value
0:
1: GPIO output HI
GPIO output LO
sac NF
15 GPIO47 GPIO47_OUT GPIO47 data output value
0: GPIO output LO
1: GPIO output HI
14 GPIO46 GPIO46_OUT GPIO46 data output value
O
0: GPIO output LO
1: GPIO output HI
13 GPIO45 GPIO45_OUT GPIO45 data output value
u@ C
0: GPIO output LO
1: GPIO output HI
12 GPIO44 GPIO44_OUT GPIO44 data output value
.Li K
0: GPIO output LO
1: GPIO output HI
no TE
1: GPIO output HI
9 GPIO41 GPIO41_OUT GPIO41 data output value
0: GPIO output LO
1: GPIO output HI
R ED
0: GPIO output LO
1: GPIO output HI
6 GPIO38 GPIO38_OUT GPIO38 data output value
0: GPIO output LO
1: GPIO output HI
5 GPIO37 GPIO37_OUT GPIO37 data output value
0: GPIO output LO
1: GPIO output HI
4 GPIO36 GPIO36_OUT GPIO36 data output value
Y
NL
Bit(s) Mnemonic Name Description
0: GPIO output LO
US IAL
1: GPIO output HI
3 GPIO35 GPIO35_OUT GPIO35 data output value
EO
0: GPIO output LO
1: GPIO output HI
2 GPIO34 GPIO34_OUT GPIO34 data output value
0: GPIO output LO
hk T
1: GPIO output HI
1 GPIO33 GPIO33_OUT GPIO33 data output value
m. EN
0: GPIO output LO
1: GPIO output HI
0 GPIO32 GPIO32_OUT GPIO32 data output value
0: GPIO output LO
1: GPIO output HI
.co ID
GPIO_DOUT1_S
sac NF
A0020314 GPIO Output Data Control 00000000
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO5 GPIO5 GPIO4 GPIO4
Name
5 4 1 0 9 8
Type WO WO WO WO WO WO
O
Reset 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
u@ C
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.Li K
0: Keep
1: SET bits
18 GPIO50 GPIO50_OUT Bitwise SET operation of GPIO50 data output value
0: Keep
FO M
1: SET bits
17 GPIO49 GPIO49_OUT Bitwise SET operation of GPIO49 data output value
0: Keep
1: SET bits
16 GPIO48 GPIO48_OUT Bitwise SET operation of GPIO48 data output value
0: Keep
1: SET bits
15 GPIO47 GPIO47_OUT Bitwise SET operation of GPIO47 data output value
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
14 GPIO46 GPIO46_OUT Bitwise SET operation of GPIO46 data output value
0: Keep
EO
1: SET bits
13 GPIO45 GPIO45_OUT Bitwise SET operation of GPIO45 data output value
0: Keep
1: SET bits
hk T
12 GPIO44 GPIO44_OUT Bitwise SET operation of GPIO44 data output value
0: Keep
m. EN
1: SET bits
11 GPIO43 GPIO43_OUT Bitwise SET operation of GPIO43 data output value
0: Keep
1: SET bits
10 GPIO42 GPIO42_OUT Bitwise SET operation of GPIO42 data output value
9 GPIO41
.co ID GPIO41_OUT
0:
1: SET bits
Bitwise SET operation of GPIO41 data output value
Keep
sac NF
0: Keep
1: SET bits
8 GPIO40 GPIO40_OUT Bitwise SET operation of GPIO40 data output value
0: Keep
1: SET bits
O
0: Keep
1: SET bits
2 GPIO34 GPIO34_OUT Bitwise SET operation of GPIO34 data output value
0: Keep
R ED
1: SET bits
1 GPIO33 GPIO33_OUT Bitwise SET operation of GPIO33 data output value
0: Keep
1: SET bits
FO M
GPIO_DOUT1_C
A0020318 GPIO Output Data Control 00000000
LR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Y
NL
GPIO5 GPIO5 GPIO5 GPIO5 GPIO4 GPIO4
Name
5 4 1 0 9 8
Type WO WO WO WO WO WO
US IAL
Reset 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EO
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Overview: For bitwise access of GPIO_DIR1
m. EN
Bit(s) Mnemonic Name Description
23 GPIO55 GPIO55_OUT Bitwise CLR operation of GPIO55 data output value
0: Keep
1: CLR bits
22
19
GPIO54
GPIO51
.co ID GPIO54_OUT
GPIO51_OUT
Bitwise CLR operation of GPIO54 data output value
0:
1: CLR bits
Bitwise CLR operation of GPIO51 data output value
Keep
sac NF
0: Keep
1: CLR bits
18 GPIO50 GPIO50_OUT Bitwise CLR operation of GPIO50 data output value
0: Keep
O
1: CLR bits
17 GPIO49 GPIO49_OUT Bitwise CLR operation of GPIO49 data output value
0: Keep
u@ C
1: CLR bits
16 GPIO48 GPIO48_OUT Bitwise CLR operation of GPIO48 data output value
0: Keep
.Li K
1: CLR bits
15 GPIO47 GPIO47_OUT Bitwise CLR operation of GPIO47 data output value
0: Keep
no TE
1: CLR bits
14 GPIO46 GPIO46_OUT Bitwise CLR operation of GPIO46 data output value
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
11 GPIO43 GPIO43_OUT Bitwise CLR operation of GPIO43 data output value
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
7 GPIO39 GPIO39_OUT Bitwise CLR operation of GPIO39 data output value
0: Keep
EO
1: CLR bits
6 GPIO38 GPIO38_OUT Bitwise CLR operation of GPIO38 data output value
0: Keep
1: CLR bits
hk T
5 GPIO37 GPIO37_OUT Bitwise CLR operation of GPIO37 data output value
0: Keep
m. EN
1: CLR bits
4 GPIO36 GPIO36_OUT Bitwise CLR operation of GPIO36 data output value
0: Keep
1: CLR bits
3 GPIO35 GPIO35_OUT Bitwise CLR operation of GPIO35 data output value
2 GPIO34
.co ID GPIO34_OUT
0:
1: CLR bits
Bitwise CLR operation of GPIO34 data output value
Keep
sac NF
0: Keep
1: CLR bits
1 GPIO33 GPIO33_OUT Bitwise CLR operation of GPIO33 data output value
0: Keep
1: CLR bits
O
GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
Ar IA
5 4 3 2 1 0
Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R ED
Y
NL
Bit(s) Mnemonic Name Description
23 GPIO23 GPIO23_DIN GPIO23 data input value
US IAL
22 GPIO22 GPIO22_DIN GPIO22 data input value
21 GPIO21 GPIO21_DIN GPIO21 data input value
EO
20 GPIO20 GPIO20_DIN GPIO20 data input value
19 GPIO19 GPIO19_DIN GPIO19 data input value
18 GPIO18 GPIO18_DIN GPIO18 data input value
hk T
17 GPIO17 GPIO17_DIN GPIO17 data input value
16 GPIO16 GPIO16_DIN GPIO16 data input value
m. EN
15 GPIO15 GPIO15_DIN GPIO15 data input value
14 GPIO14 GPIO14_DIN GPIO14 data input value
13 GPIO13 GPIO13_DIN GPIO13 data input value
12 GPIO12 GPIO12_DIN GPIO12 data input value
11
10
9
GPIO11
GPIO10
GPIO9
.co ID GPIO11_DIN
GPIO10_DIN
GPIO9_DIN
GPIO11 data input value
GPIO10 data input value
GPIO9 data input value
sac NF
8 GPIO8 GPIO8_DIN GPIO8 data input value
7 GPIO7 GPIO7_DIN GPIO7 data input value
6 GPIO6 GPIO6_DIN GPIO6 data input value
5 GPIO5 GPIO5_DIN GPIO5 data input value
O
Type RO RO RO RO RO RO RO RO
Reset 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
R ED
Type RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
17 GPIO49 GPIO49_DIN GPIO49 data input value
US IAL
16 GPIO48 GPIO48_DIN GPIO48 data input value
15 GPIO47 GPIO47_DIN GPIO47 data input value
EO
14 GPIO46 GPIO46_DIN GPIO46 data input value
13 GPIO45 GPIO45_DIN GPIO45 data input value
12 GPIO44 GPIO44_DIN GPIO44 data input value
hk T
11 GPIO43 GPIO43_DIN GPIO43 data input value
10 GPIO42 GPIO42_DIN GPIO42 data input value
m. EN
9 GPIO41 GPIO41_DIN GPIO41 data input value
8 GPIO40 GPIO40_DIN GPIO40 data input value
7 GPIO39 GPIO39_DIN GPIO39 data input value
6 GPIO38 GPIO38_DIN GPIO38 data input value
5
4
3
GPIO37
GPIO36
GPIO35
.co ID GPIO37_DIN
GPIO36_DIN
GPIO35_DIN
GPIO37 data input value
GPIO36 data input value
GPIO35 data input value
sac NF
2 GPIO34 GPIO34_DIN GPIO34 data input value
1 GPIO33 GPIO33_DIN GPIO33 data input value
0 GPIO32 GPIO32_DIN GPIO32 data input value
O
GPIO_PULLSEL
u@ C
0 5 4 3 2
Type RW RW RW RW RW
Reset 0 0 0 0 0
no TE
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0
Ar IA
0: Pull down
1: Pull up
24 GPIO24 GPIO24_PULLSEL GPIO24 PULLSEL
0: Pull down
1: Pull up
23 GPIO23 GPIO23_PULLSEL GPIO23 PULLSEL
0: Pull down
1: Pull up
Y
NL
Bit(s) Mnemonic Name Description
22 GPIO22 GPIO22_PULLSEL GPIO22 PULLSEL
US IAL
0: Pull down
1: Pull up
EO
11 GPIO11 GPIO11_PULLSEL GPIO11 PULLSEL
0: Pull down
1: Pull up
9 GPIO9 GPIO9_PULLSEL GPIO9 PULLSEL
hk T
0: Pull down
1: Pull up
m. EN
8 GPIO8 GPIO8_PULLSEL GPIO8 PULLSEL
0: Pull down
1: Pull up
7 GPIO7 GPIO7_PULLSEL GPIO7 PULLSEL
0: Pull down
0: Pull down
1: Pull up
3 GPIO3 GPIO3_PULLSEL GPIO3 PULLSEL
u@ C
0: Pull down
1: Pull up
2 GPIO2 GPIO2_PULLSEL GPIO2 PULLSEL
.Li K
0: Pull down
1: Pull up
no TE
1: Pull up
R ED
GPIO_PULLSEL
A0020504 GPIO Pullsel Control 00000000
0_SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2
Name 0 5 4 3 2
FO M
Type WO WO WO WO WO
Reset 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
US IAL
30 GPIO30 GPIO30_PULLSEL Bitwise SET operation of GPIO30 PULLSEL_SET
0: Keep
EO
1: SET bits
25 GPIO25 GPIO25_PULLSEL Bitwise SET operation of GPIO25 PULLSEL_SET
0: Keep
1: SET bits
hk T
24 GPIO24 GPIO24_PULLSEL Bitwise SET operation of GPIO24 PULLSEL_SET
0: Keep
m. EN
1: SET bits
23 GPIO23 GPIO23_PULLSEL Bitwise SET operation of GPIO23 PULLSEL_SET
0: Keep
1: SET bits
22 GPIO22 GPIO22_PULLSEL Bitwise SET operation of GPIO22 PULLSEL_SET
11 GPIO11
.co ID GPIO11_PULLSEL
0:
1: SET bits
Bitwise SET operation of GPIO11 PULLSEL_SET
Keep
sac NF
0: Keep
1: SET bits
9 GPIO9 GPIO9_PULLSEL Bitwise SET operation of GPIO9 PULLSEL_SET
0: Keep
1: SET bits
O
1: SET bits
5 GPIO5 GPIO5_PULLSEL Bitwise SET operation of GPIO5 PULLSEL_SET
0: Keep
1: SET bits
4 GPIO4 GPIO4_PULLSEL Bitwise SET operation of GPIO4 PULLSEL_SET
Ar IA
0: Keep
1: SET bits
3 GPIO3 GPIO3_PULLSEL Bitwise SET operation of GPIO3 PULLSEL_SET
R ED
0: Keep
1: SET bits
2 GPIO2 GPIO2_PULLSEL Bitwise SET operation of GPIO2 PULLSEL_SET
0: Keep
1: SET bits
FO M
Y
NL
GPIO_PULLSEL
A0020508 GPIO Pullsel Control 00000000
0_CLR
US IAL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2
EO
Name 0 5 4 3 2
Type WO WO WO WO WO
Reset 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
hk T
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset
m. EN
0 0 0 0 0 0 0 0 0 0 0
30 GPIO30
.co ID
Bit(s) Mnemonic Name
GPIO30_PULLSEL
Description
Bitwise CKR operation of GPIO30 PULLSEL_CLR
0:
1: CLR bits
Keep
sac NF
25 GPIO25 GPIO25_PULLSEL Bitwise CKR operation of GPIO25 PULLSEL_CLR
0: Keep
1: CLR bits
24 GPIO24 GPIO24_PULLSEL Bitwise CKR operation of GPIO24 PULLSEL_CLR
O
0: Keep
1: CLR bits
23 GPIO23 GPIO23_PULLSEL Bitwise CKR operation of GPIO23 PULLSEL_CLR
u@ C
0: Keep
1: CLR bits
22 GPIO22 GPIO22_PULLSEL Bitwise CKR operation of GPIO22 PULLSEL_CLR
.Li K
0: Keep
1: CLR bits
11 GPIO11 GPIO11_PULLSEL Bitwise CKR operation of GPIO11 PULLSEL_CLR
no TE
0: Keep
1: CLR bits
9 GPIO9 GPIO9_PULLSEL Bitwise CKR operation of GPIO9 PULLSEL_CLR
0: Keep
1: CLR bits
Ar IA
1: CLR bits
5 GPIO5 GPIO5_PULLSEL Bitwise CKR operation of GPIO5 PULLSEL_CLR
0: Keep
1: CLR bits
4 GPIO4 GPIO4_PULLSEL Bitwise CKR operation of GPIO4 PULLSEL_CLR
0: Keep
1: CLR bits
3 GPIO3 GPIO3_PULLSEL Bitwise CKR operation of GPIO3 PULLSEL_CLR
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: CLR bits
2 GPIO2 GPIO2_PULLSEL Bitwise CKR operation of GPIO2 PULLSEL_CLR
EO
0: Keep
1: CLR bits
1 GPIO1 GPIO1_PULLSEL Bitwise CKR operation of GPIO1 PULLSEL_CLR
0: Keep
hk T
1: CLR bits
0 GPIO0 GPIO0_PULLSEL Bitwise CKR operation of GPIO0 PULLSEL_CLR
m. EN
0: Keep
1: CLR bits
A0020510
Bit 31
.co ID
GPIO_PULLSEL
1
30
GPIO Pullsel Control
29 28 27 26 25 24 23 22 21
GPIO5 GPIO5 GPIO5 GPIO5
20 19 18
00000000
17 16
sac NF
Name
5 4 3 2
Type RW RW RW RW
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4
Name
O
4 3
Type RW RW
Reset 0 0
u@ C
0: Pull down
1: Pull up
22 GPIO54 GPIO54_PULLSEL GPIO54 PULLSEL
0: Pull down
1: Pull up
Ar IA
0: Pull down
1: Pull up
12 GPIO44 GPIO44_PULLSEL GPIO44 PULLSEL
0: Pull down
FO M
1: Pull up
11 GPIO43 GPIO43_PULLSEL GPIO43 PULLSEL
0: Pull down
1: Pull up
Y
NL
1_SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
US IAL
GPIO5 GPIO5 GPIO5 GPIO5
Name 5 4 3 2
Type WO WO WO WO
EO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4
Name
4 3
Type WO WO
hk T
Reset 0 0
m. EN
Overview: For bitwise access of GPIO_PULLSEL1
22 GPIO54
.co ID GPIO54_PULLSEL
0:
1: SET bits
Bitwise SET operation of GPIO54 PULLSEL_SET
Keep
sac NF
0: Keep
1: SET bits
21 GPIO53 GPIO53_PULLSEL Bitwise SET operation of GPIO53 PULLSEL_SET
0: Keep
1: SET bits
O
GPIO_PULLSEL
A0020518 GPIO Pullsel Control 00000000
Ar IA
1_CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO5 GPIO5
Name
5 4 3 2
R ED
Type WO WO WO WO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4
Name 4 3
Type WO WO
FO M
Reset 0 0
Y
NL
Bit(s) Mnemonic Name Description
22 GPIO54 GPIO54_PULLSEL Bitwise CKR operation of GPIO54 PULLSEL_CLR
US IAL
0: Keep
1: CLR bits
EO
21 GPIO53 GPIO53_PULLSEL Bitwise CKR operation of GPIO53 PULLSEL_CLR
0: Keep
1: CLR bits
20 GPIO52 GPIO52_PULLSEL Bitwise CKR operation of GPIO52 PULLSEL_CLR
hk T
0: Keep
1: CLR bits
m. EN
12 GPIO44 GPIO44_PULLSEL Bitwise CKR operation of GPIO44 PULLSEL_CLR
0: Keep
1: CLR bits
11 GPIO43 GPIO43_PULLSEL Bitwise CKR operation of GPIO43 PULLSEL_CLR
0: Keep
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
u@ C
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.Li K
1: Enable
27 GPIO27 GPIO27_SMT SMT for GPIO27
0: Disable
1: Enable
26 GPIO26 GPIO26_SMT SMT for GPIO26
0: Disable
1: Enable
25 GPIO25 GPIO25_SMT SMT for GPIO25
0: Disable
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
24 GPIO24 GPIO24_SMT SMT for GPIO24
0: Disable
EO
1: Enable
23 GPIO23 GPIO23_SMT SMT for GPIO23
0: Disable
1: Enable
hk T
22 GPIO22 GPIO22_SMT SMT for GPIO22
0: Disable
m. EN
1: Enable
21 GPIO21 GPIO21_SMT SMT for GPIO21
0: Disable
1: Enable
20 GPIO20 GPIO20_SMT SMT for GPIO20
19 GPIO19
.co ID GPIO19_SMT
0:
1: Enable
SMT for GPIO19
Disable
sac NF
0: Disable
1: Enable
18 GPIO18 GPIO18_SMT SMT for GPIO18
0: Disable
1: Enable
O
0: Disable
1: Enable
12 GPIO12 GPIO12_SMT SMT for GPIO12
0: Disable
R ED
1: Enable
11 GPIO11 GPIO11_SMT SMT for GPIO11
0: Disable
1: Enable
FO M
Y
NL
Bit(s) Mnemonic Name Description
7 GPIO7 GPIO7_SMT SMT for GPIO7
US IAL
0: Disable
1: Enable
EO
6 GPIO6 GPIO6_SMT SMT for GPIO6
0: Disable
1: Enable
5 GPIO5 GPIO5_SMT SMT for GPIO5
hk T
0: Disable
1: Enable
m. EN
4 GPIO4 GPIO4_SMT SMT for GPIO4
0: Disable
1: Enable
3 GPIO3 GPIO3_SMT SMT for GPIO3
0: Disable
0: Disable
1: Enable
u@ C
GPIO_SMT0_SE
.Li K
GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
Ar IA
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R ED
0: Keep
1: SET bits
30 GPIO30 GPIO30_SMT Bitwise SET operation of GPIO30 SMT
0: Keep
1: SET bits
29 GPIO29 GPIO29_SMT Bitwise SET operation of GPIO29 SMT
0: Keep
1: SET bits
Y
NL
Bit(s) Mnemonic Name Description
28 GPIO28 GPIO28_SMT Bitwise SET operation of GPIO28 SMT
US IAL
0: Keep
1: SET bits
EO
27 GPIO27 GPIO27_SMT Bitwise SET operation of GPIO27 SMT
0: Keep
1: SET bits
26 GPIO26 GPIO26_SMT Bitwise SET operation of GPIO26 SMT
hk T
0: Keep
1: SET bits
m. EN
25 GPIO25 GPIO25_SMT Bitwise SET operation of GPIO25 SMT
0: Keep
1: SET bits
24 GPIO24 GPIO24_SMT Bitwise SET operation of GPIO24 SMT
0: Keep
23 GPIO23.co ID GPIO23_SMT
1: SET bits
Bitwise SET operation of GPIO23 SMT
0:
1: SET bits
Keep
sac NF
22 GPIO22 GPIO22_SMT Bitwise SET operation of GPIO22 SMT
0: Keep
1: SET bits
21 GPIO21 GPIO21_SMT Bitwise SET operation of GPIO21 SMT
O
0: Keep
1: SET bits
20 GPIO20 GPIO20_SMT Bitwise SET operation of GPIO20 SMT
u@ C
0: Keep
1: SET bits
19 GPIO19 GPIO19_SMT Bitwise SET operation of GPIO19 SMT
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
16 GPIO16 GPIO16_SMT Bitwise SET operation of GPIO16 SMT
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
13 GPIO13 GPIO13_SMT Bitwise SET operation of GPIO13 SMT
0: Keep
1: SET bits
12 GPIO12 GPIO12_SMT Bitwise SET operation of GPIO12 SMT
0: Keep
1: SET bits
11 GPIO11 GPIO11_SMT Bitwise SET operation of GPIO11 SMT
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
10 GPIO10 GPIO10_SMT Bitwise SET operation of GPIO10 SMT
EO
0: Keep
1: SET bits
9 GPIO9 GPIO9_SMT Bitwise SET operation of GPIO9 SMT
0: Keep
hk T
1: SET bits
8 GPIO8 GPIO8_SMT Bitwise SET operation of GPIO8 SMT
m. EN
0: Keep
1: SET bits
7 GPIO7 GPIO7_SMT Bitwise SET operation of GPIO7 SMT
0: Keep
1: SET bits
6
5
GPIO6
GPIO5
.co ID GPIO6_SMT
GPIO5_SMT
Bitwise SET operation of GPIO6 SMT
0:
1: SET bits
Bitwise SET operation of GPIO5 SMT
Keep
sac NF
0: Keep
1: SET bits
4 GPIO4 GPIO4_SMT Bitwise SET operation of GPIO4 SMT
0: Keep
O
1: SET bits
3 GPIO3 GPIO3_SMT Bitwise SET operation of GPIO3 SMT
0: Keep
u@ C
1: SET bits
2 GPIO2 GPIO2_SMT Bitwise SET operation of GPIO2 SMT
0: Keep
.Li K
1: SET bits
1 GPIO1 GPIO1_SMT Bitwise SET operation of GPIO1 SMT
0: Keep
no TE
1: SET bits
0 GPIO0 GPIO0_SMT Bitwise SET operation of GPIO0 SMT
0: Keep
1: SET bits
Ar IA
GPIO_SMT0_CL
R ED
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
31 GPIO31 GPIO31_SMT Bitwise CLR operation of GPIO31 SMT
US IAL
0: Keep
1: CLR bits
EO
30 GPIO30 GPIO30_SMT Bitwise CLR operation of GPIO30 SMT
0: Keep
1: CLR bits
29 GPIO29 GPIO29_SMT Bitwise CLR operation of GPIO29 SMT
hk T
0: Keep
1: CLR bits
m. EN
28 GPIO28 GPIO28_SMT Bitwise CLR operation of GPIO28 SMT
0: Keep
1: CLR bits
27 GPIO27 GPIO27_SMT Bitwise CLR operation of GPIO27 SMT
0: Keep
26 GPIO26.co ID GPIO26_SMT
1: CLR bits
Bitwise CLR operation of GPIO26 SMT
0:
1: CLR bits
Keep
sac NF
25 GPIO25 GPIO25_SMT Bitwise CLR operation of GPIO25 SMT
0: Keep
1: CLR bits
24 GPIO24 GPIO24_SMT Bitwise CLR operation of GPIO24 SMT
O
0: Keep
1: CLR bits
23 GPIO23 GPIO23_SMT Bitwise CLR operation of GPIO23 SMT
u@ C
0: Keep
1: CLR bits
22 GPIO22 GPIO22_SMT Bitwise CLR operation of GPIO22 SMT
.Li K
0: Keep
1: CLR bits
no TE
1: CLR bits
19 GPIO19 GPIO19_SMT Bitwise CLR operation of GPIO19 SMT
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
16 GPIO16 GPIO16_SMT Bitwise CLR operation of GPIO16 SMT
0: Keep
1: CLR bits
15 GPIO15 GPIO15_SMT Bitwise CLR operation of GPIO15 SMT
0: Keep
1: CLR bits
14 GPIO14 GPIO14_SMT Bitwise CLR operation of GPIO14 SMT
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: CLR bits
13 GPIO13 GPIO13_SMT Bitwise CLR operation of GPIO13 SMT
EO
0: Keep
1: CLR bits
12 GPIO12 GPIO12_SMT Bitwise CLR operation of GPIO12 SMT
0: Keep
hk T
1: CLR bits
11 GPIO11 GPIO11_SMT Bitwise CLR operation of GPIO11 SMT
m. EN
0: Keep
1: CLR bits
10 GPIO10 GPIO10_SMT Bitwise CLR operation of GPIO10 SMT
0: Keep
1: CLR bits
9
8
GPIO9
GPIO8
.co ID GPIO9_SMT
GPIO8_SMT
Bitwise CLR operation of GPIO9 SMT
0:
1: CLR bits
Bitwise CLR operation of GPIO8 SMT
Keep
sac NF
0: Keep
1: CLR bits
7 GPIO7 GPIO7_SMT Bitwise CLR operation of GPIO7 SMT
0: Keep
O
1: CLR bits
6 GPIO6 GPIO6_SMT Bitwise CLR operation of GPIO6 SMT
0: Keep
u@ C
1: CLR bits
5 GPIO5 GPIO5_SMT Bitwise CLR operation of GPIO5 SMT
0: Keep
.Li K
1: CLR bits
4 GPIO4 GPIO4_SMT Bitwise CLR operation of GPIO4 SMT
0: Keep
no TE
1: CLR bits
3 GPIO3 GPIO3_SMT Bitwise CLR operation of GPIO3 SMT
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
0 GPIO0 GPIO0_SMT Bitwise CLR operation of GPIO0 SMT
0: Keep
1: CLR bits
FO M
Y
NL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
US IAL
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
EO
Overview: Configures GPIO Schmit trigger control
hk T
Bit(s) Mnemonic Name Description
19 GPIO51 GPIO51_SMT SMT for GPIO51
m. EN
0: Disable
1: Enable
18 GPIO50 GPIO50_SMT SMT for GPIO50
0: Disable
1: Enable
17
16
GPIO49
GPIO48
.co ID GPIO49_SMT
GPIO48_SMT
SMT for GPIO49
0:
1: Enable
SMT for GPIO48
Disable
sac NF
0: Disable
1: Enable
15 GPIO47 GPIO47_SMT SMT for GPIO47
0: Disable
O
1: Enable
14 GPIO46 GPIO46_SMT SMT for GPIO46
0: Disable
u@ C
1: Enable
13 GPIO45 GPIO45_SMT SMT for GPIO45
0: Disable
.Li K
1: Enable
12 GPIO44 GPIO44_SMT SMT for GPIO44
0: Disable
no TE
1: Enable
11 GPIO43 GPIO43_SMT SMT for GPIO43
0: Disable
1: Enable
Ar IA
0: Disable
1: Enable
8 GPIO40 GPIO40_SMT SMT for GPIO40
0: Disable
1: Enable
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
4 GPIO36 GPIO36_SMT SMT for GPIO36
0: Disable
EO
1: Enable
3 GPIO35 GPIO35_SMT SMT for GPIO35
0: Disable
1: Enable
hk T
2 GPIO34 GPIO34_SMT SMT for GPIO34
0: Disable
m. EN
1: Enable
1 GPIO33 GPIO33_SMT SMT for GPIO33
0: Disable
1: Enable
0 GPIO32 GPIO32_SMT SMT for GPIO32
.co ID 0:
1: Enable
Disable
sac NF
GPIO_SMT1_SE
A0020614 GPIO SMT Control 00000000
T
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
.Li K
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
no TE
0: Keep
1: SET bits
18 GPIO50 GPIO50_SMT Bitwise SET operation of GPIO50 SMT
R ED
0: Keep
1: SET bits
17 GPIO49 GPIO49_SMT Bitwise SET operation of GPIO49 SMT
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
13 GPIO45 GPIO45_SMT Bitwise SET operation of GPIO45 SMT
US IAL
0: Keep
1: SET bits
EO
12 GPIO44 GPIO44_SMT Bitwise SET operation of GPIO44 SMT
0: Keep
1: SET bits
11 GPIO43 GPIO43_SMT Bitwise SET operation of GPIO43 SMT
hk T
0: Keep
1: SET bits
m. EN
10 GPIO42 GPIO42_SMT Bitwise SET operation of GPIO42 SMT
0: Keep
1: SET bits
9 GPIO41 GPIO41_SMT Bitwise SET operation of GPIO41 SMT
0: Keep
8 GPIO40.co ID GPIO40_SMT
1: SET bits
Bitwise SET operation of GPIO40 SMT
0:
1: SET bits
Keep
sac NF
7 GPIO39 GPIO39_SMT Bitwise SET operation of GPIO39 SMT
0: Keep
1: SET bits
6 GPIO38 GPIO38_SMT Bitwise SET operation of GPIO38 SMT
O
0: Keep
1: SET bits
5 GPIO37 GPIO37_SMT Bitwise SET operation of GPIO37 SMT
u@ C
0: Keep
1: SET bits
4 GPIO36 GPIO36_SMT Bitwise SET operation of GPIO36 SMT
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
1 GPIO33 GPIO33_SMT Bitwise SET operation of GPIO33 SMT
0: Keep
1: SET bits
R ED
GPIO_SMT1_CL
A0020618 GPIO SMT Control 00000000
R
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Y
NL
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
US IAL
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
EO
Overview: For bitwise access of GPIO_SMT1
hk T
19 GPIO51 GPIO51_SMT Bitwise CLR operation of GPIO51 SMT
0: Keep
m. EN
1: CLR bits
18 GPIO50 GPIO50_SMT Bitwise CLR operation of GPIO50 SMT
0: Keep
1: CLR bits
17 GPIO49 GPIO49_SMT Bitwise CLR operation of GPIO49 SMT
16 GPIO48
.co ID GPIO48_SMT
0:
1: CLR bits
Bitwise CLR operation of GPIO48 SMT
0:
Keep
Keep
sac NF
1: CLR bits
15 GPIO47 GPIO47_SMT Bitwise CLR operation of GPIO47 SMT
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
9 GPIO41 GPIO41_SMT Bitwise CLR operation of GPIO41 SMT
0: Keep
R ED
1: CLR bits
8 GPIO40 GPIO40_SMT Bitwise CLR operation of GPIO40 SMT
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
4 GPIO36 GPIO36_SMT Bitwise CLR operation of GPIO36 SMT
US IAL
0: Keep
1: CLR bits
EO
3 GPIO35 GPIO35_SMT Bitwise CLR operation of GPIO35 SMT
0: Keep
1: CLR bits
2 GPIO34 GPIO34_SMT Bitwise CLR operation of GPIO34 SMT
hk T
0: Keep
1: CLR bits
m. EN
1 GPIO33 GPIO33_SMT Bitwise CLR operation of GPIO33 SMT
0: Keep
1: CLR bits
0 GPIO32 GPIO32_SMT Bitwise CLR operation of GPIO32 SMT
0: Keep
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
u@ C
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
.Li K
1: Enable
27 GPIO27 GPIO27_SR SR for GPIO27
0: Disable
1: Enable
26 GPIO26 GPIO26_SR SR for GPIO26
0: Disable
1: Enable
25 GPIO25 GPIO25_SR SR for GPIO25
0: Disable
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
24 GPIO24 GPIO24_SR SR for GPIO24
0: Disable
EO
1: Enable
23 GPIO23 GPIO23_SR SR for GPIO23
0: Disable
1: Enable
hk T
22 GPIO22 GPIO22_SR SR for GPIO22
0: Disable
m. EN
1: Enable
21 GPIO21 GPIO21_SR SR for GPIO21
0: Disable
1: Enable
20 GPIO20 GPIO20_SR SR for GPIO20
19 GPIO19
.co ID GPIO19_SR
0:
1: Enable
SR for GPIO19
Disable
sac NF
0: Disable
1: Enable
18 GPIO18 GPIO18_SR SR for GPIO18
0: Disable
1: Enable
O
0: Disable
1: Enable
12 GPIO12 GPIO12_SR SR for GPIO12
0: Disable
R ED
1: Enable
11 GPIO11 GPIO11_SR SR for GPIO11
0: Disable
1: Enable
FO M
Y
NL
Bit(s) Mnemonic Name Description
7 GPIO7 GPIO7_SR SR for GPIO7
US IAL
0: Disable
1: Enable
EO
6 GPIO6 GPIO6_SR SR for GPIO6
0: Disable
1: Enable
5 GPIO5 GPIO5_SR SR for GPIO5
hk T
0: Disable
1: Enable
m. EN
4 GPIO4 GPIO4_SR SR for GPIO4
0: Disable
1: Enable
3 GPIO3 GPIO3_SR SR for GPIO3
0: Disable
0: Disable
1: Enable
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
no TE
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
5 4 3 2 1 0
Ar IA
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1: SET bits
30 GPIO30 GPIO30_SR Bitwise SET operation of GPIO30 SR
0: Keep
1: SET bits
29 GPIO29 GPIO29_SR Bitwise SET operation of GPIO29 SR
0: Keep
1: SET bits
28 GPIO28 GPIO28_SR Bitwise SET operation of GPIO28 SR
0: Keep
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
27 GPIO27 GPIO27_SR Bitwise SET operation of GPIO27 SR
0: Keep
EO
1: SET bits
26 GPIO26 GPIO26_SR Bitwise SET operation of GPIO26 SR
0: Keep
1: SET bits
hk T
25 GPIO25 GPIO25_SR Bitwise SET operation of GPIO25 SR
0: Keep
m. EN
1: SET bits
24 GPIO24 GPIO24_SR Bitwise SET operation of GPIO24 SR
0: Keep
1: SET bits
23 GPIO23 GPIO23_SR Bitwise SET operation of GPIO23 SR
22 GPIO22
.co ID GPIO22_SR
0:
1: SET bits
Bitwise SET operation of GPIO22 SR
Keep
sac NF
0: Keep
1: SET bits
21 GPIO21 GPIO21_SR Bitwise SET operation of GPIO21 SR
0: Keep
1: SET bits
O
0: Keep
1: SET bits
15 GPIO15 GPIO15_SR Bitwise SET operation of GPIO15 SR
0: Keep
R ED
1: SET bits
14 GPIO14 GPIO14_SR Bitwise SET operation of GPIO14 SR
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
10 GPIO10 GPIO10_SR Bitwise SET operation of GPIO10 SR
US IAL
0: Keep
1: SET bits
EO
9 GPIO9 GPIO9_SR Bitwise SET operation of GPIO9 SR
0: Keep
1: SET bits
8 GPIO8 GPIO8_SR Bitwise SET operation of GPIO8 SR
hk T
0: Keep
1: SET bits
m. EN
7 GPIO7 GPIO7_SR Bitwise SET operation of GPIO7 SR
0: Keep
1: SET bits
6 GPIO6 GPIO6_SR Bitwise SET operation of GPIO6 SR
0: Keep
0: Keep
1: SET bits
2 GPIO2 GPIO2_SR Bitwise SET operation of GPIO2 SR
u@ C
0: Keep
1: SET bits
1 GPIO1 GPIO1_SR Bitwise SET operation of GPIO1 SR
.Li K
0: Keep
1: SET bits
no TE
Name 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO1 GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
FO M
5 4 3 2 1 0
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
1: CLR bits
US IAL
30 GPIO30 GPIO30_SR Bitwise CLR operation of GPIO30 SR
0: Keep
EO
1: CLR bits
29 GPIO29 GPIO29_SR Bitwise CLR operation of GPIO29 SR
0: Keep
1: CLR bits
hk T
28 GPIO28 GPIO28_SR Bitwise CLR operation of GPIO28 SR
0: Keep
m. EN
1: CLR bits
27 GPIO27 GPIO27_SR Bitwise CLR operation of GPIO27 SR
0: Keep
1: CLR bits
26 GPIO26 GPIO26_SR Bitwise CLR operation of GPIO26 SR
25 GPIO25
.co ID GPIO25_SR
0:
1: CLR bits
Bitwise CLR operation of GPIO25 SR
Keep
sac NF
0: Keep
1: CLR bits
24 GPIO24 GPIO24_SR Bitwise CLR operation of GPIO24 SR
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
18 GPIO18 GPIO18_SR Bitwise CLR operation of GPIO18 SR
0: Keep
R ED
1: CLR bits
17 GPIO17 GPIO17_SR Bitwise CLR operation of GPIO17 SR
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
13 GPIO13 GPIO13_SR Bitwise CLR operation of GPIO13 SR
US IAL
0: Keep
1: CLR bits
EO
12 GPIO12 GPIO12_SR Bitwise CLR operation of GPIO12 SR
0: Keep
1: CLR bits
11 GPIO11 GPIO11_SR Bitwise CLR operation of GPIO11 SR
hk T
0: Keep
1: CLR bits
m. EN
10 GPIO10 GPIO10_SR Bitwise CLR operation of GPIO10 SR
0: Keep
1: CLR bits
9 GPIO9 GPIO9_SR Bitwise CLR operation of GPIO9 SR
0: Keep
0: Keep
1: CLR bits
5 GPIO5 GPIO5_SR Bitwise CLR operation of GPIO5 SR
u@ C
0: Keep
1: CLR bits
4 GPIO4 GPIO4_SR Bitwise CLR operation of GPIO4 SR
.Li K
0: Keep
1: CLR bits
no TE
1: CLR bits
1 GPIO1 GPIO1_SR Bitwise CLR operation of GPIO1 SR
0: Keep
1: CLR bits
R ED
Y
NL
7 6 5 4 3 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 1 1 1 1 1 1
US IAL
Overview: Configures GPIO slew rate control
EO
Bit(s) Mnemonic Name Description
19 GPIO51 GPIO51_SR SR for GPIO51
hk T
0: Disable
1: Enable
m. EN
18 GPIO50 GPIO50_SR SR for GPIO50
0: Disable
1: Enable
17 GPIO49 GPIO49_SR SR for GPIO49
0: Disable
16 GPIO48.co ID GPIO48_SR
1: Enable
SR for GPIO48
0:
1: Enable
Disable
sac NF
15 GPIO47 GPIO47_SR SR for GPIO47
0: Disable
1: Enable
14 GPIO46 GPIO46_SR SR for GPIO46
O
0: Disable
1: Enable
13 GPIO45 GPIO45_SR SR for GPIO45
u@ C
0: Disable
1: Enable
12 GPIO44 GPIO44_SR SR for GPIO44
.Li K
0: Disable
1: Enable
no TE
1: Enable
3 GPIO35 GPIO35_SR SR for GPIO35
0: Disable
1: Enable
R ED
0: Disable
1: Enable
0 GPIO32 GPIO32_SR SR for GPIO32
0: Disable
1: Enable
Y
NL
A0020714 GPIO_SR1_SET GPIO SR Control 00000000
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
US IAL
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
EO
Type WO WO WO WO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 4 3 6 5 4 3 2
hk T
Type WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0
m. EN
Overview: For bitwise access of GPIO_SR1
18
GPIO51
GPIO50
.co ID GPIO51_SR
GPIO50_SR
Bitwise SET operation of GPIO51 SR
0:
1: SET bits
Bitwise SET operation of GPIO50 SR
Keep
sac NF
0: Keep
1: SET bits
17 GPIO49 GPIO49_SR Bitwise SET operation of GPIO49 SR
0: Keep
1: SET bits
O
1: SET bits
15 GPIO47 GPIO47_SR Bitwise SET operation of GPIO47 SR
0: Keep
.Li K
1: SET bits
14 GPIO46 GPIO46_SR Bitwise SET operation of GPIO46 SR
0: Keep
no TE
1: SET bits
13 GPIO45 GPIO45_SR Bitwise SET operation of GPIO45 SR
0: Keep
1: SET bits
Ar IA
0: Keep
1: SET bits
4 GPIO36 GPIO36_SR Bitwise SET operation of GPIO36 SR
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
0 GPIO32 GPIO32_SR Bitwise SET operation of GPIO32 SR
0: Keep
EO
1: SET bits
hk T
A0020718 GPIO_SR1_CLR GPIO SR Control 00000000
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
m. EN
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Type
Reset
7
WO
0
6
.co ID
5
WO WO WO WO
0 0
4
0
3
0
6
WO WO
0
5
0
4 3
WO WO WO
0 0
2
0
sac NF
Overview: For bitwise access of GPIO_SR1
0: Keep
1: CLR bits
u@ C
0: Keep
1: CLR bits
no TE
1: CLR bits
14 GPIO46 GPIO46_SR Bitwise CLR operation of GPIO46 SR
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
11 GPIO43 GPIO43_SR Bitwise CLR operation of GPIO43 SR
0: Keep
1: CLR bits
4 GPIO36 GPIO36_SR Bitwise CLR operation of GPIO36 SR
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
3 GPIO35 GPIO35_SR Bitwise CLR operation of GPIO35 SR
US IAL
0: Keep
1: CLR bits
EO
2 GPIO34 GPIO34_SR Bitwise CLR operation of GPIO34 SR
0: Keep
1: CLR bits
1 GPIO33 GPIO33_SR Bitwise CLR operation of GPIO33 SR
hk T
0: Keep
1: CLR bits
m. EN
0 GPIO32 GPIO32_SR Bitwise CLR operation of GPIO32 SR
0: Keep
1: CLR bits
A0020720
Bit 31
.co ID
GPIO_SIM_SR
30 29 28
GPIO SIM SR Control
27 26 25 24 23 22 21 20 19 18
003F003F
17 16
sac NF
GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name 2 1 0 9 8 7
Type RW RW RW RW RW RW
Reset 1 1 1 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name
O
2 1 0 9 8 7
Type RW RW RW RW RW RW
Reset 1 1 1 1 1 1
u@ C
0: Disable
1: Enable
20 GPIO41 GPIO41_SR1 SR1 control for GPIO41
0: Disable
1: Enable
Ar IA
1: Enable
16 GPIO37 GPIO37_SR1 SR1 control for GPIO37
0: Disable
1: Enable
5 GPIO42 GPIO42_SR0 SR0 control for GPIO42
0: Disable
1: Enable
4 GPIO41 GPIO41_SR0 SR0 control for GPIO41
0: Disable
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
3 GPIO40 GPIO40_SR0 SR0 control for GPIO40
0: Disable
EO
1: Enable
2 GPIO39 GPIO39_SR0 SR0 control for GPIO39
0: Disable
1: Enable
hk T
1 GPIO38 GPIO38_SR0 SR0 control for GPIO38
0: Disable
m. EN
1: Enable
0 GPIO37 GPIO37_SR0 SR0 control for GPIO37
0: Disable
1: Enable
A0020724
.co ID
GPIO_SIM_SR_
SET
GPIO SIM SR Control 00000000
sac NF
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name 2 1 0 9 8 7
Type WO WO WO WO WO WO
Reset 0 0 0 0 0 0
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name
2 1 0 9 8 7
u@ C
Type WO WO WO WO WO WO
Reset 0 0 0 0 0 0
.Li K
0: Keep
1: SET bits
19 GPIO40 GPIO40_SR1 Bitwise SET operation of GPIO40 SR1 control
R ED
0: Keep
1: SET bits
18 GPIO39 GPIO39_SR1 Bitwise SET operation of GPIO39 SR1 control
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
4 GPIO41 GPIO41_SR0 Bitwise SET operation of GPIO41 SR0 control
US IAL
0: Keep
1: SET bits
EO
3 GPIO40 GPIO40_SR0 Bitwise SET operation of GPIO40 SR0 control
0: Keep
1: SET bits
2 GPIO39 GPIO39_SR0 Bitwise SET operation of GPIO39 SR0 control
hk T
0: Keep
1: SET bits
m. EN
1 GPIO38 GPIO38_SR0 Bitwise SET operation of GPIO38 SR0 control
0: Keep
1: SET bits
0 GPIO37 GPIO37_SR0 Bitwise SET operation of GPIO37 SR0 control
0: Keep
2 1 0 9 8 7
Type WO WO WO WO WO WO
Reset 0 0 0 0 0 0
u@ C
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name
2 1 0 9 8 7
Type WO WO WO WO WO WO
.Li K
Reset 0 0 0 0 0 0
1: CLR bits
20 GPIO41 GPIO41_SR1 Bitwise CLR operation of GPIO41 SR1 control
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
17 GPIO38 GPIO38_SR1 Bitwise CLR operation of GPIO38 SR1 control
0: Keep
1: CLR bits
16 GPIO37 GPIO37_SR1 Bitwise CLR operation of GPIO37 SR1 control
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
5 GPIO42 GPIO42_SR0 Bitwise CLR operation of GPIO42 SR0 control
US IAL
0: Keep
1: CLR bits
EO
4 GPIO41 GPIO41_SR0 Bitwise CLR operation of GPIO41 SR0 control
0: Keep
1: CLR bits
3 GPIO40 GPIO40_SR0 Bitwise CLR operation of GPIO40 SR0 control
hk T
0: Keep
1: CLR bits
m. EN
2 GPIO39 GPIO39_SR0 Bitwise CLR operation of GPIO39 SR0 control
0: Keep
1: CLR bits
1 GPIO38 GPIO38_SR0 Bitwise CLR operation of GPIO38 SR0 control
0: Keep
0 GPIO37.co ID GPIO37_SR0
1: CLR bits
Bitwise CLR operation of GPIO37 SR0 control
0:
1: CLR bits
Keep
sac NF
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name DRV0[31:16]
Type RW
u@ C
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DRV0[15:0]
Type RW
.Li K
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
no TE
Y
NL
GPIO_DRV0_SE
A0020804 GPIO DRV Control 00000000
T
US IAL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name DRV0[31:16]
EO
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DRV0[15:0]
Type WO
hk T
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
m. EN
Overview: For bitwise access of GPIO_DRV0
.co ID 0:
1: SET bits
Keep
sac NF
GPIO_DRV0_CL
A0020808 GPIO DRV Control 00000000
R
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O
Name DRV0[31:16]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
u@ C
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DRV0[15:0]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.Li K
1: CLR bits
R ED
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DRV1[15:0]
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
25:0 DRV1 GPIO_DRV1
US IAL
[1: 0]: KROW4
[3: 2]: KROW3
EO
[5: 4]: KROW2
[7: 6]: KROW1
[9: 8]: KROW0
[11: 10]: BPI_BUS2
[11: 10]: BPI_BUS1
hk T
[11: 10]: BPI_BUS0
[13: 12]: CMRST
[13: 12]: CMPDN
m. EN
[13: 12]: CMCSD0
[13: 12]: CMCSD1
[13: 12]: CMMCLK
[13: 12]: CMCSK
[15: 14]: MCCK
.co ID [15:
[15:
[15:
[15:
[15:
14]:
14]:
14]:
14]:
14]:
MCCM0
MCDA0
MCDA1
MCDA2
MCDA3
sac NF
[17: 16]: SIM1_SIO
[17: 16]: SIM1_SRST
[17: 16]: SIM1_SCLK
[19: 18]: SIM2_SIO
[19: 18]: SIM2_SRST
O
GPIO_DRV1_SE
A0020814 GPIO DRV Control 00000000
T
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name DRV1[25:16]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0
R ED
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DRV1[15:0]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FO M
Y
NL
GPIO_DRV1_CL
US IAL
A0020818 GPIO DRV Control 00000000
R
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name DRV1[25:16]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
hk T
Name DRV1[15:0]
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
m. EN
Overview: For bitwise access of GPIO_DRV1
Reset 1 1 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
.Li K
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 1 1 1 1 1 1 1
no TE
0: Disable
1: Enable
24 GPIO24 GPIO24_IES Input buffer for GPIO24
0: Disable
1: Enable
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
9 GPIO9 GPIO9_IES Input buffer for GPIO9
0: Disable
EO
1: Enable
8 GPIO8 GPIO8_IES Input buffer for GPIO8
0: Disable
1: Enable
hk T
7 GPIO7 GPIO7_IES Input buffer for GPIO7
0: Disable
m. EN
1: Enable
6 GPIO6 GPIO6_IES Input buffer for GPIO6
0: Disable
1: Enable
5 GPIO5 GPIO5_IES Input buffer for GPIO5
4 GPIO4
.co ID GPIO4_IES
0:
1: Enable
Input buffer for GPIO4
Disable
sac NF
0: Disable
1: Enable
3 GPIO3 GPIO3_IES Input buffer for GPIO3
0: Disable
1: Enable
O
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2
Name 0 5 4 3 2
Type WO WO WO WO WO
R ED
Reset 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
25 GPIO25 GPIO25_IES Bitwise SET operation of GPIO25 input buffer
US IAL
0: Keep
1: SET bits
EO
24 GPIO24 GPIO24_IES Bitwise SET operation of GPIO24 input buffer
0: Keep
1: SET bits
23 GPIO23 GPIO23_IES Bitwise SET operation of GPIO23 input buffer
hk T
0: Keep
1: SET bits
m. EN
22 GPIO22 GPIO22_IES Bitwise SET operation of GPIO22 input buffer
0: Keep
1: SET bits
11 GPIO11 GPIO11_IES Bitwise SET operation of GPIO11 input buffer
0: Keep
0: Keep
1: SET bits
6 GPIO6 GPIO6_IES Bitwise SET operation of GPIO6 input buffer
u@ C
0: Keep
1: SET bits
5 GPIO5 GPIO5_IES Bitwise SET operation of GPIO5 input buffer
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
2 GPIO2 GPIO2_IES Bitwise SET operation of GPIO2 input buffer
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
GPIO_IES0_CL
A0020908 GPIO IES Control 00000000
R
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO3 GPIO2 GPIO2 GPIO2 GPIO2
Y
NL
0 5 4 3 2
Type WO WO WO WO WO
Reset 0 0 0 0 0
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1
Name GPIO9 GPIO8 GPIO7 GPIO6 GPIO5 GPIO4 GPIO3 GPIO2 GPIO1 GPIO0
EO
1
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
hk T
m. EN
Bit(s) Mnemonic Name Description
30 GPIO30 GPIO30_IES Bitwise CLR operation of GPIO30 input buffer
0: Keep
1: CLR bits
25 GPIO25 GPIO25_IES Bitwise CLR operation of GPIO25 input buffer
24 GPIO24
.co ID GPIO24_IES
0:
1: CLR bits
Bitwise CLR operation of GPIO24 input buffer
Keep
sac NF
0: Keep
1: CLR bits
23 GPIO23 GPIO23_IES Bitwise CLR operation of GPIO23 input buffer
0: Keep
1: CLR bits
O
1: CLR bits
8 GPIO8 GPIO8_IES Bitwise CLR operation of GPIO8 input buffer
0: Keep
1: CLR bits
7 GPIO7 GPIO7_IES Bitwise CLR operation of GPIO7 input buffer
Ar IA
0: Keep
1: CLR bits
6 GPIO6 GPIO6_IES Bitwise CLR operation of GPIO6 input buffer
R ED
0: Keep
1: CLR bits
5 GPIO5 GPIO5_IES Bitwise CLR operation of GPIO5 input buffer
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
1 GPIO1 GPIO1_IES Bitwise CLR operation of GPIO1 input buffer
US IAL
0: Keep
1: CLR bits
EO
0 GPIO0 GPIO0_IES Bitwise CLR operation of GPIO0 input buffer
0: Keep
1: CLR bits
hk T
m. EN
A0020910 GPIO_IES1 GPIO IES Control 00001FE0
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit
Name
Type
Reset
15
.co ID
14 13
RW
1
12
RW
1
11
RW
1
1
RW
1
10
0
RW
1
9
9
RW
1
8
RW
1
8
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
4 3 2 7
RW
1
7 6 5 4 3 2 1 0
sac NF
Overview: Configures GPIO input enabling control
1: Enable
11 GPIO43 GPIO43_IES Input buffer for GPIO43
0: Disable
.Li K
1: Enable
10 GPIO42 GPIO42_IES Input buffer for GPIO42
0: Disable
no TE
1: Enable
9 GPIO41 GPIO41_IES Input buffer for GPIO41
0: Disable
1: Enable
Ar IA
0: Disable
1: Enable
6 GPIO38 GPIO38_IES Input buffer for GPIO38
0: Disable
1: Enable
FO M
Y
NL
Name
Type
Reset
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3
Name
EO
4 3 2 1 0 9 8 7
Type WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0
hk T
m. EN
Bit(s) Mnemonic Name Description
12 GPIO44 GPIO44_IES Bitwise SET operation of GPIO44 input buffer
0: Keep
1: SET bits
11 GPIO43 GPIO43_IES Bitwise SET operation of GPIO43 input buffer
10 GPIO42
.co ID GPIO42_IES
0:
1: SET bits
Bitwise SET operation of GPIO42 input buffer
Keep
sac NF
0: Keep
1: SET bits
9 GPIO41 GPIO41_IES Bitwise SET operation of GPIO41 input buffer
0: Keep
1: SET bits
O
1: SET bits
5 GPIO37 GPIO37_IES Bitwise SET operation of GPIO37 input buffer
0: Keep
1: SET bits
Ar IA
GPIO_IES1_CL
A0020918 GPIO IES Control 00000000
R
R ED
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
12 GPIO44 GPIO44_IES Bitwise CLR operation of GPIO44 input buffer
US IAL
0: Keep
1: CLR bits
EO
11 GPIO43 GPIO43_IES Bitwise CLR operation of GPIO43 input buffer
0: Keep
1: CLR bits
10 GPIO42 GPIO42_IES Bitwise CLR operation of GPIO42 input buffer
hk T
0: Keep
1: CLR bits
m. EN
9 GPIO41 GPIO41_IES Bitwise CLR operation of GPIO41 input buffer
0: Keep
1: CLR bits
8 GPIO40 GPIO40_IES Bitwise CLR operation of GPIO40 input buffer
0: Keep
7 GPIO39.co ID GPIO39_IES
1: CLR bits
Bitwise CLR operation of GPIO39 input buffer
0:
1: CLR bits
Keep
sac NF
6 GPIO38 GPIO38_IES Bitwise CLR operation of GPIO38 input buffer
0: Keep
1: CLR bits
5 GPIO37 GPIO37_IES Bitwise CLR operation of GPIO37 input buffer
O
0: Keep
1: CLR bits
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
no TE
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 0 1 1 0 0 1 1 1 1 1 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
5 4 3 2 0
Ar IA
Type RW RW RW RW RW
Reset 0 0 0 0 0
1: Enable
29 GPIO29 GPIO29_PUPD PUPD for GPIO29
0: Disable
1: Enable
28 GPIO28 GPIO28_PUPD PUPD for GPIO28
0: Disable
1: Enable
27 GPIO27 GPIO27_PUPD PUPD for GPIO27
0: Disable
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
26 GPIO26 GPIO26_PUPD PUPD for GPIO26
0: Disable
EO
1: Enable
21 GPIO21 GPIO21_PUPD PUPD for GPIO21
0: Disable
1: Enable
hk T
20 GPIO20 GPIO20_PUPD PUPD for GPIO20
0: Disable
m. EN
1: Enable
19 GPIO19 GPIO19_PUPD PUPD for GPIO19
0: Disable
1: Enable
18 GPIO18 GPIO18_PUPD PUPD for GPIO18
17 GPIO17
.co ID GPIO17_PUPD
0:
1: Enable
PUPD for GPIO17
Disable
sac NF
0: Disable
1: Enable
16 GPIO16 GPIO16_PUPD PUPD for GPIO16
0: Disable
1: Enable
O
0: Disable
1: Enable
R ED
GPIO_PUPD0_S
A0020A04 GPIO PUPD Control 00000000
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FO M
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
5 4 3 2 0
Type WO WO WO WO WO
Reset 0 0 0 0 0
Y
NL
Overview: For bitwise access of GPIO_PUPD0
US IAL
Bit(s) Mnemonic Name Description
31 GPIO31 GPIO31_PUPD Bitwise SET operation of GPIO31 PUPD
EO
0: Keep
1: SET bits
29 GPIO29 GPIO29_PUPD Bitwise SET operation of GPIO29 PUPD
0: Keep
hk T
1: SET bits
28 GPIO28 GPIO28_PUPD Bitwise SET operation of GPIO28 PUPD
m. EN
0: Keep
1: SET bits
27 GPIO27 GPIO27_PUPD Bitwise SET operation of GPIO27 PUPD
0: Keep
1: SET bits
26 GPIO26
.co ID GPIO26_PUPD Bitwise SET operation of GPIO26 PUPD
0:
1: SET bits
Keep
sac NF
21 GPIO21 GPIO21_PUPD Bitwise SET operation of GPIO21 PUPD
0: Keep
1: SET bits
20 GPIO20 GPIO20_PUPD Bitwise SET operation of GPIO20 PUPD
0: Keep
O
1: SET bits
19 GPIO19 GPIO19_PUPD Bitwise SET operation of GPIO19 PUPD
u@ C
0: Keep
1: SET bits
18 GPIO18 GPIO18_PUPD Bitwise SET operation of GPIO18 PUPD
0: Keep
.Li K
1: SET bits
17 GPIO17 GPIO17_PUPD Bitwise SET operation of GPIO17 PUPD
no TE
0: Keep
1: SET bits
16 GPIO16 GPIO16_PUPD Bitwise SET operation of GPIO16 PUPD
0: Keep
1: SET bits
Ar IA
1: SET bits
12 GPIO12 GPIO12_PUPD Bitwise SET operation of GPIO12 PUPD
0: Keep
1: SET bits
10 GPIO10 GPIO10_PUPD Bitwise SET operation of GPIO10 PUPD
0: Keep
1: SET bits
Y
NL
GPIO_PUPD0_C
US IAL
A0020A08 GPIO PUPD Control 00000000
LR
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
Name 5 4 3 2 0
m. EN
Type WO WO WO WO WO
Reset 0 0 0 0 0
31 GPIO31
.co ID
Bit(s) Mnemonic Name
GPIO31_PUPD
Description
Bitwise CLR operation of GPIO31 PUPD
0: Keep
sac NF
1: CLR bits
29 GPIO29 GPIO29_PUPD Bitwise CLR operation of GPIO29 PUPD
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
19 GPIO19 GPIO19_PUPD Bitwise CLR operation of GPIO19 PUPD
0: Keep
R ED
1: CLR bits
18 GPIO18 GPIO18_PUPD Bitwise CLR operation of GPIO18 PUPD
0: Keep
1: CLR bits
17 GPIO17 GPIO17_PUPD Bitwise CLR operation of GPIO17 PUPD
FO M
0: Keep
1: CLR bits
16 GPIO16 GPIO16_PUPD Bitwise CLR operation of GPIO16 PUPD
0: Keep
1: CLR bits
15 GPIO15 GPIO15_PUPD Bitwise CLR operation of GPIO15 PUPD
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
14 GPIO14 GPIO14_PUPD Bitwise CLR operation of GPIO14 PUPD
US IAL
0: Keep
1: CLR bits
EO
13 GPIO13 GPIO13_PUPD Bitwise CLR operation of GPIO13 PUPD
0: Keep
1: CLR bits
12 GPIO12 GPIO12_PUPD Bitwise CLR operation of GPIO12 PUPD
hk T
0: Keep
1: CLR bits
m. EN
10 GPIO10 GPIO10_PUPD Bitwise CLR operation of GPIO10 PUPD
0: Keep
1: CLR bits
A0020A10
Bit 31
.co ID
GPIO_PUPD1
30 29 28
GPIO PUPD Control
27 26 25 24 23 22 21 20 19 18
0007A7FE
17 16
sac NF
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type RW RW RW RW
Reset 0 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
O
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 1 0 1 1 1 1 1 1 1 1 1 1 1 0
u@ C
0: Disable
1: Enable
18 GPIO50 GPIO50_PUPD PUPD for GPIO50
0: Disable
1: Enable
Ar IA
1: Enable
14 GPIO46 GPIO46_PUPD PUPD for GPIO46
0: Disable
1: Enable
13 GPIO45 GPIO45_PUPD PUPD for GPIO45
0: Disable
1: Enable
10 GPIO42 GPIO42_PUPD PUPD for GPIO42
0: Disable
Y
NL
Bit(s) Mnemonic Name Description
1: Enable
US IAL
9 GPIO41 GPIO41_PUPD PUPD for GPIO41
0: Disable
EO
1: Enable
8 GPIO40 GPIO40_PUPD PUPD for GPIO40
0: Disable
1: Enable
hk T
7 GPIO39 GPIO39_PUPD PUPD for GPIO39
0: Disable
m. EN
1: Enable
6 GPIO38 GPIO38_PUPD PUPD for GPIO38
0: Disable
1: Enable
5 GPIO37 GPIO37_PUPD PUPD for GPIO37
4 GPIO36
.co ID GPIO36_PUPD
0:
1: Enable
PUPD for GPIO36
Disable
sac NF
0: Disable
1: Enable
3 GPIO35 GPIO35_PUPD PUPD for GPIO35
0: Disable
1: Enable
O
GPIO_PUPD1_S
A0020A14 GPIO PUPD Control 00000000
Ar IA
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
R ED
Type WO WO WO WO
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
FO M
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
18 GPIO50 GPIO50_PUPD Bitwise SET operation of GPIO50 PUPD
US IAL
0: Keep
1: SET bits
EO
17 GPIO49 GPIO49_PUPD Bitwise SET operation of GPIO49 PUPD
0: Keep
1: SET bits
16 GPIO48 GPIO48_PUPD Bitwise SET operation of GPIO48 PUPD
hk T
0: Keep
1: SET bits
m. EN
15 GPIO47 GPIO47_PUPD Bitwise SET operation of GPIO47 PUPD
0: Keep
1: SET bits
14 GPIO46 GPIO46_PUPD Bitwise SET operation of GPIO46 PUPD
0: Keep
13 GPIO45.co ID GPIO45_PUPD
1: SET bits
Bitwise SET operation of GPIO45 PUPD
0:
1: SET bits
Keep
sac NF
10 GPIO42 GPIO42_PUPD Bitwise SET operation of GPIO42 PUPD
0: Keep
1: SET bits
9 GPIO41 GPIO41_PUPD Bitwise SET operation of GPIO41 PUPD
O
0: Keep
1: SET bits
8 GPIO40 GPIO40_PUPD Bitwise SET operation of GPIO40 PUPD
u@ C
0: Keep
1: SET bits
7 GPIO39 GPIO39_PUPD Bitwise SET operation of GPIO39 PUPD
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
4 GPIO36 GPIO36_PUPD Bitwise SET operation of GPIO36 PUPD
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
1 GPIO33 GPIO33_PUPD Bitwise SET operation of GPIO33 PUPD
0: Keep
1: SET bits
0 GPIO32 GPIO32_PUPD Bitwise SET operation of GPIO32 PUPD
0: Keep
1: SET bits
Y
NL
GPIO_PUPD1_C
US IAL
A0020A18 GPIO PUPD Control 00000000
LR
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
Reset 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name 7 6 5 2 1 0 9 8 7 6 5 4 3 2
m. EN
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 GPIO51
.co ID
Bit(s) Mnemonic Name
GPIO51_PUPD
Description
Bitwise CLR operation of GPIO51 PUPD
0: Keep
sac NF
1: CLR bits
18 GPIO50 GPIO50_PUPD Bitwise CLR operation of GPIO50 PUPD
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
10 GPIO42 GPIO42_PUPD Bitwise CLR operation of GPIO42 PUPD
0: Keep
R ED
1: CLR bits
9 GPIO41 GPIO41_PUPD Bitwise CLR operation of GPIO41 PUPD
0: Keep
1: CLR bits
8 GPIO40 GPIO40_PUPD Bitwise CLR operation of GPIO40 PUPD
FO M
0: Keep
1: CLR bits
7 GPIO39 GPIO39_PUPD Bitwise CLR operation of GPIO39 PUPD
0: Keep
1: CLR bits
6 GPIO38 GPIO38_PUPD Bitwise CLR operation of GPIO38 PUPD
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
5 GPIO37 GPIO37_PUPD Bitwise CLR operation of GPIO37 PUPD
US IAL
0: Keep
1: CLR bits
EO
4 GPIO36 GPIO36_PUPD Bitwise CLR operation of GPIO36 PUPD
0: Keep
1: CLR bits
3 GPIO35 GPIO35_PUPD Bitwise CLR operation of GPIO35 PUPD
hk T
0: Keep
1: CLR bits
m. EN
2 GPIO34 GPIO34_PUPD Bitwise CLR operation of GPIO34 PUPD
0: Keep
1: CLR bits
1 GPIO33 GPIO33_PUPD Bitwise CLR operation of GPIO33 PUPD
0: Keep
0 GPIO32.co ID GPIO32_PUPD
1: CLR bits
Bitwise CLR operation of GPIO32 PUPD
0:
1: CLR bits
Keep
sac NF
GPIO_RESEN0_
A0020B00 GPIO R0 Control B83FF400
O
0
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
u@ C
Name 1 9 8 7 6 1 0 9 8 7 6
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 1 1 1 1 0 1 1 1 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
.Li K
Reset 1 1 1 1 1
0: Disable
1: Enable
27 GPIO27 GPIO27_R0 R0 for GPIO27
0: Disable
1: Enable
26 GPIO26 GPIO26_R0 R0 for GPIO26
0: Disable
1: Enable
Y
NL
Bit(s) Mnemonic Name Description
21 GPIO21 GPIO21_R0 R0 for GPIO21
US IAL
0: Disable
1: Enable
EO
20 GPIO20 GPIO20_R0 R0 for GPIO20
0: Disable
1: Enable
19 GPIO19 GPIO19_R0 R0 for GPIO19
hk T
0: Disable
1: Enable
m. EN
18 GPIO18 GPIO18_R0 R0 for GPIO18
0: Disable
1: Enable
17 GPIO17 GPIO17_R0 R0 for GPIO17
0: Disable
16 GPIO16.co ID GPIO16_R0
1: Enable
R0 for GPIO16
0:
1: Enable
Disable
sac NF
15 GPIO15 GPIO15_R0 R0 for GPIO15
0: Disable
1: Enable
14 GPIO14 GPIO14_R0 R0 for GPIO14
O
0: Disable
1: Enable
13 GPIO13 GPIO13_R0 R0 for GPIO13
u@ C
0: Disable
1: Enable
12 GPIO12 GPIO12_R0 R0 for GPIO12
.Li K
0: Disable
1: Enable
no TE
GPIO_RESEN0_
A0020B04 GPIO R0 Control 00000000
0_SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R ED
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
31 GPIO31 GPIO31_R0 Bitwise SET operation of GPIO31 R0
US IAL
0: Keep
1: SET bits
EO
29 GPIO29 GPIO29_R0 Bitwise SET operation of GPIO29 R0
0: Keep
1: SET bits
28 GPIO28 GPIO28_R0 Bitwise SET operation of GPIO28 R0
hk T
0: Keep
1: SET bits
m. EN
27 GPIO27 GPIO27_R0 Bitwise SET operation of GPIO27 R0
0: Keep
1: SET bits
26 GPIO26 GPIO26_R0 Bitwise SET operation of GPIO26 R0
0: Keep
21 GPIO21.co ID GPIO21_R0
1: SET bits
Bitwise SET operation of GPIO21 R0
0:
1: SET bits
Keep
sac NF
20 GPIO20 GPIO20_R0 Bitwise SET operation of GPIO20 R0
0: Keep
1: SET bits
19 GPIO19 GPIO19_R0 Bitwise SET operation of GPIO19 R0
O
0: Keep
1: SET bits
18 GPIO18 GPIO18_R0 Bitwise SET operation of GPIO18 R0
u@ C
0: Keep
1: SET bits
17 GPIO17 GPIO17_R0 Bitwise SET operation of GPIO17 R0
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
14 GPIO14 GPIO14_R0 Bitwise SET operation of GPIO14 R0
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
10 GPIO10 GPIO10_R0 Bitwise SET operation of GPIO10 R0
0: Keep
1: SET bits
Y
NL
0_CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
US IAL
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
EO
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
5 4 3 2 0
Type WO WO WO WO WO
hk T
Reset 0 0 0 0 0
m. EN
Overview: For bitwise access of GPIO_RESEN0_0
29 GPIO29
.co ID GPIO29_R0
0:
1: CLR bits
Bitwise CLR operation of GPIO29 R0
Keep
sac NF
0: Keep
1: CLR bits
28 GPIO28 GPIO28_R0 Bitwise CLR operation of GPIO28 R0
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
18 GPIO18 GPIO18_R0 Bitwise CLR operation of GPIO18 R0
0: Keep
R ED
1: CLR bits
17 GPIO17 GPIO17_R0 Bitwise CLR operation of GPIO17 R0
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
13 GPIO13 GPIO13_R0 Bitwise CLR operation of GPIO13 R0
US IAL
0: Keep
1: CLR bits
EO
12 GPIO12 GPIO12_R0 Bitwise CLR operation of GPIO12 R0
0: Keep
1: CLR bits
10 GPIO10 GPIO10_R0 Bitwise CLR operation of GPIO10 R0
hk T
0: Keep
1: CLR bits
m. EN
GPIO_RESEN0_
A0020B10 GPIO R0 Control 0007A7FF
1
Bit
Name
Type
31
.co ID
30 29 28 27 26 25 24 23 22 21 20
RW
19
0
RW
18
9
RW
17
GPIO5 GPIO5 GPIO4 GPIO4
1 8
RW
16
sac NF
Reset 0 1 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 1 0 1 1 1 1 1 1 1 1 1 1 1 1
O
0: Disable
1: Enable
no TE
1: Enable
16 GPIO48 GPIO48_R0 R0 for GPIO48
0: Disable
1: Enable
R ED
0: Disable
1: Enable
13 GPIO45 GPIO45_R0 R0 for GPIO45
0: Disable
1: Enable
10 GPIO42 GPIO42_R0 R0 for GPIO42
0: Disable
1: Enable
Y
NL
Bit(s) Mnemonic Name Description
9 GPIO41 GPIO41_R0 R0 for GPIO41
US IAL
0: Disable
1: Enable
EO
8 GPIO40 GPIO40_R0 R0 for GPIO40
0: Disable
1: Enable
7 GPIO39 GPIO39_R0 R0 for GPIO39
hk T
0: Disable
1: Enable
m. EN
6 GPIO38 GPIO38_R0 R0 for GPIO38
0: Disable
1: Enable
5 GPIO37 GPIO37_R0 R0 for GPIO37
0: Disable
4 GPIO36.co ID GPIO36_R0
1: Enable
R0 for GPIO36
0:
1: Enable
Disable
sac NF
3 GPIO35 GPIO35_R0 R0 for GPIO35
0: Disable
1: Enable
2 GPIO34 GPIO34_R0 R0 for GPIO34
O
0: Disable
1: Enable
1 GPIO33 GPIO33_R0 R0 for GPIO33
u@ C
0: Disable
1: Enable
0 GPIO32 GPIO32_R0 R0 for GPIO32
.Li K
0: Disable
1: Enable
no TE
GPIO_RESEN0_
A0020B14 GPIO R0 Control 00000000
1_SET
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
R ED
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
18 GPIO50 GPIO50_R0 Bitwise SET operation of GPIO50 R0
US IAL
0: Keep
1: SET bits
EO
17 GPIO49 GPIO49_R0 Bitwise SET operation of GPIO49 R0
0: Keep
1: SET bits
16 GPIO48 GPIO48_R0 Bitwise SET operation of GPIO48 R0
hk T
0: Keep
1: SET bits
m. EN
15 GPIO47 GPIO47_R0 Bitwise SET operation of GPIO47 R0
0: Keep
1: SET bits
14 GPIO46 GPIO46_R0 Bitwise SET operation of GPIO46 R0
0: Keep
13 GPIO45.co ID GPIO45_R0
1: SET bits
Bitwise SET operation of GPIO45 R0
0:
1: SET bits
Keep
sac NF
10 GPIO42 GPIO42_R0 Bitwise SET operation of GPIO42 R0
0: Keep
1: SET bits
9 GPIO41 GPIO41_R0 Bitwise SET operation of GPIO41 R0
O
0: Keep
1: SET bits
8 GPIO40 GPIO40_R0 Bitwise SET operation of GPIO40 R0
u@ C
0: Keep
1: SET bits
7 GPIO39 GPIO39_R0 Bitwise SET operation of GPIO39 R0
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
4 GPIO36 GPIO36_R0 Bitwise SET operation of GPIO36 R0
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
1 GPIO33 GPIO33_R0 Bitwise SET operation of GPIO33 R0
0: Keep
1: SET bits
0 GPIO32 GPIO32_R0 Bitwise SET operation of GPIO32 R0
0: Keep
1: SET bits
Y
NL
GPIO_RESEN0_
US IAL
A0020B18 GPIO R0 Control 00000000
1_CLR
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
Reset 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name 7 6 5 2 1 0 9 8 7 6 5 4 3 2
m. EN
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 GPIO51
.co ID
Bit(s) Mnemonic Name
GPIO51_R0
Description
Bitwise CLR operation of GPIO51 R0
0: Keep
sac NF
1: CLR bits
18 GPIO50 GPIO50_R0 Bitwise CLR operation of GPIO50 R0
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
10 GPIO42 GPIO42_R0 Bitwise CLR operation of GPIO42 R0
0: Keep
R ED
1: CLR bits
9 GPIO41 GPIO41_R0 Bitwise CLR operation of GPIO41 R0
0: Keep
1: CLR bits
8 GPIO40 GPIO40_R0 Bitwise CLR operation of GPIO40 R0
FO M
0: Keep
1: CLR bits
7 GPIO39 GPIO39_R0 Bitwise CLR operation of GPIO39 R0
0: Keep
1: CLR bits
6 GPIO38 GPIO38_R0 Bitwise CLR operation of GPIO38 R0
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
5 GPIO37 GPIO37_R0 Bitwise CLR operation of GPIO37 R0
US IAL
0: Keep
1: CLR bits
EO
4 GPIO36 GPIO36_R0 Bitwise CLR operation of GPIO36 R0
0: Keep
1: CLR bits
3 GPIO35 GPIO35_R0 Bitwise CLR operation of GPIO35 R0
hk T
0: Keep
1: CLR bits
m. EN
2 GPIO34 GPIO34_R0 Bitwise CLR operation of GPIO34 R0
0: Keep
1: CLR bits
1 GPIO33 GPIO33_R0 Bitwise CLR operation of GPIO33 R0
0: Keep
0 GPIO32.co ID GPIO32_R0
1: CLR bits
Bitwise CLR operation of GPIO32 R0
0:
1: CLR bits
Keep
sac NF
GPIO_RESEN1_
A0020B20 GPIO R1 Control 00000000
O
0
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
u@ C
Name 1 9 8 7 6 1 0 9 8 7 6
Type RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
.Li K
Reset 0 0 0 0 0
0: Disable
1: Enable
27 GPIO27 GPIO27_R1 R1 for GPIO27
0: Disable
1: Enable
26 GPIO26 GPIO26_R1 R1 for GPIO26
0: Disable
1: Enable
Y
NL
Bit(s) Mnemonic Name Description
21 GPIO21 GPIO21_R1 R1 for GPIO21
US IAL
0: Disable
1: Enable
EO
20 GPIO20 GPIO20_R1 R1 for GPIO20
0: Disable
1: Enable
19 GPIO19 GPIO19_R1 R1 for GPIO19
hk T
0: Disable
1: Enable
m. EN
18 GPIO18 GPIO18_R1 R1 for GPIO18
0: Disable
1: Enable
17 GPIO17 GPIO17_R1 R1 for GPIO17
0: Disable
16 GPIO16.co ID GPIO16_R1
1: Enable
R1 for GPIO16
0:
1: Enable
Disable
sac NF
15 GPIO15 GPIO15_R1 R1 for GPIO15
0: Disable
1: Enable
14 GPIO14 GPIO14_R1 R1 for GPIO14
O
0: Disable
1: Enable
13 GPIO13 GPIO13_R1 R1 for GPIO13
u@ C
0: Disable
1: Enable
12 GPIO12 GPIO12_R1 R1 for GPIO12
.Li K
0: Disable
1: Enable
no TE
GPIO_RESEN1_
A0020B24 GPIO R1 Control 00000000
0_SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
R ED
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
31 GPIO31 GPIO31_R1 Bitwise SET operation of GPIO31 R1
US IAL
0: Keep
1: SET bits
EO
29 GPIO29 GPIO29_R1 Bitwise SET operation of GPIO29 R1
0: Keep
1: SET bits
28 GPIO28 GPIO28_R1 Bitwise SET operation of GPIO28 R1
hk T
0: Keep
1: SET bits
m. EN
27 GPIO27 GPIO27_R1 Bitwise SET operation of GPIO27 R1
0: Keep
1: SET bits
26 GPIO26 GPIO26_R1 Bitwise SET operation of GPIO26 R1
0: Keep
21 GPIO21.co ID GPIO21_R1
1: SET bits
Bitwise SET operation of GPIO21 R1
0:
1: SET bits
Keep
sac NF
20 GPIO20 GPIO20_R1 Bitwise SET operation of GPIO20 R1
0: Keep
1: SET bits
19 GPIO19 GPIO19_R1 Bitwise SET operation of GPIO19 R1
O
0: Keep
1: SET bits
18 GPIO18 GPIO18_R1 Bitwise SET operation of GPIO18 R1
u@ C
0: Keep
1: SET bits
17 GPIO17 GPIO17_R1 Bitwise SET operation of GPIO17 R1
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
14 GPIO14 GPIO14_R1 Bitwise SET operation of GPIO14 R1
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
10 GPIO10 GPIO10_R1 Bitwise SET operation of GPIO10 R1
0: Keep
1: SET bits
Y
NL
0_CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
US IAL
GPIO3 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO2 GPIO1 GPIO1 GPIO1 GPIO1
Name 1 9 8 7 6 1 0 9 8 7 6
Type WO WO WO WO WO WO WO WO WO WO WO
EO
Reset 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO1 GPIO1 GPIO1 GPIO1 GPIO1
5 4 3 2 0
Type WO WO WO WO WO
hk T
Reset 0 0 0 0 0
m. EN
Overview: For bitwise access of GPIO_RESEN1_0
29 GPIO29
.co ID GPIO29_R1
0:
1: CLR bits
Bitwise CLR operation of GPIO29 R1
Keep
sac NF
0: Keep
1: CLR bits
28 GPIO28 GPIO28_R1 Bitwise CLR operation of GPIO28 R1
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
18 GPIO18 GPIO18_R1 Bitwise CLR operation of GPIO18 R1
0: Keep
R ED
1: CLR bits
17 GPIO17 GPIO17_R1 Bitwise CLR operation of GPIO17 R1
0: Keep
1: CLR bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
13 GPIO13 GPIO13_R1 Bitwise CLR operation of GPIO13 R1
US IAL
0: Keep
1: CLR bits
EO
12 GPIO12 GPIO12_R1 Bitwise CLR operation of GPIO12 R1
0: Keep
1: CLR bits
10 GPIO10 GPIO10_R1 Bitwise CLR operation of GPIO10 R1
hk T
0: Keep
1: CLR bits
m. EN
GPIO_RESEN1_
A0020B30 GPIO R1 Control 00000000
1
Bit
Name
Type
31
.co ID
30 29 28 27 26 25 24 23 22 21 20
RW
19
0
RW
18
9
RW
17
GPIO5 GPIO5 GPIO4 GPIO4
1 8
RW
16
sac NF
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type RW RW RW RW RW RW RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
O
0: Disable
1: Enable
no TE
1: Enable
16 GPIO48 GPIO48_R1 R1 for GPIO48
0: Disable
1: Enable
R ED
0: Disable
1: Enable
13 GPIO45 GPIO45_R1 R1 for GPIO45
0: Disable
1: Enable
10 GPIO42 GPIO42_R1 R1 for GPIO42
0: Disable
1: Enable
Y
NL
Bit(s) Mnemonic Name Description
9 GPIO41 GPIO41_R1 R1 for GPIO41
US IAL
0: Disable
1: Enable
EO
8 GPIO40 GPIO40_R1 R1 for GPIO40
0: Disable
1: Enable
7 GPIO39 GPIO39_R1 R1 for GPIO39
hk T
0: Disable
1: Enable
m. EN
6 GPIO38 GPIO38_R1 R1 for GPIO38
0: Disable
1: Enable
5 GPIO37 GPIO37_R1 R1 for GPIO37
0: Disable
4 GPIO36.co ID GPIO36_R1
1: Enable
R1 for GPIO36
0:
1: Enable
Disable
sac NF
3 GPIO35 GPIO35_R1 R1 for GPIO35
0: Disable
1: Enable
2 GPIO34 GPIO34_R1 R1 for GPIO34
O
0: Disable
1: Enable
1 GPIO33 GPIO33_R1 R1 for GPIO33
u@ C
0: Disable
1: Enable
0 GPIO32 GPIO32_R1 R1 for GPIO32
.Li K
0: Disable
1: Enable
no TE
GPIO_RESEN1_
A0020B34 GPIO R1 Control 00000000
1_SET
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
R ED
Reset 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
7 6 5 2 1 0 9 8 7 6 5 4 3 2
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FO M
Y
NL
Bit(s) Mnemonic Name Description
18 GPIO50 GPIO50_R1 Bitwise SET operation of GPIO50 R1
US IAL
0: Keep
1: SET bits
EO
17 GPIO49 GPIO49_R1 Bitwise SET operation of GPIO49 R1
0: Keep
1: SET bits
16 GPIO48 GPIO48_R1 Bitwise SET operation of GPIO48 R1
hk T
0: Keep
1: SET bits
m. EN
15 GPIO47 GPIO47_R1 Bitwise SET operation of GPIO47 R1
0: Keep
1: SET bits
14 GPIO46 GPIO46_R1 Bitwise SET operation of GPIO46 R1
0: Keep
13 GPIO45.co ID GPIO45_R1
1: SET bits
Bitwise SET operation of GPIO45 R1
0:
1: SET bits
Keep
sac NF
10 GPIO42 GPIO42_R1 Bitwise SET operation of GPIO42 R1
0: Keep
1: SET bits
9 GPIO41 GPIO41_R1 Bitwise SET operation of GPIO41 R1
O
0: Keep
1: SET bits
8 GPIO40 GPIO40_R1 Bitwise SET operation of GPIO40 R1
u@ C
0: Keep
1: SET bits
7 GPIO39 GPIO39_R1 Bitwise SET operation of GPIO39 R1
.Li K
0: Keep
1: SET bits
no TE
1: SET bits
4 GPIO36 GPIO36_R1 Bitwise SET operation of GPIO36 R1
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
1 GPIO33 GPIO33_R1 Bitwise SET operation of GPIO33 R1
0: Keep
1: SET bits
0 GPIO32 GPIO32_R1 Bitwise SET operation of GPIO32 R1
0: Keep
1: SET bits
Y
NL
GPIO_RESEN1_
US IAL
A0020B38 GPIO R1 Control 00000000
1_CLR
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
GPIO5 GPIO5 GPIO4 GPIO4
Name 1 0 9 8
Type WO WO WO WO
Reset 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO4 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3 GPIO3
Name 7 6 5 2 1 0 9 8 7 6 5 4 3 2
m. EN
Type WO WO WO WO WO WO WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
19 GPIO51
.co ID
Bit(s) Mnemonic Name
GPIO51_R1
Description
Bitwise CLR operation of GPIO51 R1
0: Keep
sac NF
1: CLR bits
18 GPIO50 GPIO50_R1 Bitwise CLR operation of GPIO50 R1
0: Keep
1: CLR bits
O
0: Keep
1: CLR bits
10 GPIO42 GPIO42_R1 Bitwise CLR operation of GPIO42 R1
0: Keep
R ED
1: CLR bits
9 GPIO41 GPIO41_R1 Bitwise CLR operation of GPIO41 R1
0: Keep
1: CLR bits
8 GPIO40 GPIO40_R1 Bitwise CLR operation of GPIO40 R1
FO M
0: Keep
1: CLR bits
7 GPIO39 GPIO39_R1 Bitwise CLR operation of GPIO39 R1
0: Keep
1: CLR bits
6 GPIO38 GPIO38_R1 Bitwise CLR operation of GPIO38 R1
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
5 GPIO37 GPIO37_R1 Bitwise CLR operation of GPIO37 R1
US IAL
0: Keep
1: CLR bits
EO
4 GPIO36 GPIO36_R1 Bitwise CLR operation of GPIO36 R1
0: Keep
1: CLR bits
3 GPIO35 GPIO35_R1 Bitwise CLR operation of GPIO35 R1
hk T
0: Keep
1: CLR bits
m. EN
2 GPIO34 GPIO34_R1 Bitwise CLR operation of GPIO34 R1
0: Keep
1: CLR bits
1 GPIO33 GPIO33_R1 Bitwise CLR operation of GPIO33 R1
0: Keep
0 .co ID
GPIO32 GPIO32_R1
1: CLR bits
Bitwise CLR operation of GPIO32 R1
0:
1: CLR bits
Keep
sac NF
KeyPad
KCOL0-4
O
0 0 1 PU-36K ohms
0 1 0 PU-1200K ohms
.Li K
1 0 1 PD-36K ohms
1 1 0 PD-1200K ohms
1 1 1 PD- 1200K//36K ohms
Ar IA
KROW0-4
PUPD R1 R0 WEAK PULL UP/DOWN STATE
0 0 0 Disable both resistors
R ED
0 0 1 PU-36K ohms
0 1 0 PU-1K ohms
0 1 1 PU- 1K//36K ohms
1 0 0 Disable both resistors
FO M
1 0 1 PD-36K ohms
1 1 0 PD-1K ohms
1 1 1 PD- 1K//36K ohms
URXD:
CMPDN/CMCSD0/CMCSD1/CMMCLK
MCCK/MCCM0/MCDA0/MCDA1/MCDA2/MCDA3
Y
NL
TESTMODE_D/LSCE_B/LSCK/LSDA/LSA0/LPTE
RESETB:
US IAL
PUPD R1 R0 WEAK PULL UP/DOWN STATE
EO
0 0 0 Disable both resistors
0 0 1 PU-47K ohms
0 1 0 PU-47K ohms
hk T
0 1 1 PU- 23.5K ohms
1 0 0 Disable both resistors
m. EN
1 0 1 PD-47K ohms
1 1 0 PD-47K ohms
1 1 1 PD- 23.5K ohms
A0020C00
.co ID
GPIO_MODE0 GPIO Mode Control 00000000
sac NF
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO7 GPIO6 GPIO5 GPIO4
Type RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O
0: GPIO7 (IO)
1: EINT6 (I)
2: Reserved
3: BPI_BUS5 (O)
4: Reserved
5: Reserved
Ar IA
6: Reserved
7: Reserved
26:24 GPIO6 Aux. mode of GPIO_6
0: GPIO6 (IO)
R ED
1: EINT5 (I)
2: MCINS (I)
3: BPI_BUS4 (O)
4: Reserved
5: Reserved
FO M
6: Reserved
7: Reserved
22:20 GPIO5 Aux. mode of GPIO_5
0: GPIO5 (IO)
1: EINT4 (I)
2: Reserved
3: BPI_BUS3 (O)
4: Reserved
5: Reserved
6: Reserved
Y
NL
Bit(s) Mnemonic Name Description
7: Reserved
US IAL
18:16 GPIO4 Aux. mode of GPIO_4
0: GPIO4 (IO)
EO
1: EINT3 (I)
2: Reserved
3: Reserved
4: U1RTS (O)
5: Reserved
hk T
6: Reserved
7: Reserved
m. EN
15:12 GPIO3 Aux. mode of GPIO_3
0: GPIO3 (IO)
1: MCINS (I)
2: YM (AIO)
3: Reserved
.co ID 4:
5:
6:
7:
8:
PWM1
CMCSD1
EDICK
JTDO
BTJTDO
(O)
(I)
(O)
(O)
(O)
sac NF
9: FMJTDO (O)
11:8 GPIO2 Aux. mode of GPIO_2
0: GPIO2 (IO)
1: EINT2 (I)
2: YP (AIO)
O
3: GPSFSYNC (O)
4: PWM0 (O)
5: CMCSD0 (I)
u@ C
6: EDIWS (O)
7: JTRST_B (I)
8: BTJTRSTB (I)
9: FMJTRSTB (I)
.Li K
1: EINT1 (I)
2: XM (AIO)
3: U3TXD (O)
4: U1CTS (I)
5: CMMCLK (O)
6: EDIDI (I)
Ar IA
7: JTMS (I)
8: BTJTMS (I)
9: FMJTMS (I)
3:0 GPIO0 Aux. mode of GPIO_0
R ED
0: GPIO0 (IO)
1: EINT0 (I)
2: XP (AIO)
3: U3RXD (I)
4: CMCSD2 (I)
FO M
5: CMCSK (I)
6: EDIDO (O)
7: JTDI (I)
8: BTJTDI (I)
9: FMJTDI (I)
Y
NL
SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
US IAL
Name GPIO7 GPIO6 GPIO5 GPIO4
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
EO
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO3 GPIO2 GPIO1 GPIO0
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Overview: For bitwise access of GPIO_MODE0
m. EN
Bit(s) Mnemonic Name Description
30:28 GPIO7 Bitwise SET operation for Aux. mode of GPIO_7
0: Keep
26:24
.co ID GPIO6
1: SET bits
Bitwise SET operation for Aux. mode of GPIO_6
0:
1: SET bits
Keep
sac NF
22:20 GPIO5 Bitwise SET operation for Aux. mode of GPIO_5
0: Keep
1: SET bits
18:16 GPIO4 Bitwise SET operation for Aux. mode of GPIO_4
O
0: Keep
1: SET bits
15:12 GPIO3 Bitwise SET operation for Aux. mode of GPIO_3
u@ C
0: Keep
1: SET bits
11:8 GPIO2 Bitwise SET operation for Aux. mode of GPIO_2
.Li K
0: Keep
1: SET bits
7:4 GPIO1 Bitwise SET operation for Aux. mode of GPIO_1
no TE
0: Keep
1: SET bits
3:0 GPIO0 Bitwise SET operation for Aux. mode of GPIO_0
0: Keep
1: SET bits
Ar IA
R ED
GPIO_MODE0_
A0020C08 GPIO Mode Control 00000000
CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO7 GPIO6 GPIO5 GPIO4
Type WO WO WO WO
FO M
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO3 GPIO2 GPIO1 GPIO0
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
30:28 GPIO7 Bitwise CLR operation for Aux. mode of GPIO_7
US IAL
0: Keep
1: CLR bits
EO
26:24 GPIO6 Bitwise CLR operation for Aux. mode of GPIO_6
0: Keep
1: CLR bits
22:20 GPIO5 Bitwise CLR operation for Aux. mode of GPIO_5
hk T
0: Keep
1: CLR bits
m. EN
18:16 GPIO4 Bitwise CLR operation for Aux. mode of GPIO_4
0: Keep
1: CLR bits
15:12 GPIO3 Bitwise CLR operation for Aux. mode of GPIO_3
0: Keep
0: Keep
1: CLR bits
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO15 GPIO14 GPIO13 GPIO12
Type RW RW RW RW
no TE
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO11 GPIO10 GPIO9 GPIO8
Type RW RW RW RW
Reset 0 0 1 0 0 1 0 0 0 0 0 0
Ar IA
3: U1CTS (I)
4: FMJTCK (I)
5: JTCK (I)
6: BTJTCK (I)
7: Reserved
26:24 GPIO14 Aux. mode of GPIO_14
0: GPIO14 (IO)
1: KCOL2 (IO)
2: EINT12 (I)
3: U1RTS (I)
Y
NL
Bit(s) Mnemonic Name Description
4: Reserved
US IAL
5: Reserved
6: Reserved
7: Reserved
EO
22:20 GPIO13 Aux. mode of GPIO_13
0: GPIO13 (IO)
1: KCOL3 (IO)
2: EINT11 (I)
hk T
3: PWM0 (O)
4: FMJTMS (I)
m. EN
5: JTMS (I)
6: BTJTMS (I)
7: Reserved
18:16 GPIO12 Aux. mode of GPIO_12
0: GPIO12 (IO)
.co ID 1:
2:
3:
4:
5:
KCOL4
U2RXD
EDIDI
FMJTDI
JTDI
(IO)
(I)
(I)
(I)
(I)
sac NF
6: BTJTDI (I)
7: Reserved
14:12 GPIO11 Aux. mode of GPIO_11
0: GPIO11 (IO)
1: U1TXD (O)
O
2: CMPDN (O)
3: EINT10 (I)
4: Reserved
u@ C
5: Reserved
6: Reserved
7: Reserved
.Li K
2: CMRST (O)
3: EINT9 (I)
4: MCINS (I)
5: Reserved
6: Reserved
7: Reserved
Ar IA
2: SDA (IO)
3: Reserved
4: Reserved
5: Reserved
6: Reserved
7: Reserved
FO M
Y
NL
US IAL
GPIO_MODE1_
A0020C14 GPIO Mode Control 00000000
SET
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO15 GPIO14 GPIO13 GPIO12
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO11 GPIO10 GPIO9 GPIO8
m. EN
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
30:28 .co ID
Bit(s) Mnemonic Name
GPIO15
Description
Bitwise SET operation for Aux. mode of KCOL1
0: Keep
sac NF
1: SET bits
26:24 GPIO14 Bitwise SET operation for Aux. mode of KCOL2
0: Keep
1: SET bits
22:20 GPIO13 Bitwise SET operation for Aux. mode of KCOL3
O
0: Keep
1: SET bits
u@ C
0: Keep
1: SET bits
2:0 GPIO8 Bitwise SET operation for Aux. mode of GPIO_8
0: Keep
R ED
1: SET bits
GPIO_MODE1_
A0020C18 GPIO Mode Control 00000000
FO M
CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO15 GPIO14 GPIO13 GPIO12
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO11 GPIO10 GPIO9 GPIO8
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Overview: For bitwise access of GPIO_MODE1
US IAL
Bit(s) Mnemonic Name Description
EO
30:28 GPIO15 Bitwise CLR operation for Aux. mode of KCOL1
0: Keep
1: CLR bits
hk T
26:24 GPIO14 Bitwise CLR operation for Aux. mode of KCOL2
0: Keep
1: CLR bits
m. EN
22:20 GPIO13 Bitwise CLR operation for Aux. mode of KCOL3
0: Keep
1: CLR bits
18:16 GPIO12 Bitwise CLR operation for Aux. mode of KCOL4
Keep
sac NF
1: CLR bits
10:8 GPIO10 Bitwise CLR operation for Aux. mode of URXD1
0: Keep
1: CLR bits
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO19 GPIO18 GPIO17 GPIO16
Type RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0
R ED
Y
NL
Bit(s) Mnemonic Name Description
26:24 GPIO22 Aux. mode of GPIO_22
US IAL
0: GPIO22 (IO)
1: BPI_BUS2 (O)
EO
2: Reserved
3: Reserved
4: Reserved
5: Reserved
6: Reserved
hk T
7: Reserved
22:20 GPIO21 Aux. mode of GPIO_21
m. EN
0: GPIO21 (IO)
1: KROW0 (IO)
2: Reserved
3: Reserved
4: Reserved
5: MCINS (I)
18:16
.co ID GPIO20
6:
7: Reserved
Aux. mode of GPIO_20
BTDBGIN (I)
sac NF
0: GPIO20 (IO)
1: KROW1 (IO)
2: EINT14 (I)
3: EDIDO (O)
4: BTPRI (IO)
5: JTRCK (O)
O
6: BTDBGACKN (O)
7: Reserved
14:12 GPIO19 Aux. mode of GPIO_19
u@ C
0: GPIO19 (IO)
1: KROW2 (IO)
2: PWM1 (O)
.Li K
3: EDIWS (O)
4: FMJTDO (O)
5: JTDO (O)
no TE
6: BTJTDO (O)
7: Reserved
10:8 GPIO18 Aux. mode of GPIO_18
0: GPIO18 (IO)
1: KROW3 (IO)
Ar IA
2: EINT13 (I)
3: CLKO0 (O)
4: FMJTRSTB (I)
5: JTRST_B (I)
6: BTJTRSTB (I)
R ED
7: Reserved
6:4 GPIO17 Aux. mode of GPIO_17
0: GPIO17 (IO)
1: KROW4 (IO)
2: U2TXD (O)
FO M
3: EDICK (O)
4: Reserved
5: Reserved
6: Reserved
7: Reserved
2:0 GPIO16 Aux. mode of GPIO_16
0: GPIO16 (IO)
1: KCOL0 (IO)
2: Reserved
Y
NL
Bit(s) Mnemonic Name Description
3: Reserved
US IAL
4: Reserved
5: Reserved
6: Reserved
EO
7: Reserved
hk T
GPIO_MODE2_
A0020C24 GPIO Mode Control 00000000
SET
m. EN
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO23 GPIO22 GPIO21 GPIO20
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
Type
Reset .co ID
0
GPIO19
WO
0 0 0
GPIO18
WO
0 0 0
GPIO17
WO
0 0 0
GPIO16
WO
0 0
sac NF
Overview: For bitwise access of GPIO_MODE2
0: Keep
1: SET bits
u@ C
0: Keep
1: SET bits
no TE
1: SET bits
10:8 GPIO18 Bitwise SET operation for Aux. mode of KROW3
0: Keep
1: SET bits
R ED
0: Keep
1: SET bits
GPIO_MODE2_
A0020C28 GPIO Mode Control 00000000
CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO23 GPIO22 GPIO21 GPIO20
Y
NL
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
Name GPIO19 GPIO18 GPIO17 GPIO16
Type WO WO WO WO
EO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Bit(s) Mnemonic Name Description
30:28 GPIO23 Bitwise CLR operation for Aux. mode of BPI_BUS1
m. EN
0: Keep
1: CLR bits
26:24 GPIO22 Bitwise CLR operation for Aux. mode of BPI_BUS2
0: Keep
22:20
.co ID GPIO21
1: CLR bits
Bitwise CLR operation for Aux. mode of KROW0
0:
1: CLR bits
Keep
sac NF
18:16 GPIO20 Bitwise CLR operation for Aux. mode of KROW1
0: Keep
1: CLR bits
14:12 GPIO19 Bitwise CLR operation for Aux. mode of KROW2
O
0: Keep
1: CLR bits
10:8 GPIO18 Bitwise CLR operation for Aux. mode of KROW3
u@ C
0: Keep
1: CLR bits
6:4 GPIO17 Bitwise CLR operation for Aux. mode of KROW4
.Li K
0: Keep
1: CLR bits
2:0 GPIO16 Bitwise CLR operation for Aux. mode of KCOL0
no TE
0: Keep
1: CLR bits
Ar IA
Type RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO27 GPIO26 GPIO25 GPIO24
Type RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 1
FO M
Y
NL
Bit(s) Mnemonic Name Description
3: Reserved
US IAL
4: U2RXD (I)
5: Reserved
6: Reserved
EO
7: Reserved
26:24 GPIO30 Aux. mode of GPIO_30
0: GPIO30 (IO)
1: CMCSK (I)
hk T
2: LPTE (I)
3: CMCSD2 (I)
m. EN
4: EINT16 (I)
5: Reserved
6: JTRCK (O)
7: Reserved
23:20 GPIO29 Aux. mode of GPIO_29
.co ID 0:
1:
2:
3:
4:
GPIO29
CMMCLK
LSA0DA1
DAISYNC
SPIMISO
(IO)
(O)
(O)
(O)
(IO)
sac NF
5: FMJTDO (O)
6: JTDO (O)
7: Reserved
8: MC2DA0 (IO)
19:16 GPIO28 Aux. mode of GPIO_28
O
0: GPIO28 (IO)
1: CMCSD1 (I)
2: LSDA1 (IO)
u@ C
3: DAIPCMOUT (O)
4: SPIMOSI (IO)
5: FMJTRSTB (I)
6: JTRST_B (I)
.Li K
7: Reserved
8: MC2CK (O)
no TE
5: FMJTCK (I)
6: JTCK (I)
7: Reserved
8: MC2CM0 (O)
R ED
4: SPICS (IO)
5: FMJTMS (I)
6: JTMS (I)
7: Reserved)
6:4 GPIO25 Aux. mode of GPIO_25
0: GPIO25 (IO)
1: CMRST (O)
2: TESTMODE_D (O)
3: CLKO1 (O)
4: EINT15 (I)
Y
NL
Bit(s) Mnemonic Name Description
5: FMJTDI (I)
US IAL
6: JTDI (I)
7: Reserved
EO
2:0 GPIO24 Aux. mode of GPIO_24
0: GPIO24 (IO)
1: BPI_BUS0 (O)
2: Reserved
3: Reserved
hk T
4: Reserved
5: Reserved
m. EN
6: Reserved
7: Reserved
A0020C34
Bit
Name
31
.co ID
GPIO_MODE3_
SET
30
GPIO Mode Control
29
GPIO31
28 27 26 25
GPIO30
24 23 22
GPIO29
21 20 19 18
GPIO28
00000000
17 16
sac NF
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO27 GPIO26 GPIO25 GPIO24
Type WO WO WO WO
O
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
0: Keep
1: SET bits
19:16 GPIO28 Bitwise SET operation for Aux. mode of CMCSD1
0: Keep
R ED
1: SET bits
15:12 GPIO27 Bitwise SET operation for Aux. mode of CMCSD0
0: Keep
1: SET bits
10:8 GPIO26 Bitwise SET operation for Aux. mode of CMPDN
FO M
0: Keep
1: SET bits
6:4 GPIO25 Bitwise SET operation for Aux. mode of CMRST
0: Keep
1: SET bits
2:0 GPIO24 Bitwise SET operation for Aux. mode of BPI_BUS0
0: Keep
1: SET bits
Y
NL
US IAL
GPIO_MODE3_
A0020C38 GPIO Mode Control 00000000
CLR
EO
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO31 GPIO30 GPIO29 GPIO28
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO27 GPIO26 GPIO25 GPIO24
m. EN
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
30:28 .co ID
Bit(s) Mnemonic Name
GPIO31
Description
Bitwise CLR operation for Aux. mode of MCCK
0: Keep
sac NF
1: CLR bits
26:24 GPIO30 Bitwise CLR operation for Aux. mode of CMCSK
0: Keep
1: CLR bits
23:20 GPIO29 Bitwise CLR operation for Aux. mode of CMMCLK
O
0: Keep
1: CLR bits
u@ C
0: Keep
1: CLR bits
2:0 GPIO24 Bitwise CLR operation for Aux. mode of BPI_BUS0
0: Keep
R ED
1: CLR bits
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO39 GPIO38 GPIO37 GPIO36
Type RW RW RW RW
Reset 0 0 1 0 0 1 0 0 1 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO35 GPIO34 GPIO33 GPIO32
Type RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Overview: Configures GPIO aux. mode
US IAL
Bit(s) Mnemonic Name Description
30:28 GPIO39 Aux. mode of GPIO_39
EO
0: GPIO39 (IO)
1: SIM1_SCLK (IO)
2: Reserved
3: Reserved
hk T
4: Reserved
5: Reserved
6: Reserved
m. EN
7: Reserved
26:24 GPIO38 Aux. mode of GPIO_38
0: GPIO38 (IO)
1: SIM1_SRST (IO)
2: Reserved
.co ID 3:
4:
5:
6:
Reserved
Reserved
Reserved
Reserved
sac NF
7: Reserved
22:20 GPIO37 Aux. mode of GPIO_37
0: GPIO37 (IO)
1: SIM1_SIO (IO)
2: Reserved
O
3: Reserved
4: Reserved
5: Reserved
u@ C
6: Reserved
7: Reserved
18:16 GPIO36 Aux. mode of GPIO_36
0: GPIO36 (IO)
.Li K
1: MCDA3 (IO)
2: EINT19 (I)
3: CLKO2 (O)
no TE
4: DAIPCMOUT (O)
5: Reserved
6: Reserved
7: Reserved
14:12 GPIO35 Aux. mode of GPIO_35
Ar IA
0: GPIO35 (IO)
1: MCDA2 (IO)
2: EINT18 (I)
3: Reserved
R ED
4: DAICLK (O)
5: Reserved
6: Reserved
7: Reserved
10:8 GPIO34 Aux. mode of GPIO_34
FO M
0: GPIO34 (IO)
1: MCDA1 (IO)
2: EINT17 (I)
3: Reserved
4: DAIPCMIN (I)
5: Reserved
6: Reserved
7: Reserved
6:4 GPIO33 Aux. mode of GPIO_33
0: GPIO33 (IO)
Y
NL
Bit(s) Mnemonic Name Description
1: MCDA0 (IO)
US IAL
2: Reserved
3: Reserved
4: DAISYNC (O)
EO
5: Reserved
6: Reserved
7: Reserved
2:0 GPIO32 Aux. mode of GPIO_32
hk T
0: GPIO32 (IO)
1: MCCM0 (O)
m. EN
2: Reserved
3: Reserved
4: U2TXD (O)
5: Reserved
6: Reserved
7: Reserved
.co ID
GPIO_MODE4_
sac NF
A0020C44 GPIO Mode Control 00000000
SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO39 GPIO38 GPIO37 GPIO36
Type WO WO WO WO
O
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO35 GPIO34 GPIO33 GPIO32
u@ C
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
0: Keep
1: SET bits
22:20 GPIO37 Bitwise SET operation for Aux. mode of SIM1_SIO
0: Keep
R ED
1: SET bits
18:16 GPIO36 Bitwise SET operation for Aux. mode of MCDA3
0: Keep
1: SET bits
14:12 GPIO35 Bitwise SET operation for Aux. mode of MCDA2
FO M
0: Keep
1: SET bits
10:8 GPIO34 Bitwise SET operation for Aux. mode of MCDA1
0: Keep
1: SET bits
6:4 GPIO33 Bitwise SET operation for Aux. mode of MCDA0
0: Keep
1: SET bits
Y
NL
Bit(s) Mnemonic Name Description
2:0 GPIO32 Bitwise SET operation for Aux. mode of MCCM0
US IAL
0: Keep
1: SET bits
EO
GPIO_MODE4_
A0020C48 GPIO Mode Control 00000000
hk T
CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
m. EN
Name GPIO39 GPIO38 GPIO37 GPIO36
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO35 GPIO34 GPIO33 GPIO32
Type WO WO WO WO
Reset
.co ID
0 0 0
1: CLR bits
26:24 GPIO38 Bitwise CLR operation for Aux. mode of SIM1_SRST
0: Keep
u@ C
1: CLR bits
22:20 GPIO37 Bitwise CLR operation for Aux. mode of SIM1_SIO
0: Keep
.Li K
1: CLR bits
18:16 GPIO36 Bitwise CLR operation for Aux. mode of MCDA3
0: Keep
no TE
1: CLR bits
14:12 GPIO35 Bitwise CLR operation for Aux. mode of MCDA2
0: Keep
1: CLR bits
Ar IA
0: Keep
1: CLR bits
2:0 GPIO32 Bitwise CLR operation for Aux. mode of MCCM0
0: Keep
1: CLR bits
FO M
Y
NL
Name GPIO43 GPIO42 GPIO41 GPIO40
Type RW RW RW RW
Reset 0 0 0 0 0 1 0 0 1 0 0 1
US IAL
Overview: Configures GPIO aux. mode
EO
Bit(s) Mnemonic Name Description
30:28 GPIO47 Aux. mode of GPIO_47
hk T
0: GPIO47 (IO)
1: LSCK0 (O)
m. EN
2: Reserved
3: CMPDN (O)
4: Reserved
5: Reserved
6: Reserved
7: Reserved
26:24
.co ID GPIO46 Aux. mode of GPIO_46
0:
1:
2:
GPIO46
LSCE_B0
EINT20
(IO)
(O)
(I)
sac NF
3: CMCSD0 (I)
4: CLKO4 (O)
5: Reserved
6: Reserved
7: Reserved
O
2: Reserved
3: CMRST (O)
4: Reserved
5: Reserved
.Li K
6: Reserved
7: Reserved
no TE
5: Reserved
6: Reserved
7: Reserved
14:12 GPIO43 Aux. mode of GPIO_43
R ED
0: GPIO43 (IO)
1: SCL (IO)
2: Reserved
3: Reserved
4: Reserved
FO M
5: Reserved
6: Reserved
7: Reserved
10:8 GPIO42 Aux. mode of GPIO_42
0: GPIO42 (IO)
1: SIM2_SCLK (IO)
2: LSCE1_B1 (O)
3: Reserved
4: SDA18 (IO)
5: Reserved
Y
NL
Bit(s) Mnemonic Name Description
6: Reserved
US IAL
7: Reserved
6:4 GPIO41 Aux. mode of GPIO_41
EO
0: GPIO41 (IO)
1: SIM2_SRST (IO)
2: CLKO3 (O)
3: U2CTS (I)
4: SCL18 (IO)
hk T
5: Reserved
6: Reserved
m. EN
7: Reserved
2:0 GPIO40 Aux. mode of GPIO_40
0: GPIO40 (IO)
1: SIM2_SIO (IO)
2: Reserved
.co ID 3:
4:
5:
6:
7: Reserved
U2RTS (O)
Reserved
Reserved
Reserved
sac NF
GPIO_MODE5_
A0020C54 GPIO Mode Control 00000000
O
SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO47 GPIO46 GPIO45 GPIO44
u@ C
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO43 GPIO42 GPIO41 GPIO40
.Li K
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
no TE
0: Keep
1: SET bits
22:20 GPIO45 Bitwise SET operation for Aux. mode of TESTMODE_D
0: Keep
1: SET bits
FO M
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
6:4 GPIO41 Bitwise SET operation for Aux. mode of SIM2_SRST
0: Keep
EO
1: SET bits
2:0 GPIO40 Bitwise SET operation for Aux. mode of SIM2_SIO
0: Keep
1: SET bits
hk T
m. EN
GPIO_MODE5_
A0020C58 GPIO Mode Control 00000000
CLR
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO47 GPIO46 GPIO45 GPIO44
Type
Reset
Bit
Name
15 .co ID
0
14
WO
0
13
GPIO43
0
12 11
0
10
WO
0
9
GPIO42
0
8 7
0
6
WO
0
5
GPIO41
0
4 3
0
2
WO
0
1
GPIO40
0
0
sac NF
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
0: Keep
1: CLR bits
26:24 GPIO46 Bitwise CLR operation for Aux. mode of LSCE_B
.Li K
0: Keep
1: CLR bits
22:20 GPIO45 Bitwise CLR operation for Aux. mode of TESTMODE_D
no TE
0: Keep
1: CLR bits
18:16 GPIO44 Bitwise CLR operation for Aux. mode of SDA28
0: Keep
Ar IA
1: CLR bits
14:12 GPIO43 Bitwise CLR operation for Aux. mode of SCL28
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
2:0 GPIO40 Bitwise CLR operation for Aux. mode of SIM2_SIO
0: Keep
1: CLR bits
Y
NL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO55 GPIO54 GPIO53 GPIO52
Type RW RW RW RW
US IAL
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EO
Name GPIO51 GPIO50 GPIO49 GPIO48
Type RW RW RW RW
Reset 0 0 1 0 0 0 0 0 0 0 0 0 0
hk T
Overview: Configures GPIO aux. mode
m. EN
Bit(s) Mnemonic Name Description
30:28 GPIO55 Aux. mode of GPIO_55
0: AGPIO55 (AGIO)
1: Reserved
2: Reserved
.co ID 3:
4:
5:
6:
Reserved
Reserved
Reserved
Reserved
sac NF
7: Reserved
26:24 GPIO54 Aux. mode of GPIO_54
0: AGPIO54 (AGIO)
1: Reserved
2: Reserved
O
3: Reserved
4: Reserved
5: Reserved
u@ C
6: Reserved
7: Reserved
22:20 GPIO53 Aux. mode of GPIO_53
0: AGPIO53 (AGI)
.Li K
1: SRCLKENAI (I)
2: EINT24 (I)
3: Reserved
no TE
4: Reserved
5: Reserved
6: Reserved
7: Reserved
18:16 GPIO52 Aux. mode of GPIO_52
Ar IA
0: AGPI52 (AGI)
1: Reserved
2: EINT23 (I)
3: Reserved
R ED
4: Reserved
5: Reserved
6: Reserved
7: Reserved
14:12 GPIO51 Aux. mode of GPIO_51
FO M
0: GPIO51 (IO)
1: RESETB (IO)
2: Reserved
3: Reserved
4: Reserved
5: Reserved
6: Reserved
7: Reserved
11:8 GPIO50 Aux. mode of GPIO_50
0: GPIO50 (IO)
Y
NL
Bit(s) Mnemonic Name Description
1: LPTE (I)
US IAL
2: EINT22 (I)
3: CMCSK (I)
4: CMCSD2 (I)
EO
5: Reserved
6: MCINS (I)
7: Reserved
8: Reserved
hk T
9: CLKO5 (O)
6:4 GPIO49 Aux. mode of GPIO_49
m. EN
0: GPIO49 (IO)
1: LSA0DA0 (O)
2: LSCE1_B0 (O)
3: CMMCLK (O)
4: Reserved
5: Reserved
2:0
.co ID GPIO48
6:
7: Reserved
Aux. mode of GPIO_48
0: GPIO48
Reserved
(IO)
sac NF
1: LSDA0 (IO)
2: EINT21 (I)
3: CMCSD1 (I)
4: WIFITOBT (I)
5: Reserved
O
6: Reserved
7: Reserved
u@ C
GPIO_MODE6_
A0020C64 GPIO Mode Control 00000000
.Li K
SET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO55 GPIO54 GPIO53 GPIO52
no TE
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO51 GPIO50 GPIO49 GPIO48
Type WO WO WO WO
Ar IA
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
1: SET bits
US IAL
14:12 GPIO51 Bitwise SET operation for Aux. mode of RESETB
0: Keep
EO
1: SET bits
11:8 GPIO50 Bitwise SET operation for Aux. mode of LPTE
0: Keep
1: SET bits
hk T
6:4 GPIO49 Bitwise SET operation for Aux. mode of LSA0
0: Keep
m. EN
1: SET bits
2:0 GPIO48 Bitwise SET operation for Aux. mode of LSDA
0: Keep
1: SET bits
A0020C68
.co ID
GPIO_MODE6_
CLR
GPIO Mode Control 00000000
sac NF
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO55 GPIO54 GPIO53 GPIO52
Type WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
O
0: Keep
1: CLR bits
26:24 GPIO54 Bitwise CLR operation for Aux. mode of EINT
0: Keep
Ar IA
1: CLR bits
22:20 GPIO53 Bitwise CLR operation for Aux. mode of TP4
0: Keep
1: CLR bits
R ED
0: Keep
1: CLR bits
11:8 GPIO50 Bitwise CLR operation for Aux. mode of LPTE
0: Keep
1: CLR bits
6:4 GPIO49 Bitwise CLR operation for Aux. mode of LSA0
0: Keep
1: CLR bits
2:0 GPIO48 Bitwise CLR operation for Aux. mode of LSDA
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: CLR bits
EO
A0020D10 GPIO_TDSEL GPIO TDSEL Control 00000000
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
hk T
Name GPIO50
Type RW
Reset 0 0
m. EN
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO46 GPIO42 GPIO41 GPIO36 GPIO25 GPIO18 GPIO9 GPIO8
Type RW RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.co ID
Overview: GPIO TX duty control register
GPIO_TDSEL_S
A0020D14 GPIO TDSEL Control 00000000
ET
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO50
Ar IA
Type WO
Reset 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO46 GPIO42 GPIO41 GPIO36 GPIO25 GPIO18 GPIO9 GPIO8
R ED
Type WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Mnemonic Name Description
0: Keep
US IAL
1: SET bits
11:10 GPIO41 GPIO41_TDSEL Bitwise SET operation of GPIO41_TDSEL Tx duty control
EO
0: Keep
1: SET bits
9:8 GPIO36 GPIO36_TDSEL Bitwise SET operation of GPIO36_TDSEL Tx duty control
0: Keep
hk T
1: SET bits
7:6 GPIO25 GPIO25_TDSEL Bitwise SET operation of GPIO25_TDSEL Tx duty control
m. EN
0: Keep
1: SET bits
5:4 GPIO18 GPIO18_TDSEL Bitwise SET operation of GPIO18_TDSEL Tx duty control
0: Keep
1: SET bits
3:2
1:0
GPIO9
GPIO8
.co ID GPIO9_TDSEL
GPIO8_TDSEL
Bitwise SET operation of GPIO9_TDSEL Tx duty control
0:
1: SET bits
Bitwise SET operation of GPIO8_TDSEL Tx duty control
Keep
sac NF
0: Keep
1: SET bits
O
GPIO_TDSEL_C
A0020D18 GPIO TDSEL Control 00000000
LR
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name GPIO50
Type WO
.Li K
Reset 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPIO46 GPIO42 GPIO41 GPIO36 GPIO25 GPIO18 GPIO9 GPIO8
Type
no TE
WO WO WO WO WO WO WO WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1: CLR bits
15:14 GPIO46 GPIO46_TDSEL Bitwise CLR operation of GPIO46_TDSEL Tx duty control
0: Keep
1: CLR bits
13:12 GPIO42 GPIO42_TDSEL Bitwise CLR operation of GPIO42_TDSEL Tx duty control
FO M
0: Keep
1: CLR bits
11:10 GPIO41 GPIO41_TDSEL Bitwise CLR operation of GPIO41_TDSEL Tx duty control
0: Keep
1: CLR bits
9:8 GPIO36 GPIO36_TDSEL Bitwise CLR operation of GPIO36_TDSEL Tx duty control
0: Keep
1: CLR bits
Y
NL
Bit(s) Mnemonic Name Description
7:6 GPIO25 GPIO25_TDSEL Bitwise CLR operation of GPIO25_TDSEL Tx duty control
US IAL
0: Keep
1: CLR bits
EO
5:4 GPIO18 GPIO18_TDSEL Bitwise CLR operation of GPIO18_TDSEL Tx duty control
0: Keep
1: CLR bits
3:2 GPIO9 GPIO9_TDSEL Bitwise CLR operation of GPIO9_TDSEL Tx duty control
hk T
0: Keep
1: CLR bits
m. EN
1:0 GPIO8 GPIO8_TDSEL Bitwise CLR operation of GPIO8_TDSEL Tx duty control
0: Keep
1: CLR bits
A0020E00
Bit
Name
31
.co ID
CLK_OUT0
30 29 28
CLK Out Selection Control
27 26 25 24 23 22 21 20 19 18
00000004
17 16
sac NF
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT0
Type RW
O
Reset 0 1 0 0
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT1
Type RW
Reset 0 1 0 0
FO M
Y
NL
A0020E20 CLK_OUT2 CLK Out Selection Control 00000004
US IAL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
EO
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT2
hk T
Type RW
Reset 0 1 0 0
m. EN
Overview: CLK OUT2 setting
.co ID [1]:
[4]:
others: debug clock
26Mhz clock
32Khz_clock
sac NF
A0020E30 CLK_OUT3 CLK Out Selection Control 00000004
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
O
Name
Type
Reset
u@ C
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT3
Type RW
Reset 0 1 0 0
.Li K
[4]: 32Khz_clock
others: debug clock
R ED
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT4
Type RW
Reset 0 1 0 0
Y
NL
Bit(s) Mnemonic Name Description
3:0 CLK_OUT4 CFG4 Selects clock output for CLKO_4
US IAL
[1]: 26Mhz clock
[4]: 32Khz_clock
EO
others: debug clock
hk T
A0020E50 CLK_OUT5 CLK Out Selection Control 00000004
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
m. EN
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CLK_OUT5
Type RW
Reset
.co ID
Overview: CLK OUT5 setting
0 1 0 0
sac NF
Bit(s) Mnemonic Name Description
3:0 CLK_OUT5 CFG5 Selects clock output for CLKO_5
[1]: 26Mhz clock
[4]: 32Khz_clock
O
Three general-purpose timers are provided. Two timers are 16 bits long and one timer is 32 bits long.
Ar IA
Each runs independently. GPT1 ~ 2 use 32k clock source to count, whereas GPT4 uses 26M clock
source. The 26M clock source can be gated when the system enters the sleep mode, and this will
cause GPT4 to stop counting, whereas 32k clock source is always toggling. GPT1 and GPT2 can
R ED
operate in one of the two modes: one-shot mode and auto-repeat mode. GPT4 are free running timer.
In the one-shot mode, when the timer counts down and reaches 0, it will be halted. In the auto-repeat
mode, when the timer reaches 0, it will simply be reset to counting down the initial value and
repeating the count-down to 0. This loop keeps repeating until the disabling signal is set to 1.
FO M
Regardless of the timer’s mode, if the countdown initial value (i.e. GPTIMER1_DAT for GPT1 or
GPTIMER_DAT2 for GPT2) is written when the timer is running, the new initial value will not take
effect until the next time the timer is restarted. In the auto-repeat mode, the new countdown start
value is used on the next countdown iteration. Therefore, before enabling the timer, the desired values
for GPTIMER_DAT and the GPTIMER_PRESCALER registers must first be set.
Note that GPTimer’s design is inherited form MT6260, GPT3 is removed for achieving lower cost.
Y
NL
For other timers, register addresses are the same with those of MT6260.
US IAL
3.5.2 Register Definition
EO
Module name: GPTimer base address: (+A00C0000h)
hk T
Address Name Width Register function
A00C0000 GPTIMER1_CON 32 GPT1 control register
m. EN
A00C0004 GPTIMER1_DAT 32 GPT1 time-out interval register
A00C0008 GPTIMER2_CON 32 GPT2 control register
A00C000C GPTIMER2_DAT 32 GPT2 time-out Interval register
A00C0010 GPTIMER_STA 32 GPT status register
A00C0014
A00C0018
.co ID
GPTIMER1_PRESCALER
GPTIMER2_PRESCALER
32
32
GPT1 prescaler register
GPT2 prescaler register
sac NF
A00C0028 GPTIMER4_CON 32 GPT4 control register
A00C002C GPTIMER4_DAT 32 GPT4 data register
O
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
.Li K
Name EN MODE
Type RW RW
Reset 0 0
no TE
1: Enable GPT1
14 MODE MODE Controls GPT1 to count repeatedly (in a loop) or just one-shot
0: One-shot mode is selected.
R ED
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CNT
Type RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Y
NL
Bit(s) Mnemonic Name Description
Initial counting value
US IAL
15:0 CNT CNT GPT1 counts down from GPTIMER1_DAT. When GPT1 counts down
to 0, a GPT1 interrupt will be generated.
EO
A00C0008 GPTIMER2_CON GPT2 Control Register 00000000
hk T
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
m. EN
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name EN MODE
Type RW RW
Reset 0 0
Bit(s)
15 EN
.co ID
Mnemonic Name
EN
Description
Controls GPT2 to start counting or to stop
sac NF
0: Disable GPT2
1: Enable GPT2
14 MODE MODE Controls GPT2 to count repeatedly (in a loop) or just one-shot
0: One-shot mode is selected.
O
Name
Type
Reset
no TE
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CNT
Type RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GPT2 GPT1
Type RC RC
Reset 0 0
Y
NL
Bit(s) Mnemonic Name Description
1 GPT2 GPT2 GP timer time-out status
US IAL
Each flag is set when the corresponding timer count-down is
completed. Can be cleared when the CPU reads the status register.
EO
0 GPT1 GPT1 GP timer time-out status
Each flag is set when the corresponding timer count-down is
completed. Can be cleared when the CPU reads the status register.
hk T
m. EN
GPTIMER1_PRE
A00C0014 GPT1 Prescaler Register 00000004
SCALER
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit
Name
Type
15
.co ID
14 13 12 11 10 9 8 7 6 5 4 3 2 1
PRESCALER
RW
0
sac NF
Reset 1 0 0
0: 16,384Hz
1: 8,192Hz
PRESCALE 2: 4,096Hz
u@ C
7: 128Hz
no TE
GPTIMER2_PRE
A00C0018 GPT2 Prescaler Register 00000004
SCALER
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Ar IA
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R ED
Name PRESCALER
Type RW
Reset 1 0 0
Y
NL
US IAL
EO
A00C0028 GPTIMER4_CON GPT4 Control Register 00000000
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name LOCK EN
m. EN
Type RW RW
Reset 0 0
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
no TE
Name CNT[15:0]
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Ar IA
When the GPT is in running status, GPTIMER_DAT cannot be configured. To start GPT1 or GPT2,
SW should make sure the timer has finished counting for at least 3 cycles of the 32kHz clock.
Y
NL
3.6 MCU OSTIMER
US IAL
3.6.1 Overview
EO
Clock Control
hk T
Sleep
m. EN
Processor APB OS Timer
Manager
.co ID IRQ
Controller
Wakeup
Sources
sac NF
Figure 31. OS timer system view
The OS timer is a hardware timer which specifies the OS time frame duration and generates time-out
interrupts by programming the frame counter number. The OS timer has the pause mode. The user
O
can specify pause duration period before the pause mode, and the timer will resume from the pause
mode by the external wakeup sources or when the pause duration is timed out.
u@ C
3.6.2 Terminology
.Li K
Abbreviation
R/W Read/Write
RO Read only
Ar IA
WO Write only
W1C Write 1 to clear
R/W1C Read/Write 1 to clear
R ED
Y
NL
Table 47. Wakeup sources
US IAL
No Wakeup source
EO
0 GPT
1 EINT
2 Timer trigger
hk T
3 KP
4 MSDC
m. EN
5 ANALOG
6 DSP
7 MSDC2
8 SPISLV
.co ID 9
10
11
Reserved
Reserved
DSP_ASYNC
sac NF
12 Reserved
13 Reserved
14 Reserved
O
15 Reserved
16 Reserved
u@ C
5 ANALOG Edge/Level
6 DSP Level DSP_CK
7 MSDC2 Level
R ED
8 SPISLV Level
9 Reserved
10 Reserved
11 DSP_ASYNC Level DSP_CK
FO M
12 Reserved
13 Reserved
14 Reserved
15 Reserved
16 Reserved
Y
NL
Processor
US IAL
EO
IRQ Controller
Wakeup_irq_b
irq_b
hk T
Wakeup Source
OST WAKEUP
m. EN
Wakeup_event_b CONTROL
.co ID
wakeup_irq_b may be asserted before wakeup_event_b is asserted from the wakeup source
peripheral to ensure the software will enter wakeup ISR after the pause command is set.
sac NF
Recommended software programming sequence:
1. I-BIT is set when a pause command is executed.
2. Set up IRQ mask registers to select IRQ wakeup sources
O
5. Confirm the pause command is executed at OST, and check if the pause command is pending or
not.
6. Set up processor in request for interrupt state.
.Li K
resumes).
9. Clear I-BIT.
Ar IA
Y
NL
Address Name Width Register function
Specifies OS timer frame duration with 30.5176 micron
US IAL
second (32kHz) resolution. The maximum duration is 8ms
and minimum duration is 1ms. This register should be set
before the OS timer is enabled.
EO
OST_FRAM_F32K*30.5176us should be less than
OST_FRM_NUM*OST_FRM*1us - 30.5176us.
Set up OST_FRM_NUM if the frame duration is shorter than
system settling time.
hk T
OS timer un-alignment frame number
Specifies OS timer un-alignment event frame number count.
m. EN
This register value is updated to OS timer only when
OST_CMD.OST_WR is set. The read value of this register
may not be the current OS time Un-alignment frame number.
The hardware will count down the OST_UFN counter at
0XA01F0014 OST_UFN 32 frame time-out and stop the count-down when the current
0XA01F0018 OST_AFN 32 frame time-out and stop the count-down when the current
value is 0. The hardware will set OST_ISR[1] when
OST_AFN is 1 or 0 at frame time-out, and the OS timer is in
normal mode. OST_AFN is current hardware AFN down
.Li K
Y
NL
Address Name Width Register function
OS timer event mask
US IAL
OST_EVENT_MAS
0XA01F0050 32 Specifies which wakeup event will be masked to wake up the
K
OS timer in the OS timer pause mode.
EO
OST_WAKEUP_ST
0XA01F0054 32 OS timer event wakeup status
A
OST_DBG_WAKE
0XA01F0060 32 OS timer debug wakeup
UP
hk T
m. EN
0XA01F0000 OS Timer Control Register OST_CON
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
Type
Reset
Bit
Name
15 .co ID
14 13 12 11 10 9 8 7 6 5 4 3 2
OST_ UFN_
DBG DOWN
1
EN
0
sac NF
Type RW RW RW
Reset 0 1 0
Overview: This registers is only updated when OST_CMD.OST_WR is set and OST_STA.WR_RDY is high.
O
0 EN Enables OS timer
0: OS timer is disabled. Then all internal timers are stopped.
1: OS Timer is enabled. The software has to ensure OST_AFN, OST_UFN,
OST_FRAM are configured before enabling the OS timer.
Ar IA
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name OST_KEY
Type WO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FO M
Overview: The command is only valid when the write data BIT31 to BIT16 is 0x1153.
Y
NL
Bit(s) Name Description
31:16 OST_KEY
US IAL
15 OST_CON_WR Updates OST_CON when the OST_WR command is active.
14 OST_AFN_WR Updates OST_AFN when the OST_WR command is active.
EO
13 OST_UFN_WR Updates OST_UFN when the OST_WR command is active.
2 OST_WR Write 1 to this bit to update the bus clock domain OS timer configuration into
the OST SYSCLK domain
hk T
1 OST_RD Write 1 to this bit to update the current OS timer status to the bus clock
domain
m. EN
0 PAUSE_STR Write 1 to this bit to enable the OS timer pause function. The command will be
ignored if the current OST UFN is less than 2. The software has to ensure
OST_CMD.OST_WR is completed before the next software pause sequence.
0XA01F0008
Bit
Name
31
.co ID
30 29 28
OS Timer Status
27 26 25 24 23 22 21 20 19 18
OST_STA
17 16
sac NF
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CPU_ AFN_
CMD_ READ
Name SLEE
O
DLY_ PAUSE_REQ
CPL Y
P OVER
Type RO RO RO RO RO
Reset
u@ C
0 0 0 0 1 0
.Li K
no TE
Ar IA
R ED
FO M
Y
NL
US IAL
EO
hk T
m. EN
.co ID
sac NF
O
u@ C
.Li K
no TE
0: Active
1: Sleep
6 AFN_DLY_OVER AFN_DLY counter overflows. This bit is cleared when AFN is updated.
0: Does not overflow
FO M
1: Overflow
4:3 PAUSE_REQ An OS timer pause request is pending. A pause command will be
completed when the pause command is set.
1. Processor is in the sleep mode (processor clock is off), UFN ≥ 2 and no
wakeup sources
2. Any wakeup sources are sensed after the pause command is set.
3. UFN < 2
00: The last pause command request is not completed yet (CP15 is not enable
Y
NL
Bit(s) Name Description
and no wakeup source).
US IAL
01: The last pause command request is completed with OST pause mode
being active.
EO
10: The last pause command request is completed with wakeup sources.
11: The last pause command request is completed with UFN < 2.
1 CMD_CPL OST command is completed. It takes several clocks from OST_CMD
being updated to command being active.
hk T
0: OST command is not completed.
1: OST command is completed.
m. EN
0 READY OS timer status
0: OST is in pause mode.
1: OST is in normal mode.
0XA01F000C
Bit 31
.co ID
30 29 28
OS Timer Frame Duration
27 26 25 24 23 22 21 20 19 18
OST_FRM
17 16
sac NF
Name
Type
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_FRM
O
Type RW
Reset 1 0 0 0 0 0 1 0 0 1 0 0 1
u@ C
Overview: This register specifies the OS timer frame duration by micron second resolution. The maximum
duration is 8ms and minimum duration is 1ms. This register should be set before the OS timer is enabled. The
hardware will set up OST_ISR[0] periodically at frame duration period when the OS timer is enabled.
.Li K
12:0 OST_FRM
Ar IA
Reset
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_UFN OST_FRM_F32K
Type RW RW
Reset 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
FO M
Overview: This register specifies the OS timer frame duration with 30.5176 micron second (32kHz) resolution.
The maximum duration is 8ms and minimum duration is 1ms. This register should be set up before the OS timer
is enabled. OST_FRAM_F32K*30.5176us should be less than OST_FRM_NUM*OST_FRM*1us - 30.5176us. Set
up OST_FRM_NUM if the frame duration is shorter than the system settling time.
Y
NL
Bit(s) Name Description
15:12 OST_UFN
US IAL
11:0 OST_FRM_F32K
EO
0XA01F0014 OS Timer Un-alignment Frame Number OST_UFN
hk T
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name OST_UFN[31:16]
Type RW
m. EN
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_UFN[15:0]
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.co ID
Overview: This register specifies the OS timer un-alignment event frame number count. This register value is
updated to the OS timer only when OST_CMD.OST_WR is set. The read value of this register may not be the
sac NF
current OS time un-alignment frame number. The hardware will count down the OST_UFN counter at frame time-
out and stop the count-down when the current value is 0. When the OS timer is in the pause mode, this counter is
still active and wakes up the OS timer when OST_UFN becomes 0 at frame time-out boundary. The software
should enable the OS timer pause mode when OST_UFN is larger than 1, or the pause command will be ignored
O
by hardware.
u@ C
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name OST_AFN[31:16]
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Ar IA
Name OST_AFN[15:0]
Type RW
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R ED
Overview: This register specifies the OS timer alignment event frame number count. This register value is
updated to the OS timer only when OST_CMD.OST_WR is set. The read value of this register may not be the
current OS time alignment frame number. The hardware will count down the OST_AFN counter at frame time-out
and stop the count-down when the current value is 0. The hardware will set up OST_ISR[1] when OST_AFN is 1
FO M
or 0 at frame time-out and the OS timer is in the normal mode. OST_AFN is the current hardware AFN down
counter value, and the software cannot read this register directly. The software can only read the current frame
number through the OST_AFN_R register, and there is synchronization latency from OST_AFN to OST_AFN_R.
Y
NL
0XA01F001C OS Timer Alignment Frame Delay Number Count OST_AFN_DLY
US IAL
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
EO
Name OST_AFN_DLY[31:16]
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_AFN_DLY[15:0]
hk T
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
m. EN
Overview: This register specifies the OS Timer Alignment event frame delay count due to OS timer pause mode.
Software has to use OST_CMD.OST_RD command to update this register value, or the value maybe out of date.
Bit(s)
31:0
Name
.co ID
OST_AFN_DLY
Description
sac NF
0XA01F0020 Current OS Timer Un-alignment Frame Number OST_UFN_R
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name OST_UFN_R[31:16]
O
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
u@ C
Name OST_UFN_R[15:0]
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
.Li K
Overview: This register specifies the OS timer current un-alignment frame number. The software has to use the
no TE
OST_CMD.OST_RD command to update this register value, or the value may be out of date.
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name OST_AFN_R[31:16]
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FO M
Name OST_AFN_R[15:0]
Type RO
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Overview: This register specifies the OS timer current alignment frame number. The software has to use the
OST_CMD.OST_RD command to update this register value, or the value may be out of date.
Y
NL
Bit(s) Name Description
31:0 OST_AFN_R
US IAL
EO
0XA01F0030 OS Timer Interrupt Mask OST_INT_MASK
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Name
hk T
Type
Reset
m. EN
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_INT_MASK
Type RW
Reset 1 1 1 1 1
Bit(s) Name
.co ID
Overview: This register specifies the OS timer interrupt mask control.
Description
sac NF
0: Mask OS timer frame time-out interrupt
1: Mask OS timer alignment frame time-out interrupt
4:0 OST_INT_MASK 2: Mask OS timer un-alignment frame time-out interrupt
3: Mask OS timer pause abort interrupt
O
Name
Type
Reset
no TE
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_ISR
Type W1C
Reset 0 0 0 0 0
Ar IA
Overview: This register specifies the OS timer interrupt status. The software has to write 1 to the corresponding
bit to clear the interrupt status bit. OSR_ISR[2-0] are also cleared when the OSR_WR command is executed and
AFN, UFN are updated.
R ED
Y
NL
OST_EVENT_MASK
Name
[18:16]
Type RW
US IAL
Reset 0 1 1
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
EO
Name OST_EVENT_MASK[15:0]
Type RW
Reset 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
hk T
Overview: This register specifies which wakeup event will be masked to wake up the OS timer in the OS timer
pause mode.
m. EN
Bit(s) Name Description
18:0 OST_EVENT_MASK
0XA01F0054
.co ID OS Timer Event Wakeup Status OST_WAKEUP_STA
sac NF
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
OST_WAKEUP_STA
Name
[18:16]
Type RO
Reset 0 0 0
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_WAKEUP_STA[15:0]
Type RO
u@ C
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18:0 OST_WAKEUP_STA
no TE
CIRQ_
OST_DBG_WAKEU
Name MASK
P[18:16]
_EN
Type RW
Reset 0 0 0 0
R ED
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name OST_DBG_WAKEUP[15:0]
Type
Reset 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FO M
Y
NL
To OST Wakeup Contol
US IAL
EO
OST_DBG
MUX
1
hk T
DBG_WAKE[0] DBG_WAKE[1] DBG_WAKE[n]
m. EN
OST_DBG_WAKEUP DeMUX
.co ID
sac NF
GPT_EVENT_B Wakeup Sources
3.7 UART1
u@ C
The baseband chipset houses two UARTs. The UARTs provide full duplex serial communication
channels between baseband chipset and external dev ices.
no TE
The UART has M16C450 and M16550A modes of operation, which are compatible with a range of
standard software drivers. The extensions have been designed to be broadly software compatible
with 16550A variants, but certain areas offer no consensus.
Ar IA
In common with the M16550A, the UART supports word lengths from 5 to 8 bits, an optional parity
bit and one or two stop bits, and is fully programmable by an 8-bit CPU interface. A 16-bit
R ED
programmable baud rate generator and an 8-bit scratch register are included, together with separate
transmit and receive FIFOs. 8 modem control lines and a diagnostic loop-back mode are provided.
UART also includes two DMA handshake lines, indicating when the FIFOs are ready to transfer data
to the CPU. Interrupts can be generated from any of the 10 sources.
FO M
Note that UART is designed so that all internal operation is synchronized by the CLK signal. This
synchronization results in minor timing differences between the UART and industry standard 16550A
device, which means that the core is not clock for clock identical to the original device.
After a hardware reset, UART will be in M16C450 mode. Its FIFOs can then be enabled and UART
can enter M16550A mode. UART has further functions beyond the M16550A mode. Each of the
Y
NL
extended functions can be selected individually under software control.
US IAL
UART provides more powerful enhancements than the industry-standard 16550:
EO
Hardware flow control. This feature is very useful when the ISR latency is hard to predict and
control in the embedded applications. The MCU is relieved of having to fetch the received data
within a fixed amount of time.
hk T
Note that in order to enable any of the enhancements, the Enhanced Mode bit, EFR[4], must be set. If
m. EN
EFR[4] is not set, IER[7:5], FCR[5:4], IIR[5:4] and MCR[7:6] cannot be written. The enhanced mode
bit ensures that UART is backward compatible with the software that has been written for 16C450 and
16550A devices. Figure 35 is the block diagram of the UART1 device.
Baud Divisor
sac NF
Clock
TX Machine Uart_tx_data
TX FIFO
O
APB
APB Bus
BUS RX FIFO
RX Machine
u@ C
I/F Uart_rx_data
Control
Modem Inputs
no TE
Y
NL
Address Name Width Register Function
IER[3:0] are modified when LCR[7] = 0.
US IAL
IER[7:4] are modified when LCR[7] = 0 & EFR[4] = 1.
Divisor Latch (MS)
EO
A0080004 DLM 8 uesd to divid the bclk frequency .*NOTE: modified when
LCR[7]!=0
Interrupt Identification Register
Note: Only when LCR!=BF'h. Priority is from high to low as
hk T
the following.
IIR[5:0]=0X1: No interrupt pending
m. EN
IIR[5:0]=0X6: Line status interrupt (under IER[2]=1)
IIR[5:0]=0Xc: RX data time-out interrupt (under IER[0]=1)
A0080008 IIR 8 IIR[5:0]=0X4: RX data are placed in the RX bBuffer register
or the RX trigger level is reached. (under IER[0]=1).
IIR[5:0]=0X2: TX holding register is empty or the contents of
.co ID the TX FIFO have been reduced to its trigger level (under
IER[1]=1).
IIR[5:0]=0X10: XOFF
IER[5]=1,EFR[4] = 1).
character received (under
sac NF
FIFO Control Register
FCR is used to control the trigger levels of the FIFOs or
A0080008 FCR 8 flush the FIFOs.
FCR[7:6] is modified when LCR != BFh
FCR[5:4] is modified when LCR != BFh & EFR[4] = 1
O
A0080014 LSR 8
Modified when LCR != BFh.
XOFF1 Char Register
A0080018 XOFF1 8
*Note: XOFF1 is modified only when LCR=BF'h.
R ED
Scratch Register
A008001C SCR 8 A general purpose read/write register. After reset, its value
will be un-defined.
Modified when LCR != BFh.
A0080020 AUTOBAUD_EN 8 Auto Baud Detect Enable Register
FO M
Y
NL
Address Name Width Register Function
921600 = 13000000/14. Therefore, sample_count = 13, and
US IAL
sample point = 6 (sampling the central point to decrease the
inaccuracy)
SAMPLE_POINT is usually (SAMPLE_COUNT-1)/2 without
EO
decimal.
Auto Baud Monitor Register
A0080030 AUTOBAUD_REG 8 the autobaud detection state ,it will not change until enable
hk T
the autobaud_en again.
A0080034 RATEFIX_AD 8 Clock Rate Fix Register
m. EN
Auto Baud Sample Register
Since the system clock may change, autobaud sample
AUTOBAUDSAMPL duration should change as the system clock changes.
A0080038 8
E When system clock = 13MHz, autobaudsample = 6; when
system clock = 26MHz, autobaudsample = 13. When system
A008003C
A0080040
.co ID
GUARD
ESCAPE_DAT
8
8
clock = 52MHz, autobaudsample = 27.
Guard Time Added Register
Escape Character Register
sac NF
A0080044 ESCAPE_EN 8 Escape Enable Register
A0080048 SLEEP_EN 8 Sleep Enable Register
A008004C DMA_EN 8 DMA Enable Register
A0080050 RXTRI_AD 8 Rx Trigger Address
O
Name RBR
Type RU
Reset 0 0 0 0 0 0 0 0
Ar IA
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name THR
Type WO
Reset 0 0 0 0 0 0 0 0
Y
NL
Bit(s) Name Description
Only when LCR[7] = 0.
US IAL
EO
A0080000 DLL Divisor Latch (LS) 01
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DLL
hk T
Type RW
Reset 0 0 0 0 0 0 0 1
m. EN
Bit(s) Name Description
Divisor latch low 8-bit data
7:0 DLL
Note: Modified when LCR[7]!=0.
A0080004
.co ID
IER Interrupt Enable Register 00
sac NF
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name CTSI RTSI XOFFI EDSSI ELSI ETBEI ERBFI
Type RW RW RW RW RW RW RW
Reset 0 0 0 0 0 0 0
O
Note: This interrupt is only enabled when hardware flow control is enabled.
0: Mask an interrupt that is generated when a rising edge is detected on the CTS
modem control line.
1: Unmask an interrupt that is generated when a rising edge is detected on the CTS
.Li K
Note: This interrupt is only enabled when hardware flow control is enabled.
0: Mask an interrupt that is generated when a rising edge is detected on the RTS
modem control line.
1: Unmask an interrupt that is generated when a rising edge is detected on the RTS
modem control line.
Ar IA
3 EDSSI When set to 1, an interrupt will be generated if DCTS (MSR[0]) becomes set.
0: No interrupt is generated if DCTS (MSR[0]) becomes set.
1: An interrupt is generated if DCTS (MSR[0]) becomes set.
2 ELSI When set to1, an interrupt will be generated if BI, FE, PE or OE (LSR[4:1])
becomes set.
FO M
Y
NL
Bit(s) Name Description
0: No interrupt will be generated if RX data are placed in the RX buffer register or the RX
US IAL
trigger level is reached.
1: An interrupt will be generated if RX Data are placed in the RX buffer register or the
RX trigger level is reached.
EO
A0080004 DLM Divisor Latch (MS) 00
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DLM
m. EN
Type RW
Reset 0 0 0 0 0 0 0 0
.co ID Note: Modified when LCR[7]!=0. DLL & DLM can only be updated when DLAB(LCR[7])
is set to 1. Division by 1 will generate a BAUD signal that is constantly high. DLL & DLM
setting formula is {DLH,DLL}=(system clock frequency/baud_pulse/baud_rate).
When RATE_FIX(RATEFIX_AD[0])=0, system clock frequency = 52MHz.
sac NF
When RATE_FIX(RATEFIX_AD[0])=1 and RATE_FIX(RATEFIX_AD[2])=0, system clock
7:0 DLM
frequency = 26MHz.
When RATE_FIX(RATEFIX_AD[0])=1 and RATE_FIX(RATEFIX_AD[2])=1, system clock
frequency = 13MHz.
For baud_pulse value, refer to HIGH_SPEED(offset=24H) register
For example, when at 52MHz, default speed mode and 115200 baud rate,
O
{DLH,DLL}=52MHz/16/115200=28.
u@ C
Name FIFOE ID
Type RO RU
Reset 0 0 0 0 0 0 0 1
no TE
Line status interrupt: A RX line status interrupt (IIR[5:0] = 000110b) will be generated if
ELSI (IER[2]) is set and any of BI, FE, PE or OE (LSR[4:1]) becomes set. The interrupt
is cleared by reading the line status register.
RX data time-out interrupt: When the virtual FIFO mode is disabled, RX data time-out
Y
NL
Bit(s) Name Description
interrupt will be generated if all of the following conditions are applied:
US IAL
1. FIFO contains at least one character.
2. The most recent character is received longer than four character periods ago
(including all start, parity and stop bits);
EO
3. The most recent CPU read of the FIFO is longer than four character periods ago.
The timeout timer is restarted upon receipt of a new byte from the RX shift register or
upon a CPU read from the RX FIFO.
hk T
The RX data time-out interrupt is enabled by setting EFRBI (IER[0]) to 1 and is cleared
by reading RX FIFO.
m. EN
When the virtual FIFO mode is enabled, RX data time-out interrupt will be generated if
all of the following conditions are applied:
1. FIFO is empty.
2. The most recent character is received longer than four character periods ago
(including all start, parity and stop bits).
3. The most recent CPU read of the FIFO is longer than four character periods ago.
.co ID The timeout timer is restarted upon receipt of a new byte from the RX shift register or
reading DMA_EN register.
The RX Data Timeout Interrupt is enabled by setting EFRBI (IER[0]) to 1 and is cleared
by reading DMA_EN register.
sac NF
RX data received interrupt: A RX received interrupt (IER[5:0] = 000100b) is generated
if EFRBI (IER[0]) is set and either RX data are placed in the RX buffer register or the RX
trigger level is reached. The interrupt is cleared by reading the RX buffer register or the
RX FIFO (if enabled).
O
Software flow control interrupt: A software flow control interrupt (IIR[5:0] = 010000b)
will be generated if the software flow control is enabled and XOFFI (IER[5]) becomes
no TE
set, indicating that an XOFF character has been received. The interrupt is cleared by
reading the interrupt identification register.
(IER[6]) or CTSI (IER[7]) becomes set indicating that a rising edge has been detected
on either the RTS/CTS modem control line. The interrupt is cleared by reading the
interrupt identification register.
R ED
Type WO WO WO WO WO
Reset 0 0 0 0 0 0 0
Y
NL
Bit(s) Name Description
3: RXTRIG
US IAL
5:4 TFTL1_TFTL0 TX FIFO trigger threshold
TX FIFO contains total 32 bytes.
EO
0: 1
1: 4
2: 8
3: 14
2 CLRT Control bit to clear TX FIFO
hk T
0: No effect
1: Clear TX FIFO
m. EN
1 CLRR Control bit to clear RX FIFO
0: No effect
1: Clear RX FIFO
0 FIFOE Enables FIFO
This bit must be set to 1 for any of other bits in the registers to have any effect.
.co ID 0: Disable
1: Enable both RX and TX FIFOs.
both RX and TX FIFOs.
sac NF
A0080008 EFR Enhanced Feature Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name AUTO_ AUTO_ ENABL
SW_FLOW_CONT
CTS RTS E_E
O
Type RW RW RW RW
Reset 0 0 0 0 0 0 0
u@ C
1: Enable
6 AUTO_RTS Enables hardware reception flow control
no TE
0: Disable
1: Enable
4 ENABLE_E Enables enhancement feature
0: Disable
1: Enable
Ar IA
Y
NL
Bit(s) Name Description
0: RX and TX registers are read/written at Address 0 and the IER register is read/written
US IAL
at Address 4.
1: Divisor Latch LS is read/written at Address 0 and the Divisor Latch MS is read/written
at Address 4.
EO
6 SB Set break
0: No effect
1: SOUT signal is forced to the 0 state.
5 SP Stick parity
hk T
0: No effect.
1: The parity bit is forced to a defined state, depending on the states of EPS and PEN: If
EPS=1 & PEN=1, the parity bit will be set and checked = 0. If EPS=0 & PEN=1, the
m. EN
parity bit will be set and checked = 1.
4 EPS Selects even parity
0: When EPS=0, an odd number of ones is sent and checked.
1: When EPS=1, an even number of ones is sent and checked.
3 PEN Enables parity
2 STB
.co ID 0: The
STOP
is neither
1: The parity is transmitted and checked.
bit is
transmitted
always added.
nor checked.
sac NF
1: Two STOP bits are added after each character is sent; unless the character length is
5 when 1 STOP bit is added.
1:0 WLS1_WLS0 Selects word length
0: 5 bits
1: 6 bits
O
2: 7 bits
3: 8 bits
u@ C
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
XOFF_
Name STATU Loop RTS
no TE
S
Type RU RW RW
Reset 0 0 0
Y
NL
Bit(s) Name Description
US IAL
XON1 character for software flow control
7:0 XON1
Modified only when LCR=BF'h.
EO
A0080014 LSR Line Status Register 60
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIFOE
Name TEMT THRE BI FE PE OE DR
m. EN
RR
Type RU RU RU RU RU RU RU RU
Reset 0 1 1 0 0 0 0 0
6 TEMT
.co ID
FIFOERR RX FIFO error indicator
0: No PE, FE, BI set in the
1: Set to 1 when there is at least one PE, FE or BI in the RX FIFO.
TX holding register (or TX FIFO) and the TX shift register are empty.
RX FIFO.
sac NF
0: Empty conditions below are not met.
1: If FIFOs are enabled, the bit will be set whenever the TX FIFO and the TX shift
register are empty. If FIFOs are disabled, the bit will be set whenever TX holding register
and TX shift register are empty.
5 THRE Indicates if there is room for TX holding register or TX FIFO is reduced to its
O
trigger level
0: Reset whenever the contents of the TX FIFO are more than its trigger level (FIFOs
are enabled), or whenever TX holding register is not empty (FIFOs are disabled).
u@ C
1: Set whenever the contents of the TX FIFO are reduced to its trigger level (FIFOs are
enabled), or whenever TX holding register is empty and ready to accept new data
(FIFOs are disabled).
4 BI Break interrupt
.Li K
If the FIFOs are enabled, this error will be associated with a corresponding character in
the FIFO and is flagged when this byte is at the top of the FIFO. When a break occurs,
only one zero character is loaded into the FIFO: The next character transfer is enabled
when SIN goes into the marking state and receives the next valid start bit.
3 FE Framing error
Ar IA
Y
NL
A0080018 XOFF1 XOFF1 Char Register 00
US IAL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
EO
XOFF1
Type RW
Reset 0 0 0 0 0 0 0 0
hk T
XOFF1 character for software flow control
7:0 XOFF1
Modified only when LCR=BF'h.
m. EN
A008001C SCR Scratch Register 00
Bit
Name
Type
Reset
15
.co ID
14 13 12 11 10 9 8 7
0
6
0
5
0
4
0
SCR
RW
3
0
2
0
1
0
0
0
sac NF
Bit(s) Name Description
General purpose read/write register
7:0 SCR
After reset, its value will be undefined. Modified when LCR != BFh.
O
u@ C
baud char AT/at. If A*/a* is Inevitable, autobaud will fail and please disable
AUTOBAUD_EN to reset the autobaud feature and autobaud_en again.
Y
NL
Reset 0 0
US IAL
Bit(s) Name Description
UART sample counter base
EO
0: Based on 16*baud_pulse, baud_rate = system clock frequency/16/{DLH, DLL}
1:0 SPEED 1: Based on 8*baud_pulse, baud_rate = system clock frequency/8/{DLH, DLL}
2: Based on 4*baud_pulse, baud_rate = system clock frequency/4/{DLH, DLL}
3: Based on sampe_count * baud_pulse, baud_rate = system clock frequency /
(sampe_count+1)/{DLM, DLL}
hk T
m. EN
SAMPLE_COUN
A0080028 Sample Counter Register 00
T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
Type
Reset
.co ID 0 0 0
SAMPLECOUNT
0
RW
0 0 0 0
sac NF
Bit(s) Name Description
7:0 SAMPLECOUNT Only useful when HIGHSPEED mode = 3.
O
Name SAMPLEPOINT
Type RW
Reset 1 1 1 1 1 1 1 1
.Li K
when HIGHSPEED=3.
AUTOBAUD_RE
Ar IA
Type RU RU
Reset 0 0 0 0 0 0 0 0
0: Autobaud is detecting.
1: AT_7N1
2: AT_7O1
3: AT_7E1
4: AT_8N1
5: AT_8O1
6: AT_8E1
7: at_7N1
8: at_7E1
9: at_7O1
10: at_8N1
Y
NL
Bit(s) Name Description
11: at_8E1
US IAL
12: at_8O1
13: Autobaud detection fails
3:0 BAUD_RATE Autobaud baud rate (only true value in standard autobaud detection)
EO
0: 115,200
1: 57,600
2: 38,400
3: 19,200
hk T
4: 9,600
5: 4,800
6: 2,400
m. EN
7: 1,200
8: 300
9: 110
A0080034
Bit 15 .co ID
RATEFIX_AD
14 13 12
Clock Rate Fix Register
11 10 9 8 7 6 5 4 3 2 1
AUTOB
0
00
sac NF
FREQ_ AUD_R RATE_
Name
SEL ATE_FI FIX
X
Type RW RW RW
Reset 0 0 0
O
detection
0 RATE_FIX 0: Use 52MHz as system clock for UART TX/RX
1: Use 26MHz/13MHz (depending on FREQ_SEL) as system clock for UART TX/RX
no TE
AUTOBAUDSA
A0080038 Auto Baud Sample Register 0D
Ar IA
MPLE
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name AUTOBAUDSAMPLE
Type RW
R ED
Reset 0 0 1 1 0 1
Y
NL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name GUAR
GUARD_CNT
D_EN
US IAL
Type RW RW
Reset 0 1 1 1 1
EO
Bit(s) Name Description
4 GUARD_EN Guard interval add enabling signal
0: No guard interval added
hk T
1: Add guard interval after stop bit.
3:0 GUARD_CNT Guard interval count value
m. EN
Guard interval = [1/(system clock/div_step/div)]*GUARD_CNT.
1
6
1
5
1
4
ESCAPE_DAT
1
RW
1
3 2
1
1
1
0
1
sac NF
Bit(s) Name Description
Escape character added before software flow control data and escape character
7:0 ESCAPE_DAT
If TX data are xon (31h), with esc_en =1, UART will transmit data as esc + CEh (~xon).
O
u@ C
ESC_E
Name
N
Type RW
Reset 0
no TE
Type RW
Reset 0
Y
NL
Bit(s) Name Description
reach threshold level.
US IAL
EO
A008004C DMA_EN DMA Enable Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
TO_CN
FIFO_l TX_DM RX_DM
hk T
Name T_AUT
sr_sel A_EN A_EN
ORST
Type RW RW RW RW
m. EN
Reset 0 0 0 0
2 .co ID
TO_CNT_AUTORST
0: LSR will hold the first line status error state until you read the LSR register.
1: LSR will update automatically.
Time-out counter auto reset register
0: After RX time-out happens, SW shall reset the interrupt by reading UART 0x4C.
1: The time-out counter will be auto reset. Set this register when Rain's new DMA is
sac NF
used.
1 TX_DMA_EN TX_DMA mechanism enabling signal
0: Does not use DMA in TX
1: Use DMA in TX. When this register is enabled, the flow control will be based on the
DMA threshold and generate a time-out interrupt for DMA.for DMA.
O
1: Use DMA in RX. When this register is enabled, the flow control will be based on the
DMA threshold and generate a time-out interrupt
.Li K
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name RXTRIG
Type RW
Reset 0 0 0 0
Ar IA
Name FRACDIV_L
Type RW
Reset 0 0 0 0 0 0 0 0
Y
NL
A0080058 FRACDIV_M Fractional Divider MSB Address 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
Name FRACDIV_M
Type RW
EO
Reset 0 0
hk T
1:0 FRACDIV_M
when high_speed=3.
m. EN
A008005C FCR_RD FIFO Control Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
.co ID
RFTL1_RFTL0 TFTL1_TFTL0 CLRT CLRR FIFOE
Type RO RO RO RO RO
Reset 0 0 0 0 0 0 0
sac NF
Bit(s) Name Description
7:6 RFTL1_RFTL0 RX FIFO trigger threshold
RX FIFO contains total 32 bytes.
0: 1
1: 6
O
2: 12
3: RXTRIG
5:4 TFTL1_TFTL0 TX FIFO trigger threshold
u@ C
3: 14
2 CLRT 0: TX FIFO is not cleared.
1: TX FIFO is cleared.
no TE
3.8 UART2
3.8.1 General Description
FO M
The baseband chipset houses two UARTs. The UARTs provide full duplex serial communication
channels between baseband chipset and external dev ices.
The UART has M16C450 and M16550A modes of operation, which are compatible with a range of
standard software drivers. The extensions have been designed to be broadly software compatible
with 16550A variants, but certain areas offer no consensus.
Y
NL
In common with the M16550A, the UART supports word lengths from 5 to 8 bits, an optional parity
bit and one or two stop bits, and is fully programmable by an 8-bit CPU interface. A 16-bit
US IAL
programmable baud rate generator and an 8-bit scratch register are included, together with separate
transmit and receive FIFOs. 8 modem control lines and a diagnostic loop-back mode are provided.
EO
UART also includes two DMA handshake lines, indicating when the FIFOs are ready to transfer data
to the CPU. Interrupts can be generated from any of the 10 sources.
hk T
Note that UART is designed so that all internal operation is synchronized by the CLK signal. This
synchronization results in minor timing differences between the UART and industry standard 16550A
m. EN
device, which means that the core is not clock for clock identical to the original device.
After a hardware reset, UART will be in M16C450 mode. Its FIFOs can then be enabled and UART
can enter M16550A mode. UART has further functions beyond the M16550A mode. Each of the
.co ID
extended functions can be selected individually under software control.
Note that in order to enable any of the enhancements, the Enhanced Mode bit, EFR[4], must be set. If
u@ C
EFR[4] is not set, IER[7:5], FCR[5:4], IIR[5:4] and MCR[7:6] cannot be written. The enhanced mode
bit ensures that UART is backward compatible with the software that has been written for 16C450 and
.Li K
Baud Rate
Generator
Baud Divisor
Ar IA
Clock
TX Machine Uart_tx_data
TX FIFO
APB
R ED
APB Bus
BUS RX FIFO
RX Machine Uart_rx_data
I/F
Control
Modem Inputs
Y
NL
3.8.2 Register Definition
US IAL
Module name: UART2 Base address: (+A0090000h)
Address Name Width Register Function
EO
RX Buffer Register
A0090000 RBR 8
Note: Only when LCR[7] = 0.
TX Holding Register
A0090000 THR 8
hk T
Note: Only when LCR[7] = 0
Divisor Latch (LS)
m. EN
A0090000 DLL 8 Divides the bclk frequency
Note: Nodified when LCR[7]!=0
Interrupt Enable Register
Note: Only when LCR[7] = 0.
By storing 1 to a specific bit position, the interrupt associated
A0090004
.co ID
IER 8 with that bit is enabled. Otherwise, the interrupt will be
disabled.
IER[3:0] are modified when LCR[7]
IER[7:4] are modified when LCR[7] = 0 & EFR[4] = 1.
= 0.
sac NF
Divisor Latch (MS)
A0090004 DLM 8 uesd to divid the bclk frequency .*NOTE: modified when
LCR[7]!=0
Interrupt Identification Register
O
IER[1]=1).
IIR[5:0]=0X10: XOFF character received (under
IER[5]=1,EFR[4] = 1).
FIFO Control Register
FCR is used to control the trigger levels of the FIFOs or
Ar IA
Y
NL
Address Name Width Register Function
XOFF1 Char Register
US IAL
A0090018 XOFF1 8
*Note: XOFF1 is modified only when LCR=BF'h.
Scratch Register
EO
A009001C SCR 8 A general purpose read/write register. After reset, its value
will be un-defined.
Modified when LCR != BFh.
A0090020 AUTOBAUD_EN 8 Auto Baud Detect Enable Register
hk T
A0090024 HIGHSPEED 8 High Speed Mode Register
m. EN
Sample Counter Register
A0090028 SAMPLE_COUNT 8 When HIGHSPEED=3, sample_count will be the threshold
value for UART sample counter (sample_num).
Count from 0 to sample_count.
Sample Point Register
A009002C
.co ID
SAMPLE_POINT 8
When HIGHSPEED=3, UART gets the input data when
sample_count=sample_num, e.g. system clock = 13MHz,
921600 = 13000000/14. Therefore, sample_count = 13, and
sample point = 6 (sampling the central point to decrease the
sac NF
inaccuracy)
SAMPLE_POINT is usually (SAMPLE_COUNT-1)/2 without
decimal.
Auto Baud Monitor Register
A0090030 AUTOBAUD_REG 8 the autobaud detection state ,it will not change until enable
O
Y
NL
Bit(s) Name Description
Read-only register
US IAL
7:0 RBR The received data can be read by accessing this register.
Only when LCR[7] = 0.
EO
A0090000 THR TX Holding Register 00
hk T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name THR
m. EN
Type WO
Reset 0 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DLL
Type RW
u@ C
Reset 0 0 0 0 0 0 0 1
Y
NL
Bit(s) Name Description
RTS modem control line.
US IAL
5 XOFFI Masks an interrupt that is generated when an XOFF character is
received.
EO
Note: This interrupt is only enabled when software flow control is enabled.
0: Mask an interrupt that is generated when an XOFF character is received.
1: Unmask an interrupt that is generated when an XOFF character is received.
3 EDSSI When set to 1, an interrupt will be generated if DCTS (MSR[0]) becomes
hk T
set.
0: No interrupt is generated if DCTS (MSR[0]) becomes set.
m. EN
1: An interrupt is generated if DCTS (MSR[0]) becomes set.
2 ELSI When set to1, an interrupt will be generated if BI, FE, PE or OE (LSR[4:1])
becomes set.
0: No interrupt is generated if BI, FE, PE or OE (LSR[4:1]) becomes set.
1: An interrupt is generated if BI, FE, PE or OE (LSR[4:1]) becomes set.
1
.co ID
ETBEI When set to 1, an interrupt will be generated if the TX holding register is
empty or the contents of the TX FIFO have been reduced to its trigger
level.
0: No interrupt will be generated if the TX holding register is empty or the
sac NF
contents of the TX FIFO have been reduced to its trigger level.
1: An interrupt will be generated if the TX folding register is empty or the
contents of the TX FIFO have been reduced to its trigger level.
0 ERBFI When set to 1, an interrupt will be generated if RX data are placed in RX
buffer register or the RX trigger level is reached.
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name DLM
Type RW
Reset 0 0 0 0 0 0 0 0
Ar IA
Y
NL
A0090008 IIR Interrupt Identification Register 01
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
Name FIFOE ID
Type RO RU
EO
Reset 0 0 0 0 0 0 0 1
hk T
7:6 FIFOE
5:0 ID IIR[5:0] Priority level interrupt source
m. EN
000001 - No interrupt pending
000110 1 Line status interrupt:
BI, FE, PE or OE set in LSR. (Under IER[2]=1)
001100 2 RX data time-out:
Time-out on character in RX FIFO. (Under IER[0]=1)
000100 3 RX data received:
becomes set. The interrupt is cleared by reading the line status register.
RX data time-out interrupt: When the virtual FIFO mode is disabled, RX data
time-out interrupt will be generated if all of the following conditions are applied:
.Li K
3. The most recent CPU read of the FIFO is longer than four character periods
ago.
The timeout timer is restarted upon receipt of a new byte from the RX shift
register or upon a CPU read from the RX FIFO.
Ar IA
When the virtual FIFO mode is enabled, RX data time-out interrupt will be
R ED
ago.
The timeout timer is restarted upon receipt of a new byte from the RX shift
register or reading DMA_EN register.
The RX Data Timeout Interrupt is enabled by setting EFRBI (IER[0]) to 1 and
is cleared by reading DMA_EN register.
Y
NL
Bit(s) Name Description
reading the RX buffer register or the RX FIFO (if enabled).
US IAL
TX holding register empty interrupt: A TX holding register empty interrupt
(IIR[5:0] = 000010b) is generated if ETRBI (IER[1]) is set and either the TX
EO
holding register is empty or the contents of the TX FIFO are reduced to its
trigger level. The interrupt is cleared by writing to the TX holding register or TX
FIFO if FIFO is enabled.
hk T
Modem status change interrupt: A modem status change Interrupt (IIR[5:0]
= 000000b) will be generated if EDSSI (IER[3]) is set and e DCTS (MSR[3:0])
becomes set. The interrupt is cleared by reading the modem status register.
m. EN
Software flow control interrupt: A software flow control interrupt (IIR[5:0] =
010000b) will be generated if the software flow control is enabled and XOFFI
(IER[5]) becomes set, indicating that an XOFF character has been received.
The interrupt is cleared by reading the interrupt identification register.
.co ID Hardware flow control interrupt: A hardware flow control interrupt (IER[5:0]
= 100000b) will be generated if the hardware flow control is enabled and either
RTSI (IER[6]) or CTSI (IER[7]) becomes set indicating that a rising edge has
sac NF
been detected on either the RTS/CTS modem control line. The interrupt is
cleared by reading the interrupt identification register.
O
3: RXTRIG
5:4 TFTL1_TFTL0 TX FIFO trigger threshold
TX FIFO contains total 32 bytes.
0: 1
R ED
1: 4
2: 8
3: 14
2 CLRT Control bit to clear TX FIFO
FO M
0: No effect
1: Clear TX FIFO
1 CLRR Control bit to clear RX FIFO
0: No effect
1: Clear RX FIFO
0 FIFOE Enables FIFO
This bit must be set to 1 for any of other bits in the registers to have any effect.
0: Disable both RX and TX FIFOs.
1: Enable both RX and TX FIFOs.
Y
NL
US IAL
A0090008 EFR Enhanced Feature Register 00
EO
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name AUTO AUTO ENAB
SW_FLOW_CONT
_CTS _RTS LE_E
Type RW RW RW RW
Reset 0 0 0 0 0 0 0
hk T
Bit(s) Name Description
m. EN
7 AUTO_CTS Enables hardware transmission flow control
0: Disable
1: Enable
6 AUTO_RTS Enables hardware reception flow control
4
.co ID
ENABLE_E
0:
1: Enable
Enables enhancement feature
0:
Disable
Disable
sac NF
1: Enable
3:0 SW_FLOW_CONT Software flow control bits
00xx: No TX flow control
01xx: No TX flow control
O
5 SP Stick parity
0: No effect.
1: The parity bit is forced to a defined state, depending on the states of EPS
and PEN: If EPS=1 & PEN=1, the parity bit will be set and checked = 0. If
EPS=0 & PEN=1, the parity bit will be set and checked = 1.
4 EPS Selects even parity
0: When EPS=0, an odd number of ones is sent and checked.
1: When EPS=1, an even number of ones is sent and checked.
Y
NL
Bit(s) Name Description
3 PEN Enables parity
US IAL
0: The parity is neither transmitted nor checked.
1: The parity is transmitted and checked.
EO
2 STB Number of STOP bits
0: One STOP bit is always added.
1: Two STOP bits are added after each character is sent; unless the character
length is 5 when 1 STOP bit is added.
hk T
1:0 WLS1_WLS0 Selects word length
0: 5 bits
m. EN
1: 6 bits
2: 7 bits
3: 8 bits
A0090010
Bit 15
.co ID
MCR
14 13 12
Modem Control Register
11 10 9 8 7
XOFF
6 5 4 3 2 1 0
00
sac NF
Name _STAT Loop RTS
US
Type RU RW RW
Reset 0 0 0
O
0: No loop-back is enabled.
1: Loop-back mode is enabled.
1 RTS Controls the state of the output NRTS, even in loop mode.
no TE
Type RW
Reset 0 0 0 0 0 0 0 0
Y
NL
Type RU RU RU RU RU RU RU RU
Reset 0 1 1 0 0 0 0 0
US IAL
Bit(s) Name Description
EO
7 FIFOERR RX FIFO error indicator
0: No PE, FE, BI set in the RX FIFO.
1: Set to 1 when there is at least one PE, FE or BI in the RX FIFO.
6 TEMT TX holding register (or TX FIFO) and the TX shift register are empty.
hk T
0: Empty conditions below are not met.
1: If FIFOs are enabled, the bit will be set whenever the TX FIFO and the TX
m. EN
shift register are empty. If FIFOs are disabled, the bit will be set whenever TX
holding register and TX shift register are empty.
5 THRE Indicates if there is room for TX holding register or TX FIFO is reduced to
its trigger level
0: Reset whenever the contents of the TX FIFO are more than its trigger level
.co ID (FIFOs are enabled), or whenever TX holding register is not empty (FIFOs are
disabled).
1: Set whenever the contents of the TX FIFO are reduced to its trigger level
(FIFOs are enabled), or whenever TX holding register is empty and ready to
sac NF
accept new data (FIFOs are disabled).
4 BI Break interrupt
0: Reset by the CPU reading this register
1: If the FIFOs are disabled, this bit will be set whenever the SIN is held in the
0 state for more than one transmission time (START bit + DATA bits + PARITY
O
+ STOP bits).
If the FIFOs are enabled, this error will be associated with a corresponding
character in the FIFO and is flagged when this byte is at the top of the FIFO.
u@ C
When a break occurs, only one zero character is loaded into the FIFO: The
next character transfer is enabled when SIN goes into the marking state and
receives the next valid start bit.
.Li K
3 FE Framing error
0: Reset by the CPU reading this register
1: If the FIFOs are disabled, this bit will be set if the received data do not have
no TE
a valid STOP bit. If the FIFOs are enabled, the state of this bit will be revealed
when the byte it refers to is the next to be read.
2 PE Parity error
0: Reset by the CPU reading this register
1: If the FIFOs are disabled, this bit will be set if the received data do not have
Ar IA
a valid parity bit. If the FIFOs are enabled, the state of this bit will be revealed
when the referred byte is the next to be read.
1 OE Overrun error
R ED
Y
NL
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name XOFF1
Type RW
US IAL
Reset 0 0 0 0 0 0 0 0
EO
Bit(s) Name Description
XOFF1 character for software flow control
7:0 XOFF1
Modified only when LCR=BF'h.
hk T
m. EN
A009001C SCR Scratch Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name SCR
Type RW
Reset
Bit(s) Name
.co ID Description
0 0 0 0 0 0 0 0
sac NF
General purpose read/write register
7:0 SCR
After reset, its value will be undefined. Modified when LCR != BFh.
O
Reset 0 0 0
again.
Y
NL
Bit(s) Name Description
US IAL
UART sample counter base
0: Based on 16*baud_pulse, baud_rate = system clock frequency/16/{DLH,
EO
DLL}
1:0 SPEED 1: Based on 8*baud_pulse, baud_rate = system clock frequency/8/{DLH, DLL}
2: Based on 4*baud_pulse, baud_rate = system clock frequency/4/{DLH, DLL}
3: Based on sampe_count * baud_pulse, baud_rate = system clock frequency
hk T
/ (sampe_count+1)/{DLM, DLL}
m. EN
SAMPLE_COUN
A0090028 Sample Counter Register 00
T
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name
Type
Reset .co ID 0 0 0
SAMPLECOUNT
0
RW
0 0 0 0
sac NF
Bit(s) Name Description
7:0 SAMPLECOUNT Only useful when HIGHSPEED mode = 3.
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name SAMPLEPOINT
Type RW
Reset 1 1 1 1 1 1 1 1
.Li K
AUTOBAUD_RE
A0090030 Auto Baud Monitor Register 00
G
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R ED
7:4 BAUD_STAT Autobaud state (only true value in standard autobaud detection)
0: Autobaud is detecting.
1: AT_7N1
2: AT_7O1
3: AT_7E1
4: AT_8N1
5: AT_8O1
6: AT_8E1
7: at_7N1
Y
NL
Bit(s) Name Description
8: at_7E1
US IAL
9: at_7O1
10: at_8N1
11:
EO
at_8E1
12: at_8O1
13: Autobaud detection fails
3:0 BAUD_RATE Autobaud baud rate (only true value in standard autobaud detection)
hk T
0: 115,200
1: 57,600
2: 38,400
m. EN
3: 19,200
4: 9,600
5: 4,800
6: 2,400
7: 1,200
.co ID 8:
9: 110
300
sac NF
A0090034 RATEFIX_AD Clock Rate Fix Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AUTO
FREQ BAUD RATE
Name
O
Reset 0 0 0
1 AUTOBAUD_RATE_FI 0: Use 52MHz as system clock for UART auto baud detection
X 1: Use 26MHz/13MHz (depending on FREQ_SEL) as system clock for UART
auto baud detection
0 RATE_FIX 0: Use 52MHz as system clock for UART TX/RX
1: Use 26MHz/13MHz (depending on FREQ_SEL) as system clock for UART
Ar IA
TX/RX
R ED
AUTOBAUDSA
A0090038 Auto Baud Sample Register 0D
MPLE
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name AUTOBAUDSAMPLE
FO M
Type RW
Reset 0 0 1 1 0 1
Y
NL
Bit(s) Name Description
For non-standard baud rate detection.
US IAL
:15.
EO
A009003C GUARD Guard Time Added Register 0F
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
hk T
Name GUAR
GUARD_CNT
D_EN
Type RW RW
m. EN
Reset 0 1 1 1 1
3:0
.co ID
GUARD_CNT
0: No guard
1: Add guard interval after stop bit.
Guard interval count value
interval added
sac NF
Guard interval = [1/(system clock/div_step/div)]*GUARD_CNT.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name ESCAPE_DAT
Type RW
u@ C
Reset 1 1 1 1 1 1 1 1
Escape character added before software flow control data and escape
character
7:0 ESCAPE_DAT
no TE
If TX data are xon (31h), with esc_en =1, UART will transmit data as esc +
CEh (~xon).
Ar IA
Type RW
Reset 0
Y
NL
A0090048 SLEEP_EN Sleep Enable Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
US IAL
SLEE
Name P_EN
EO
Type RW
Reset 0
hk T
For sleep mode issue
0: Does not deal with sleep mode indicate signal
m. EN
0 SLEEP_EN 1: Activate hardware flow control or software control according to software
initial setting when the chip enters sleep mode. Release hardware flow when
the chip wakes up. However, for software control, UART sends xon when
awaken and when FIFO does not reach threshold level.
A009004C
Bit 15
.co ID
DMA_EN
14 13 12
DMA Enable Register
11 10 9 8 7 6 5 4 3 2 1 0
00
sac NF
TO_C
TX_D RX_D
FIFO_l NT_A
Name sr_sel UTOR
MA_E MA_E
N N
ST
Type RW RW RW RW
O
Reset 0 0 0 0
u@ C
0x4C.
1: The time-out counter will be auto reset. Set this register when Rain's new
DMA is used.
1 TX_DMA_EN TX_DMA mechanism enabling signal
0: Does not use DMA in TX
Ar IA
1: Use DMA in TX. When this register is enabled, the flow control will be based
on the DMA threshold and generate a time-out interrupt for DMA.for DMA.
0 RX_DMA_EN RX_DMA mechanism enabling signal
R ED
Y
NL
Bit(s) Name Description
When {rtm,rtl}=2'b11, the RX FIFO threshold will be Rxtrig. The value is
US IAL
3:0 RXTRIG
suggested to be smaller than half of RX FIFO size, which is 32 bytes.
EO
A0090054 FRACDIV_L Fractional Divider LSB Address 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
hk T
Name FRACDIV_L
Type RW
m. EN
Reset 0 0 0 0 0 0 0 0
.co ID
sac NF
A0090058 FRACDIV_M Fractional Divider MSB Address 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name FRACDIV_M
Type RW
Reset 0 0
O
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
RFTL1_RFTL TFTL1_TFTL
Name CLRT CLRR FIFOE
0 0
Type RO RO RO RO RO
Reset 0 0 0 0 0 0 0
Ar IA
Y
NL
Bit(s) Name Description
1 CLRR 0: RX FIFO is not cleared.
US IAL
1: RX FIFO is cleared.
0 FIFOE Enables FIFO
EO
This bit must be set to 1 for any of other bits in the registers to have any effect.
0: RX and TX FIFOs are not enabled.
1: RX and TX FIFOs are enabled.
hk T
m. EN
3.9 UART3
.co ID
channels between baseband chipset and external dev ices.
The UART has M16C450 and M16550A modes of operation, which are compatible with a range of
standard software drivers. The extensions have been designed to be broadly software compatible
sac NF
with 16550A variants, but certain areas offer no consensus.
In common with the M16550A, the UART supports word lengths from 5 to 8 bits, an optional parity
bit and one or two stop bits, and is fully programmable by an 8-bit CPU interface. A 16-bit
O
programmable baud rate generator and an 8-bit scratch register are included, together with separate
transmit and receive FIFOs. Eight modem control lines and a diagnostic loop-back mode are
provided. The UART also includes two DMA handshake lines, used to indicate when the FIFOs are
u@ C
ready to transfer data to the CPU. Interrupts can be generated from any of the 10 sources.
Note: The UART has been designed so that all internal operations are synchronized by the CLK
.Li K
signal. This synchronization results in minor timing differences between the UART and the industry
standard 16550A device, which means that the core is not clock for clock identical to the original
no TE
device.
After a hardware reset, the UART is in M16C450 mode. Its FIFOs can be enabled and the UART can
then enter M16550A mode. The UART adds further functionality beyond M16550A mode. Each of
the extended functions can be selected individually under software control.
Ar IA
The UART provides more powerful enhancements than the industry-standard 16550:
Note: In order to enable any of the enhancements, the Enhanced Mode bit, EFR[4], must be set. If
EFR[4] is not set, IER[7:5], FCR[5:4], IIR[5:4] and MCR[7:6] cannot be written. The Enhanced Mode
R ED
bit ensures that the UART is backward compatible with software that has been written for 16C450 and
16550A devices.
Figure 35 shows the block diagram of the UART3 device.
FO M
Y
NL
Baud Rate
Generator
US IAL
Baud Divisor
EO
Clock
TX Machine Uart_tx_data
TX FIFO
hk T
APB
APB Bus
BUS RX FIFO
RX Machine
m. EN
I/F Uart_rx_data
By storing a '1' to a specific bit position, the interrupt associated with that bit
is enabled. Otherwise, the interrupt is disabled.
IER[3:0] are modified when LCR[7] = 0.
IER[7:4] are modified when LCR[7] = 0 & EFR[4] = 1.
A00A0004 DLM 8 Divisor Latch (MS)
uesd to divid the bclk frequency .*NOTE: modified when LCR[7]!=0
Ar IA
FCR is used to control the trigger levels of the FIFOs, or flush the FIFOs.
FCR[7:6] is modified when LCR != BFh
FCR[5:4] is modified when LCR != BFh & EFR[4] = 1
FCR[4:0] is modified when LCR != BFh
A00A0008 EFR 8 Enhanced Feature Register
*NOTE: Only when LCR=BF'h
A00A000C LCR 8 Line Control Register
Line Control Register. Determines characteristics of serial communication
signals.
Y
NL
A00A0010 MCR 8 Modem Control Register
Modem Control Register. Control interface signals of the UART.
US IAL
MCR[5:0] are modified when LCR != 8'hBF,
MCR[7] can be read when LCR != 8'hBF & EFR[4] = 1.
A00A0010 XON1 8 XON1 Char Register
EO
*Note: XON1modified only when LCR=BF'h.
A00A0014 LSR 8 Line Status Register
Line Status Register.
Modified when LCR != BFh.
hk T
A00A0018 XOFF1 8 XOFF1 Char Register
*Note: , XOFF1 modified only when LCR=BF'h.
m. EN
A00A001C SCR 8 Scratch Register
A general purpose read/write register. After reset, its value is un-defined.
Modified when LCR != BFh.
A00A0020 AUTOBAUD_EN 8 Auto Baud Detect Enable Register
A00A0024 HIGHSPEED 8 High Speed Mode Register
A00A0028
.co ID
SAMPLE_COUNT 8 Sample Counter Register
When HIGHSPEED=3, the sample_count is the threshold value for UART
sample counter
Count from 0 to sample_count.
(sample_num).
sac NF
A00A002C SAMPLE_POINT 8 Sample Point Register
When HIGHSPEED=3, UART gets the input data when
sample_count=sample_num.
e.g. system clock = 13MHz, 921600 = 13000000 / 14
sample_count = 13 and sample point = 6 (sample the central point to
O
Y
NL
Bit(s) Name Description
7:0 RBR Read-only register. The received data can be read by accessing this register.
US IAL
Only when LCR[7] = 0.
EO
A00A0000 THR TX Holding Register 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
hk T
Name THR
Type WO
Reset 0 0 0 0 0 0 0 0
m. EN
Bit(s) Name Description
7:0 THR TX Holding Register. Write-only register. The data to be transmitted is written to
this register, and then sent to the PC via serial communication.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Name XOFFI ELSI ETBEI ERBFI
Type RW RW RW RW
Reset 0 0 0 0
Ar IA
2 ELSI When set ("1"), an interrupt is generated if BI, FE, PE or OE (LSR[4:1]) becomes
set.
0: No interrupt is generated if BI, FE, PE or OE (LSR[4:1]) becomes set.
1: An interrupt is generated if BI, FE, PE or OE (LSR[4:1]) becomes set.
1 ETBEI When set ("1"), an interrupt is generated if the TX Holding Register is empty or the
contents of the TX FIFO have been reduced to its Trigger Level.
0: No interrupt is generated if the TX Holding Register is empty or the contents of the TX
FIFO have been reduced to its Trigger Level.
1: An interrupt is generated if the TX Holding Register is empty or the contents of the TX
FIFO have been reduced to its Trigger Level
Y
NL
0 ERBFI When set ("1"), an interrupt is generated if RX Data is placed in the RX Buffer
Register or the RX Trigger Level is reached.
0: No interrupt is generated if RX Data is placed in the RX Buffer Register or the RX
US IAL
Trigger Level is reached.
1: An interrupt is generated if RX Data is placed in the RX Buffer Register or the RX
EO
Trigger Level is reached.
hk T
A00A0004 DLM Divisor Latch (MS) 00
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
m. EN
Name DLM
Type RW
Reset 0 0 0 0 0 0 0 0
{DLH,DLL}=(system clock
sac NF
frequency/baud_pulse/baud_rate).
When RATE_FIX(RATEFIX_AD[0])=0, system clock frequency = 52MHz.
When RATE_FIX(RATEFIX_AD[0])=1 and RATE_FIX(RATEFIX_AD[2])=0, system
clock frequency = 26MHz.
When RATE_FIX(RATEFIX_AD[0])=1 and RATE_FIX(RATEFIX_AD[2])=1, system
clock frequency = 13MHz.
O
Type RO RU
Reset 0 0 0 0 0 0 0 1
7:6 FIFOE
5:0 ID IIR[5:0] Priority Level Interrupt Source
000001 - No interrupt pending
000110 1 Line Status Interrupt:
R ED
Y
NL
RX Data Timeout Interrupt:When virtual FIFO mode is disabled, RX Data Timeout
Interrupt is generated if all of the following apply:
1. FIFO contains at least one character;
US IAL
2. The most recent character was received longer than four character periods ago
(including all start, parity and stop bits);
3. The most recent CPU read of the FIFO was longer than four character periods ago.
EO
The timeout timer is restarted on receipt of a new byte from the RX Shift Register, or on
a CPU read from the RX FIFO.
The RX Data Timeout Interrupt is enabled by setting EFRBI (IER[0]) to 1, and is cleared
by reading RX FIFO.
When virtual FIFO mode is enabled, RX Data Timeout Interrupt is generated if all of the
hk T
following apply:
1. FIFO is empty;
2. The most recent character was received longer than four character periods ago
m. EN
(including all start, parity and stop bits);
3. The most recent CPU read of the FIFO was longer than four character periods ago.
The timeout timer is restarted on receipt of a new byte from the RX Shift Register or
reading DMA_EN register.
The RX Data Timeout Interrupt is enabled by setting EFRBI (IER[0]) to 1, and is cleared
by reading DMA_EN register.
Modem Status Change Interrupt: A Modem Status Change Interrupt (IIR[5:0] = 000000b)
is generated if EDSSI (IER[3]) is set and e DCTS (MSR[3:0]) becomes set. The
interrupt is cleared by reading the Modem Status Register.
u@ C
Software Flow Control Interrupt: A Software Flow Control Interrupt (IIR[5:0] = 010000b)
is generated if Software Flow Control is enabled and XOFFI (IER[5]) becomes set,
indicating that an XOFF character has been received. The interrupt is cleared by
reading the Interrupt Identification Register.
.Li K
CTSI (IER[7]) becomes set indicating that a rising edge has been detected on either the
RTS/CTS Modem Control line. The interrupt is cleared by reading the Interrupt
Identification Register.
Ar IA
0 0
Type WO WO WO WO WO
Reset 0 0 0 0 0 0 0
7:6 RFTL1_RFTL0 RX FIFO trigger threshold. (RX FIFO contains total 32 bytes.)
0: 1
1: 6
2: 12
3: RXTRIG
5:4 TFTL1_TFTL0 TX FIFO trigger threshold (TX FIFO contains total 32 bytes.)
0: 1
1: 4
2: 8
3: 14
Y
NL
2 CLRT control bit to clear tx fifo
0: