EasyManua.ls Logo

Cypress FM4 Series - Page 586

Cypress FM4 Series
1102 pages
Print Icon
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
586 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
Table 2-2 lists pin functions which availability depends on selected I/O port functions and register setting
values.
Table 2-2 I/O Port Functions and Register Setting Values
I/O Port Function
ADE/
SPSR
/
DAE
PFR
DDR
PZR
PCR
EPFR
PDSR
Available Main Function
Available Sub Function
Special pin
(Analog input,
Analog output,
USB,
Oscillation)
N/A
1
-
-
-
Disconnect
*0
*5
GPIO function input pin
Peripheral function input pin
0
0
0
0
Valid
*1
0
1
Disconnect
GPIO function output pin
GPIO function input pin (FB)
Peripheral function input pin (FB)
1
0
Disconnect
1
1
Disconnect
Peripheral function output pin
GPIO function input pin (FB)
Peripheral function input pin (FB)
1
-
0
Disconnect
*2
1
Disconnect
Peripheral function bidirectional pin
GPIO function input pin (FB)
Peripheral function input pin (FB)
0
Valid
*3
1
Disconnect
Peripheral function input pin
GPIO function input pin
0
Valid
*4
1
Disconnect
Legends
- : Indicates that a register setting value does not affect pin functions.
Valid: Indicates that a pull-up resistor is disconnected if PCR register value is 0.
Indicates that a pull-up resistor is connected if PCR register value is 1.
Disconnect: Indicates that a pull-up resistor is disconnected regardless of PCR register value.
(FB): Indicates that an output signal of the I/O port provides feedback and the level of the I/O port
can be read from PDIR. The signal can be also used as input for peripheral functions.
*0: If the input pin of peripheral functions is selected for the I/O port, the setting is invalid.
If the output pin of peripheral functions is selected for the I/O port, the setting is invalid.
If the bidirectional pin of peripheral functions is selected for the I/O port, the setting is invalid.
*1: If the input pin of peripheral functions is selected for the I/O port, the setting is valid.
If the output pin of peripheral functions is selected for the I/O port, the setting is invalid.
If the bidirectional pin of peripheral functions is selected for the I/O port, the setting is invalid.
*2: Indicates that the output pin of peripheral functions is selected for the I/O port.
*3: Indicates that the bidirectional pin of peripheral functions is selected for the I/O port.
*4: Indicates that neither the output pin nor the bidirectional pin of peripheral functions is
selected for the I/O port.
*5: PDSR register value can select regardless of I/O port function.

Table of Contents

Related product manuals