CAN_InitTypeDef Struct Reference
[CAN_Exported_Types]

CAN init structure definition. More...

#include <stm32f10x_can.h>

Data Fields

FunctionalState CAN_ABOM
FunctionalState CAN_AWUM
uint8_t CAN_BS1
uint8_t CAN_BS2
uint8_t CAN_Mode
FunctionalState CAN_NART
uint16_t CAN_Prescaler
FunctionalState CAN_RFLM
uint8_t CAN_SJW
FunctionalState CAN_TTCM
FunctionalState CAN_TXFP

Detailed Description

CAN init structure definition.

Definition at line 52 of file stm32f10x_can.h.


Field Documentation

Enable or disable the automatic bus-off management. This parameter can be set either to ENABLE or DISABLE.

Definition at line 72 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Enable or disable the automatic wake-up mode. This parameter can be set either to ENABLE or DISABLE.

Definition at line 75 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Specifies the number of time quanta in Bit Segment 1. This parameter can be a value of CAN_time_quantum_in_bit_segment_1

Definition at line 63 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Specifies the number of time quanta in Bit Segment 2. This parameter can be a value of CAN_time_quantum_in_bit_segment_2

Definition at line 66 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Specifies the CAN operating mode. This parameter can be a value of CAN_operating_mode

Definition at line 56 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Enable or disable the no-automatic retransmission mode. This parameter can be set either to ENABLE or DISABLE.

Definition at line 78 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Specifies the length of a time quantum. It ranges from 1 to 1024.

Definition at line 54 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Enable or disable the Receive FIFO Locked mode. This parameter can be set either to ENABLE or DISABLE.

Definition at line 81 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Specifies the maximum number of time quanta the CAN hardware is allowed to lengthen or shorten a bit to perform resynchronization. This parameter can be a value of CAN_synchronisation_jump_width

Definition at line 59 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Enable or disable the time triggered communication mode. This parameter can be set either to ENABLE or DISABLE.

Definition at line 69 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().

Enable or disable the transmit FIFO priority. This parameter can be set either to ENABLE or DISABLE.

Definition at line 84 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Init(), CAN_Interrupt(), CAN_Polling(), and CAN_StructInit().


The documentation for this struct was generated from the following file:
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32