Enabling GPIO pin after a certain delay

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

Enabling GPIO pin after a certain delay

705 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by muppiri on Tue Jan 04 21:40:34 MST 2011
I need to enable/disable certain GPIO ports after certain delay intervals. In my application I cannot use any of the timer counters as I'm using all of the 48 PIO ports(42 pins for LQFP48- LPC1114) for GPIO.
Is there a way to solve it. If so,can someone please show me a example code or link to example code.

thanks!!

Original Attachment has been moved to: 1100946_AsmBug2.zip

0 项奖励
回复
2 回复数

667 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Wed Jan 05 03:30:05 MST 2011
Hello Muppiri,

Can you be more specific?

What do you mean by enabling of disabling GPIO? Making them high or low?
Cann't you give a specific timer a double function? In the interrupt routine a counter vaiabel is incremented and this variabel is used in other routines to e.g. stop processes.
System tick timer also used?
Any possibilities in using the watchdog?
0 项奖励
回复

667 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gbm on Wed Jan 05 03:17:59 MST 2011
You can use any of 6 timers available in LPC11xx. The timers do not require external pin connection for operation. Look at LED blinkers examples provided by CodeRed - they use different timers without pin connections.
0 项奖励
回复