AN1105 STMicroelectronics, AN1105 Datasheet - Page 25

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
#define INIT_FLR0
#define INIT_MHR0
#define INIT_MLR0
#define INIT_FHR1
#define INIT_FLR1
#define INIT_MHR1
#define INIT_MLR1
These values are used to initialize hardware filters and masks. (See
Compilation Options
//Start options
//#define WAKE_UP_PULSE
#define RUN_ON_START_UP
You may decide whether or not to include these options in the code.
If enabled:
//#define FILTERS_ENABLED
//#define INIT_FILTERS {}
These options are used for software filtering.
Select both of them if you want to use the feature.
If selected, enter the list of identifiers to be accepted between the curly braces as shown in
“Software Filter Configuration” on page
Enabling one of the following options implies modifying the corresponding function in the
can_custom.c file:
//#define STATUS_CHANGE_NOTIFICATION
This option is used to monitor status changes (active/passive/bus-off). Setting this option will
change the priority order in which the interrupts are taken into account. The interrupts con-
cerning status change will be checked first, before considering reception and transmission in-
terrupts. It will also allow compilation of the corresponding notification functions
(CAN_Bus_Passive_Notification, CAN_Bus_Active_Notification, CAN_Bus_Off_Notification).
To use the Error Notification functions (called when an Error IT is received), enable:
//#define DEBUG
– WAKE_UP_PULSE enables the cell to send a dominant bit when leaving Standby mode.
– RUN_ON_START_UP starts the cell in the Initialization function CAN_First_Init. If not en-
abled, make sure that a dominant bit detected on the bus can make the cell start. To do
this, complete the CAN_Dominant_Bit_Reception_Notification() function in can_custom.c
in calling CAN_Switch_On.
0x00
0x00
0x00
0x00
0x00
0x00
0x00
30.
ST7 pCAN PERIPHERAL DRIVER
“Filtering” on page
29).
25/100

Related parts for AN1105