AN1105 STMicroelectronics, AN1105 Datasheet - Page 43

no-image

AN1105

Manufacturer Part Number
AN1105
Description
ST7 PCAN PERIPHERAL DRIVER
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN1105W-12-RR
Quantity:
13 804
Part Number:
AN1105W-22-RR
Manufacturer:
SANYO
Quantity:
8 570
Part Number:
AN1105W-TR
Manufacturer:
PANASONIC
Quantity:
27 995
Part Number:
AN1105W-TR
Manufacturer:
STANLEY
Quantity:
20 000
Figure 19. FIFO Transmission System
For more information, refer to
CAN_Out_Queue).
3.2.1.2 Software Filters
Once the SOFTWARE_FILTERS option is defined in can_custom.h and the list of filters is
completed, the compiler will define and initialize a structure containing the data.
typedef struct{
u8 array_size;
u16* filters_array;
}CAN_Filters_Array;
This structure is composed of the size of the array, automatically calculated at compilation,
and of an array of 2-byte long numbers.
Consequently, the following constants are defined in the can.c file:
const u16 i_filters[]=INIT_FILTERS;
const CAN_Filters_Array CAN_filters={
As we can see, they are immediately initialized. Size_Of_Words_Array is a macro and i_filters
is the array filled with your data.
You can access the i_filters array, declared as extern const in can.h.
3.2.1.3 Enum Types
They are used as return values for some internal routines.
Next data to send
& message
Object 1
Preceding
Next
FIFO Management
1st object
last object
Section 3.2.2 "Internal
& message
Object 2
Preceding
Next
Size_Of_Words_Array(i_filters),
i_filters
};
in use?
current size = xx
Preceding
Next
ST7 pCAN PERIPHERAL DRIVER
Routines", (CAN_In_Queue and
& message
Object 3
43/100

Related parts for AN1105