uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CAN_time_quantum_in_bit_segment_2

Macros

#define CAN_BS2_1tq   ((uint8_t)0x00)
 
#define CAN_BS2_2tq   ((uint8_t)0x01)
 
#define CAN_BS2_3tq   ((uint8_t)0x02)
 
#define CAN_BS2_4tq   ((uint8_t)0x03)
 
#define CAN_BS2_5tq   ((uint8_t)0x04)
 
#define CAN_BS2_6tq   ((uint8_t)0x05)
 
#define CAN_BS2_7tq   ((uint8_t)0x06)
 
#define CAN_BS2_8tq   ((uint8_t)0x07)
 
#define IS_CAN_BS2(BS2)   ((BS2) <= CAN_BS2_8tq)
 

Detailed Description

Macro Definition Documentation

#define CAN_BS2_1tq   ((uint8_t)0x00)

1 time quantum

Definition at line 311 of file stm32f10x_can.h.

#define CAN_BS2_2tq   ((uint8_t)0x01)

2 time quantum

Definition at line 312 of file stm32f10x_can.h.

#define CAN_BS2_3tq   ((uint8_t)0x02)

3 time quantum

Definition at line 313 of file stm32f10x_can.h.

#define CAN_BS2_4tq   ((uint8_t)0x03)

4 time quantum

Definition at line 314 of file stm32f10x_can.h.

#define CAN_BS2_5tq   ((uint8_t)0x04)

5 time quantum

Definition at line 315 of file stm32f10x_can.h.

#define CAN_BS2_6tq   ((uint8_t)0x05)

6 time quantum

Definition at line 316 of file stm32f10x_can.h.

#define CAN_BS2_7tq   ((uint8_t)0x06)

7 time quantum

Definition at line 317 of file stm32f10x_can.h.

#define CAN_BS2_8tq   ((uint8_t)0x07)

8 time quantum

Definition at line 318 of file stm32f10x_can.h.

#define IS_CAN_BS2 (   BS2)    ((BS2) <= CAN_BS2_8tq)

Definition at line 320 of file stm32f10x_can.h.