| Electronic Components Datasheet Search |
|
AN1105 Datasheet(PDF) 84 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 Datasheet(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 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |