在线时间3 小时
UID423742
注册时间2013-3-28
NXP金币0
该用户从未签到
注册会员

- 积分
- 159
- 最后登录
- 1970-1-1
|
发表于 2014-4-23 16:13:51
|
显示全部楼层
回复:CodeWarrior PE编程下面 启动AD触发使能 就出现这个错误
回复第 6 楼 于2014-04-23 16:12:41发表:
我不能复现你的错误,这是按照你的想法开发的一个例子,用twr-8400 board and Codewarrior for mcu ver10.5. 没有问题。
THE GPIOF6 is connected to IRQ1(SW1 hardware button), closing pin2 and pin3 of J4
//pressing IRQ1 button will let GPIOF6 pin low, which can trigger ADC12 MODULE
//
//rESULT:WHEN PRESSing irq1 button, the adc will be triggered, ADC isr will be executed
//in the isr, a led0 will be toggled to show the result. |
|