| 전자부품 데이터시트 검색엔진 |
|
AN1105 데이터시트(PDF) 84 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 데이터시트(HTML) 84 Page - STMicroelectronics |
|
84 / 100 page ![]() 84/100 ST7 pCAN PERIPHERAL DRIVER { Clr_SCIF_Bit(); //clears the CANISR TXIF flag, before reenabling ITs SetBit(CANICR,SCIE); /*sets the CANICR TXIE flag, before reenabling ITs*/ } else if(wucause==SOFT_WAKEUP) { Clr_SCIF_Bit(); //clears the CANISR TXIF flag, before reenabling ITs } return CAN_SLEEP_SUCCESS; } return CAN_SLEEP_ERROR; //default exit } /*-------------------------------------------------------------------------- ROUTINE NAME : CAN_Switch_on INPUT/OUTPUT : pointer on an init data, order : emission of a dominant pulse by wake up or not/error status DESCRIPTION : Puts the CAN node into active state COMMENTS : Calls CAN_Init Possible return value : SWITCH_ON_SUCCES SWITCH_ON_FAILURE --------------------------------------------------------------------------*/ CAN_Switch_Error CAN_Switch_On (Init_Data_Ptr idptr, CAN_Bool wupulse_allowed) { if (!ValBit(CANCSR,RUN)) //The can must not be running { CAN_Switch_Error error_status; status_counter=0; CANPSR=PAGE_1; Clr_LOCK_Bit(); //Cancels any pending transmission SetBit(CANBCSR,LOCK); //Thus the buffer 1 cannot be used for reception |
|
링크 URL |
| 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 |