lpc1313 / lpcopen iocon_pio0_10

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

lpc1313 / lpcopen iocon_pio0_10

651 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TM1990 on Sun May 11 06:31:58 MST 2014
Hey,

I am trying to configure the pio0_10 from the lpc1313 to the pwm function.
But there is no IOCON_PIO0_10 definition in the iocon_13xx.h

So how do i configure it using lpcopen?

Labels (1)
0 Kudos
3 Replies

574 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon May 12 14:40:50 MST 2014

Quote: TM1990
... why do I have to edit lpcopen files...



Because you want to finish your code before Christmas?

Looks like there are a lot of other 'priorities' at the moment...

See: http://www.lpcware.com/content/forum/lpc1549-and-can

0 Kudos

574 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TM1990 on Sun May 11 09:26:54 MST 2014
Yes I want to switch it off I am programming via the UART Interface.
Ok that should be the solution but why do I have to edit lpcopen files it should be in there, should it not ?
0 Kudos

574 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun May 11 09:00:55 MST 2014
If you really want to switch off SWCLK , just add it 
...
IOCON_PIO0_9 = (0x064 >> 2),
[color=#f00]IOCON_SWCLK_PIO0_10 = (0x068 >> 2),[/color]
IOCON_PIO0_11 = (0x074 >> 2),
...
0 Kudos