| поискавой системы для электроныых деталей |
|
AN1105 датащи(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1105 датащи(HTML) 25 Page - STMicroelectronics |
|
25 / 100 page ![]() 25/100 ST7 pCAN PERIPHERAL DRIVER #define INIT_FLR0 0x00 #define INIT_MHR0 0x00 #define INIT_MLR0 0x00 #define INIT_FHR1 0x00 #define INIT_FLR1 0x00 #define INIT_MHR1 0x00 #define INIT_MLR1 0x00 These values are used to initialize hardware filters and masks. (See “Filtering” on page 29). 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: – 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. //#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 30. 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- terrup ts. It will a lso allow co mpilation of the co rrespond in g notificatio n function s (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 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| 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 |