EasyManua.ls Logo

Cypress FM4 Series - Pull-Up Setting Register (Pcrx)

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 12: I/O Port
598 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
4.2 Pull-up Setting Register (PCRx)
The PCRx register sets pull-up of a pin.
List of PCR Register Configuration
bit
31
16
15
0
Initial value
Attribute
Corresponding port
Reserved
PCR0
0x001F
R/W
P0F to P00
Reserved
PCR1
0x0000
R/W
P1F to P10
Reserved
PCR2
0x0000
R/W
P2F to P20
Reserved
PCR3
0x0000
R/W
P3F to P30
Reserved
PCR4
0x0000
R/W
P4F to P40
Reserved
PCR5
0x0000
R/W
P5F to P50
Reserved
PCR6
0x0000
R/W
P6F to P60
Reserved
PCR7
0x0000
R/W
P7F to P70
Reserved
-
-
-
-
Reserved
PCR9
0x0000
R/W
P9F to P90
Reserved
PCRA
0x0000
R/W
PAF to PA0
Reserved
PCRB
0x0000
R/W
PBF to PB0
Reserved
PCRC
0x0000
R/W
PCF to PC0
Reserved
PCRD
0x0000
R/W
PDF to PD0
Reserved
PCRE
0x0000
R/W
PEF to PE0
Reserved
PCRF
0x0000
R/W
PFF to PF0
Detailed Register Configuration
bit
31
16
15
0
Field
Reserved
PCRx
Register Function
[bit31:16] Reserved: Register bits
0x0000 is read out from these bits.
When writing these bits, set them to 0x0000.
[bit15:0] PCRx: Pull-up Setting Register x
Sets pull-up of a pin
bit
Description
Reading
Can read out the setting value of the register.
Writing
0
Disconnects the pull-up resistor of a pin.
1
When a pin is in input status (for both GPIO and peripheral functions), the pull-up resistor is
connected.
When a pin is in output status, the pull-up resistor is disconnected.

Table of Contents

Related product manuals