Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0459 Datasheet(PDF) 9 Page - STMicroelectronics

Part # UM0459
Description  ST10F27xZx CAN library
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0459 Datasheet(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


Datasheet Download

Go To PDF Page


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


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