数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN1105 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN1105
功能描述  ST7 pCAN PERIPHERAL DRIVER
PDF  100 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN1105 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN1105 Datasheet HTML 19Page - STMicroelectronics AN1105 Datasheet HTML 20Page - STMicroelectronics AN1105 Datasheet HTML 21Page - STMicroelectronics AN1105 Datasheet HTML 22Page - STMicroelectronics AN1105 Datasheet HTML 23Page - STMicroelectronics AN1105 Datasheet HTML 24Page - STMicroelectronics AN1105 Datasheet HTML 25Page - STMicroelectronics AN1105 Datasheet HTML 26Page - STMicroelectronics AN1105 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 100 page
background image
23/100
ST7 pCAN PERIPHERAL DRIVER
CAN_Switch_Error CAN_Sleep (WakeUp_Cause):
CAN_Switch_Error CAN_Switch_On(Init_Data_Ptr,CAN_Bool):
CAN_Transmit_Error CAN_Transmit_Request(CAN_Buffer*):
Description
Puts the CAN node into Standby state.
This function aborts any pending transmissions and does not wait for the reception
buffers to be read. Then, it resets the driver in the same state as after power-on ini-
tialization.
If BUS_WAKEUP is selected, the next dominant bit detected on the bus will restart
the cell. If SOFT_WAKEUP is selected, the cell will not take the bus state into ac-
count. It can only be woken up by the CAN_Switch_On function.
Possible return value: CAN_SLEEP_SUCCESS or CAN_FATAL_ERROR (if the
RUN bit fails to reset after a time out or if the CAN_Clean function fails).
There is a time out mechanism implemented in this function (about 30ms), waiting for
the RUN bit to be actually reset. So if your application uses the watchdog REFRESH
IT BEFORE calling the function
Comments
Calls CAN_Clean (See Section 3.2.2 "Internal Routines".)
Input
Chip Wake-up function: BUS_WAKEUP or SOFT_WAKEUP
Output
Error status
Description
Puts the CAN node into Standby state.
Returns CAN_SLEEP_ERROR if a transmission request is pending, or if a hardware
reception buffer is still unsaved.
Possible return values:
CAN_SLEEP_ERROR if there are jobs pending in the hardware registers,
CAN_FATAL_ERROR if the RUN bit fails to reset after a time out,
or CAN_SLEEP_SUCCESS
Comments
This function will not reset the CAN node.
Input
Pointer on an Init_Data structure (See Section 2.1.5.1 "Data-type Variables"),
Boolean (CTRUE, CFALSE)
Output
Error status
Description
Puts the CAN node into Active state
The Boolean is used to transmit a dominant pulse (CTRUE) or not (CFALSE) upon
wake-up.
The bit timing and the mask/filter parameters can be reinitialized in this function. In
most cases, the cell will be initialized the same way as in the Power-on sequence.
So, you can re-use the first_init_data structure is declared in can.h.
Possible return values: SWITCH_ON_SUCCES and SWITCH_ON_FAILURE.
Comments
Calls CAN_Init (See Section 3.2.2 "Internal Routines").
Input
Pointer to the CAN message to be sent
Output
Error status



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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100


数据表 下载

Go To PDF Page


链接网址



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