在线时间227 小时
UID261364
注册时间2020-5-12
NXP金币0
该用户从未签到
金牌会员
 
- 积分
- 1367
- 最后登录
- 2024-12-31
|
在lpcopen_3_01_lpcxpresso_nxp_lpcxpresso_824max的demo中,有个mrt的例子,
逻辑很清晰,但是对应的管脚从哪里可以查到,谢谢
/* Enable timers 0 and 1 in repeat mode with different rates */
setupMRT(0, MRT_MODE_REPEAT, 5);/* 5Hz rate */
setupMRT(1, MRT_MODE_REPEAT, 4);/* 4Hz rate */
/* Enable timer 2 in single one mode with the interrupt restarting the
timer */
setupMRT(2, MRT_MODE_ONESHOT, 500); /* Will fire in (1/500) seconds */
|
|