[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
General IO Port A?
I try to use the GPIO Port A, but i have got some problems,
Can you all give me some directions?
First, I can't find where the GPIO A is located in the board.
It seems that the COM2 Female is using GPIO A (4,5,6,7), so
if i use the GPIO A, then i need to disable the COM2 Debug Port??
And where is the 0-3 pins?
When i try to set the direction of the GPIO A using register
R_PORT_PA_DIR, then bool failure.
the program line : *R_PORT_PA_DIR = 0x00; //ALL PINS AS INPUT
in the module_init.