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

X  

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

  UM0459 Datasheet HTML 1Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 29 page
background image
UM0459
Using the ST10F27xZx CAN Library
5/29
1
Using the ST10F27xZx CAN Library
1.1
Library content
The ST10F27xZx CAN library is a software package consisting of a zip file containing the
following folders:
●
Library containing the C source and header files.
–
st10f27x_can.c C source file containing the C source of the library functions
–
st10f27_can.h: header file containing the function prototypes and the CAN
interface definitions
–
st10F27x_types.h: header files containing the definition of data types used by the
library.
●
Example folder with two examples on how to use the CAN library functions. Polling and
interrupt examples are provided.
CAN cell access is made using pointers to the CAN cell addresses. This makes the library
compatible with both Keil and Tasking. The provided examples are compiled and tested
under Tasking toolchain. Applications can be ported easily to the Keil toolchain.
1.2
How to install the ST10F27xZx CAN Library
The ST10F27xZx CAN library is delivered as an archive file with .zip extension. To install the
CAN library, the user needs to unzip the file in the directory where the library has to be
copied.
1.3
Getting started with the library
To use the CAN library, the user should include the st10f27x_can.h header file.
The two CAN interfaces are accessed using the structure pointing to their addresses. CAN
and IF interface definitions are located in st10f27x_can.h. When calling the CAN library
functions, the user should use the CAN1 or CAN2 parameter.
The user should pay attention to the bitrate configuration: if the application environment is
different from the library conditions, the user should recalculate the seg1, seg2,brp and sjw
CAN bit timing parameters. This is the case when ST10 frequency = 40 MHz and the CAN
clock input is derived from the clock generator divided by 2 (see XMISC register).
For more details, please refer to the CAN bit timing configuration in the ST10F27xZx user
manual.
The CAN input/output pins must be configured by the user before using the CAN library.



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