metRo_
Newbie level 4
- Joined
- Jul 3, 2008
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,311
HI,
I'm trying to print the GPIOA->BSRR register value but with no success :s
The pin is well configured cause the led in the board change the state. Do you have any idea how can I do that?
I'm trying to print the GPIOA->BSRR register value but with no success :s
Code:
(gdb) n
67 GPIOC->BSRR = GPIO_Pin_9;
(gdb) p/x *(0x40010800 + 0x10)
$6 = 0x0
(gdb) n
Breakpoint 1, main () at main.c:68
68 GPIOC->BRR = GPIO_Pin_9;
(gdb) p/x *(0x40010800 + 0x10)
$7 = 0x0
(gdb)
The pin is well configured cause the led in the board change the state. Do you have any idea how can I do that?