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

X  

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

Back Button 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 AN1105 Datasheet HTML 32Page - STMicroelectronics AN1105 Datasheet HTML 33Page - STMicroelectronics AN1105 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 100 page
background image
30/100
ST7 pCAN PERIPHERAL DRIVER
Now look at the can_custom.h file:
There are several #define statements, including:
#define INIT_FHRi 0x00
#define INIT_FLRi 0x00
where i is either 0 or 1.
These are the two registers containing hardware filters. In the FHRi register, the 8 MSBs for
the filters are given, and in the second register the 4 LSBs are given followed by 4 zeros.
We have to do the same thing for the mask. First, let’s write 0 for the filter.
Finally we have:
#define INIT_FHR0 0x80
#define INIT_FLR0 0x00
#define INIT_MHR0 0x9F
#define INIT_MLR0 0xE0
Doing the same thing with the other group of identifiers leads to:
#define INIT_FHR1 0x20
#define INIT_FLR1 0x20
#define INIT_MHR1 0xA9
#define INIT_MLR1 0x30
Software Filter Configuration
You need to use software filtering feature if the hardware cannot stop all the undesired identi-
fiers. Look at the following code in can_custom.h:
//SOFTWARE ACCEPTANCE MASKS
//#define FILTERS_ENABLED
//#define INIT_FILTERS {}
To allow software filtering, remove the “//” comment signs, and enter the identifiers between
the parentheses. Please note that the filters must be given in hexadecimal format with four
digits, always terminated by zero, and in increasing order.
That is to say in our case:
SOFTWARE ACCEPTANCE MASKS: optional choice
#define FILTERS_ENABLED
#define INIT_FILTERS {0x1270,0x3110,0x3a50,0x5000,0x6000}
Note: There can not be more than 127 identifiers in the array.
2.2.3 Implementing the Notification Functions
The cell is now configured, we no longer need to worry about hardware.



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