Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0459 Datasheet(PDF) 6 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) 6 Page - STMicroelectronics

Back Button UM0459 Datasheet HTML 2Page - STMicroelectronics UM0459 Datasheet HTML 3Page - STMicroelectronics UM0459 Datasheet HTML 4Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 29 page
background image
Controller area network (CAN) routines
UM0459
6/29
2
Controller area network (CAN) routines
Section 2.1 describes the data structures used in the CAN software library and Section 2.2
gives a list of the software library functions.
Note:
Before using any CAN function, the I/O ports linked to the CAN RX and CAN TX pins must
be configured as follows: CAN RX pin in input mode and CAN TX pin in output mode. This is
not performed by the library.
2.1
CAN register structure
The structures of the CAN_TypeDef and CAN_MsgObj_TypeDef registers are defined in the
st10f27x_can.h file as follows:
typedef volatile struct
{
vu16 CRR;
vu16 CMR;
vu16 M1R;
vu16 M2R;
vu16 A1R;
vu16 A2R;
vu16 MCR;
vu16 DA1R;
vu16 DA2R;
vu16 DB1R;
vu16 DB2R;
u16
EMPTY0[13];
} CAN_MsgObj_TypeDef;
typedef volatile struct
{
vu16 CR;
vu16 SR;
vu16 ERR;
vu16 BTR;
vu16 IDR;
vu16 TESTR;
vu16 BRPR;
u16
EMPTY0;
CAN_MsgObj_TypeDef sMsgObj[2];
u16
EMPTY1[8];
vu16 TXR1R;
vu16 TXR2R;
u16
EMPTY2[6];
vu16 ND1R;
vu16 ND2R;
u16
EMPTY3[6];
vu16 IP1R;
vu16 IP2R;
u16
EMPTY4[6];
vu16 MV1R;
vu16 MV2R;
} CAN_TypeDef;



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