
20 Jul
2011
20 Jul
'11
12:43 p.m.
Hi Lei,
I think we make thing complicated here. For GPIO driver, the only structure we need to define is the GPIO register itself, like GPIO_PLR, GPIO_PDR, etc...
I got your point, but lemme show you where the problem is.. GPIO_PLR0 0x0000 GPIO_PLR1 0x0004 GPIO_PLR2 0x0008 GPIO_PLR3 0x0100
till 3 registers its fine... fourth register is way out of league.
Regards, Ajay Bhargav