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

X  

UM0459 数据表(PDF) 5 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) 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


数据表 下载

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