| 数据搜索系统,热门电子元器件搜索 |
|
AN2341 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2341 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 26 page ![]() AN2341 Programming through polling 13/26 Then, for each message object, the procedure to handle interrupt and decode can be the same as the one proposed before: if (CANxIF1A2 & IF_DIR) // direction = transmit { if (CANxIF1MC & IF_NEWDAT) // remote received //provided that UMask = 1 and RmtEn = 0 {.....} // procedure to handle answer to remote else {.....} // procedure to handle transmit interrupts } else // direction = receive { if (CANxIF1MC & IF_NEWDAT) // NewDat is set {.....} // procedure to handle data receive interrupt else {.....} // a remote frame was successfully transmitted } break; |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |