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

X  

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

Back Button AN1105 Datasheet HTML 20Page - STMicroelectronics AN1105 Datasheet HTML 21Page - STMicroelectronics AN1105 Datasheet HTML 22Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 100 page
background image
24/100
ST7 pCAN PERIPHERAL DRIVER
2.1.5.3 Constants
Those constants are defined internally, but are made visible to the user because they may be
useful.
extern const Init_Data first_init_data
This is the initialization data structure that is used on power-on. It is made visible to allow you
to pass it to the CAN_Switch_On function when you do not want to modify the parameters it
contains. (See Section 2.1.5.1 "Data-type Variables")
extern const u16 i_filters[];
This is the array of filters used to perform software filtering on incoming messages. The max-
imum number of identifiers stored is 127 (See “Filtering” on page 29). It is made visible in case
you would like to link the behaviour of your application upon reception of a message with the
offset of the identifier in the array (managing an array of pointers to functions for example).
One can of course imagine other applications.
2.1.5.4 Can_custom.h File
The preprocessor directives used to configure the hardware and to customize the driver are
located in this file.
Cell Configuration Values
#define INIT_BRPR
0x00
#define INIT_BTR
0x00
These values are used to initialize bit timing registers. (See Section 2.2.2.1 "Bit Timing").
/*Masks & filters*/
#define INIT_FHR0
0x00
Description
Puts a buffer into the transmission queue, and may request an immediate transmis-
sion if the queue is empty.
The buffer_rw field has to be CFALSE before passing it to the function. It is immedi-
ately marked as CTRUE after entering the routine. In case of an error, during the ex-
ecution, this parameter is reset to CFALSE before exiting. Else it is only reset by
CAN_Fill_Transmission_Buffer (See Section 3.2.2 "Internal Routines").
Possible return values:
CAN_TRANSMIT_FAILURE if the cell is in stand-by,
CAN_FIFO_FULL if the 3 messages deep FIFO is full,
CAN_TRANSMIT_FATAL if CAN_Fill_Transmission_Buffer fails,
or CAN_TRANSMIT_SUCCESS otherwise.
Comments
This function MUST NOT be interrupted, so protect it with SIM and RIM statements
when used OUTSIDE the notification functions of CAN_custom.c!
Calls CAN_Init_Queue and CAN_Fill_Transmission_Buffer (See Section 3.2.2 "Inter-
nal Routines")



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