поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN1105 датащи(PDF) 27 Page - STMicroelectronics

номер детали AN1105
подробное описание детали  ST7 pCAN PERIPHERAL DRIVER
PDF  100 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1105 датащи(HTML) 27 Page - STMicroelectronics

Back Button AN1105 Datasheet HTML 23Page - STMicroelectronics AN1105 Datasheet HTML 24Page - STMicroelectronics AN1105 Datasheet HTML 25Page - STMicroelectronics AN1105 Datasheet HTML 26Page - STMicroelectronics AN1105 Datasheet HTML 27Page - STMicroelectronics AN1105 Datasheet HTML 28Page - STMicroelectronics AN1105 Datasheet HTML 29Page - STMicroelectronics AN1105 Datasheet HTML 30Page - STMicroelectronics AN1105 Datasheet HTML 31Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 27 / 100 page
background image
27/100
ST7 pCAN PERIPHERAL DRIVER
void CAN_Bus_Off_Notification(void)
These functions are called after a status change.
Option: #define STATUS_CHANGE_NOTIFICATION
void CAN_General_Reception_Error_Notification(void)
This function notifies the application of any hardware reception errors.
Option: #define DEBUG and #define GENERAL_RECEPTION_ERROR
void CAN_Reception_Status(CAN_Receive_Error status)
This function is called after a reception attempt and returns the status of the software
processing (See “Enum -type variables” on page 20).
Option: #define DEBUG
void CAN_Overrun_Notification(void)
This function notifies the application of any overruns.
Option: #define DEBUG
void CAN_Transmission_Error_Notification(CAN_Transmit_Error status)
This function notifies the application of any hardware transmission errors.
Option: #define DEBUG
2.2 HOW TO USE THE CAN DRIVER: A DEMO APPLICATION
In this section, we will describe step-by-step the configuration and programming of a simple
test application using the ST7 CAN driver.
2.2.1 Application
First of all, we must define how the application will look, i.e. which messages our cell will be
able to send, which ones it will accept to receive, and how it will behave when specific mes-
sages are received.
Let’s imagine the following:
– The cell has to run immediately after power-on, and does not have to send a dominant pulse.
– Every 15 ms the cell must send the contents of the ST7 A/D Converter data register. The
identifier (ID) of this message could be, for example, 0x402.
– Upon reception of a remote frame (see Section 1.2 "CAN Frame") it must reply with the trans-
mission of a given message. The ID of the remote frame could be, for example, 0x500 (con-
sequently, the ID of the answer will also be 0x500).
– Upon reception of a given data item, the CAN cell must shut down. This ID of the message
could be 0x600, and the data item 0xFF, in its first data byte.
– The cell is supposed to receive 3 other data messages coming from other nodes. Let’s im-
agine they are identified by 0x127, 0x311, 0x3A5.



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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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