GPIO pin state Read

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPIO pin state Read

450 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shiggy on Sat Oct 05 08:34:06 MST 2013
Hi Everyone!

I can not read pin state of P3_8 GPIO5[11].
When the voltage level of GPIO5[11] is high(3.3V), GPIO_ReadValue(5) returns 0.
I have set the bit 11 of GPIO as input, already.

Is it necessary the other setting?

Shiggy
Labels (1)
0 Kudos
2 Replies

365 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shiggy on Sat Oct 05 08:54:58 MST 2013
Hi Martin-san!

Thanks your good advice.

I will check the munual by your advice.

note) The GPIO concept of LPC1830 is different form LPC1769, I think.

Shiggy
0 Kudos

365 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Sat Oct 05 08:39:55 MST 2013
Hi Shiggy,

have a look for EZI bit!

E.g. latest user manual page 311.
and table 171 on page 330.
"Pin configuration registers for normal-drive pins (SFS, address 0x4008 6000
(SPSP0_0) to 0x4008 67AC (SFSPF_11)) bit description"

Best regards,

Martin
0 Kudos