PWM0 and PWM1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PWM0 and PWM1

736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lenguyen on Thu Mar 06 15:45:09 MST 2014
Hello,

I am working on the PWM0 and PWM1 using LPCOpen 2.07 and LPCExpresso 6.1.2 on LPC4088-32 Developer's Kit.
In order to setup PWM0 and PWM1, there are few registers that I need to play with such as IR at 0x4001 4000, TCR at 4001 4004, TC at 4001 4008 and .. go on. I check in LPCOpen API and those registers WERE NOT defined.
Is this something missing or bug in LPCOpen 2.07 or I am missing something ?

Thank you so much for your input,

Thanks
LN
标签 (1)
0 项奖励
回复
1 回复

666 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Thu Mar 06 19:57:55 MST 2014
Hi,

In LPCOpen all the libraries are integrated together as chip and board. The TC , TCR , IR and other registers used by the peripherals are all defined in the these libraries .

This can be found in the timer_17xx_40xx.h and other files in :  software- > lpc_core - > lpc_chip ->chip_17xx_40xx folder


Thanks,

NXP Technical Support
0 项奖励
回复