Content originally posted in LPCWare by ledi007 on Thu Jan 28 10:15:15 MST 2016
ledi007 wrote:
i had done this already! But i don´t understand all things.
Then start with things you understand...
[color=#f00]
that´s not possible ;-) Did you understand all things as you start with programming?[/color]
ledi007 wrote:
For example the bits 2:0
The reset value is 000. ..... OK!
0x0 Selects function PIO1_8. ..... If i set 0b000 i select the PIO1_8 ?
0x1 Selects function CT16B1_CAP0. ..... what is CT16B1_CAP0 ?
So i understand it right, i have to set this register to 0011 0 00 000?
Default setup is PIO1_8, so normally you don't need to change this IOCON register Shock
Use the debugger to check this register...
ledi007 wrote:
0x1 Selects function CT16B1_CAP0. ..... what is CT16B1_CAP0 ?
That's described in the User manual....
[color=#f00]I know, that all is describt in the user manual. So i think that is the advantage of a forum that user with experience can help other people.[/color]
BTW: You are toggling that PIN without delay, so don't use a LED (or don't expect to see something blinking)...
[color=#f00]I know! In this case i step vorward with the debugger...[/color]