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

X  

UM0459 датащи(PDF) 18 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) 18 Page - STMicroelectronics

Back Button UM0459 Datasheet HTML 14Page - STMicroelectronics UM0459 Datasheet HTML 15Page - STMicroelectronics UM0459 Datasheet HTML 16Page - STMicroelectronics UM0459 Datasheet HTML 17Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 29 page
background image
Controller area network (CAN) routines
UM0459
18/29
Note:
Care must be taken when defining an ID range: all combinations of idLow and idHigh will not
always produce the expected result, because of the way identifiers are filtered by hardware.
The criteria applied to keep a received frame is as follows: (received ID) AND (ID mask) =
(ID arbitration), where AND is a bitwise operator.
Consequently, for idLow, it is generally better to choose a value with some LSBs cleared,
and for idHigh, a value that “logically contains” idLow and with the same LSBs set. Example:
the range 0x100-0x3FF will work, but the range 0x100-0x2FF will not work because 0x100
is not logically contained in 0x2FF (that is: 0x100 & 0x2FF = 0).
Example:
This example illustrates how to define a 2 message FIFO and acceptance filtering:
{
/*Define a receive FIFO of depth 2 (objects 0 and 1) in CAN1 for standard
identifiers, in which IDs are filtered in the range 0x400-0x5FF*/
CAN_SetRxMsgObj(CAN1, 0, CAN_STD_ID, 0x400, 0x5FF, FALSE);
CAN_SetRxMsgObj(CAN1, 1, CAN_STD_ID, 0x400, 0x5FF, TRUE);
/*Define a single receive object for extended identifiers, in which all IDs are
filtered in*/
CAN_SetRxMsgObj(CAN1, 2, CAN_EXT_ID, 0, CAN_LAST_EXT_ID, TRUE);
}
Required preconditions
None
Called functions
CAN_GetFreeIF()
Table 15.
CAN_SetRxMsgObj function description (continued)
Function name
CAN_SetRxMsgObj



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