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

X  

UM0459 数据表(PDF) 9 Page - STMicroelectronics

部件名 UM0459
功能描述  ST10F27xZx CAN library
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM0459 数据表(HTML) 9 Page - STMicroelectronics

Back Button UM0459 Datasheet HTML 5Page - STMicroelectronics UM0459 Datasheet HTML 6Page - STMicroelectronics UM0459 Datasheet HTML 7Page - STMicroelectronics UM0459 Datasheet HTML 8Page - STMicroelectronics UM0459 Datasheet HTML 9Page - STMicroelectronics UM0459 Datasheet HTML 10Page - STMicroelectronics UM0459 Datasheet HTML 11Page - STMicroelectronics UM0459 Datasheet HTML 12Page - STMicroelectronics UM0459 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 29 page
background image
UM0459
Controller area network (CAN) routines
9/29
2.2.1
CAN_Init function
CAN_ReceiveMessage (Section 2.2.16)
Gets the message, if received.
CAN_BasicSendMessage (Section 2.2.17)
Starts transmission of a message in BASIC mode.
CAN_BasicReceiveMessage (Section 2.2.18) Gets the message in BASIC mode, if received.
CAN_WaitEndOfTx (Section 2.2.19)
Waits until the end of transmission of a frame.
CAN_GetMsgReceiveStatus (Section 2.2.20)
Tests the waiting status of a received message.
CAN_GetMsgTransmitRequestStatus
(Section 2.2.21)
Tests the request status of a transmitted message.
CAN_GetMsgInterruptStatus (Section 2.2.22) Tests the interrupt status of a message object.
CAN_GetMsgValidStatus (Section 2.2.23)
Tests the validity of a message object (ready to use).
CAN_GetFlagStatus (Section 2.2.24)
Returns the status of the TxOK, RxOK, EPASS,
EWARN and BOFF flags.
CAN_GetTransmitErrorCounter
(Section 2.2.25)
Gets the CAN transmit Error counter.
CAN_GetReceiveErrorCounter
(Section 2.2.26)
Gets the CAN receive Error counter.
Table 2.
CAN functions (continued)
Function name (corresponding sections)
Description
Table 3.
CAN_Init function description
Function name
CAN_Init
Function prototype
void CAN_Init(CAN_TypeDef* CAN, u16 Mask, u16 Bitrate)
Behavior description
Initializes the CAN peripheral passed as a parameter.
Input parameter 1
CAN: pointer to the CAN1 or CAN2 CAN cell.
Input parameter 2
Mask: any binary value resulting from the following (Refer to the CAN
control register definition):
– CAN_CR_EIE: CAN Error Interrupt Enable
– CAn_CR_SIE: CAN Status Interrupt Enable
– CAN_CR_IE: CAN Interrupt Enable
– CAN_CR_ DAR: CAN Disable Automatic retransmission
– CAN_CR_CCE: CAN Configuration Enable
– CAN_CR_TEST: Enable CAN test mode
Input parameter 3
It can be one of the CAN_BITRATE_xxx parameters given in Table 4:
CAN_Bitrate values on page 10
Output parameter
None
Return parameter
None



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


数据表 下载

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