データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN2341 データシート(PDF) 13 Page - STMicroelectronics

部品番号 AN2341
部品情報  Programming ST10F27x/F25x CAN interrupt drivers
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2341 データシート(HTML) 13 Page - STMicroelectronics

Back Button AN2341 Datasheet HTML 9Page - STMicroelectronics AN2341 Datasheet HTML 10Page - STMicroelectronics AN2341 Datasheet HTML 11Page - STMicroelectronics AN2341 Datasheet HTML 12Page - STMicroelectronics AN2341 Datasheet HTML 13Page - STMicroelectronics AN2341 Datasheet HTML 14Page - STMicroelectronics AN2341 Datasheet HTML 15Page - STMicroelectronics AN2341 Datasheet HTML 16Page - STMicroelectronics AN2341 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 26 page
background image
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;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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