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

X  

UM0459 датащи(PDF) 22 Page - STMicroelectronics

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

UM0459 датащи(HTML) 22 Page - STMicroelectronics

Back Button UM0459 Datasheet HTML 18Page - STMicroelectronics UM0459 Datasheet HTML 19Page - STMicroelectronics UM0459 Datasheet HTML 20Page - STMicroelectronics UM0459 Datasheet HTML 21Page - STMicroelectronics UM0459 Datasheet HTML 22Page - STMicroelectronics UM0459 Datasheet HTML 23Page - STMicroelectronics UM0459 Datasheet HTML 24Page - STMicroelectronics UM0459 Datasheet HTML 25Page - STMicroelectronics UM0459 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 29 page
background image
Controller area network (CAN) routines
UM0459
22/29
2.2.17
CAN_BasicSendMessage function
Example:
This example illustrates how to send frames.
{
/*Send consecutive data frames using message object 0*/
for (i = 0; i < 10; i++)
{
CAN_SendMessage(CAN1, CanMsgTable[i]);
CAN_WaitEndOfTx();
}
}
Table 21.
CAN_BasicSendMessage function description
Function name
CAN_BasicSendMessage
Prototype
ErrorStatus CAN_BasicSendMessage(CAN_TypeDef* CAN, canmsg*
pCanMsg);
Behavior description
Starts transmission of a message in BASIC mode.
This function performs the following operations:
– Tests if the IF0 is free.
– Writes the Arbitration, Message Control, DataA and DataB registers
of message interface 0, with the message contents.
– Writes the 1+msgobj value to the Command Request register to start
the transmission
This mode does not use the message RAM.
Input parameter 1
CAN: pointer to a CAN1 or CAN2 CAN_TypeDef structure.
Input parameter 2
pCanMsg: pointer to the canmsg structure that contains the data to
transmit: ID type, ID value, data length, data values.
Output parameter
None
Return value
An ErrorStatus enumeration value:
– SUCCESS: Transmission started OK
– ERROR: No transmission
Required preconditions
The CAN must have been switched into BASIC mode.
Called functions
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


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

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