CanTxMsg Struct Reference
[CAN_Exported_Types]

CAN Tx message structure definition. More...

#include <stm32f10x_can.h>

Data Fields

uint8_t Data [8]
uint8_t DLC
uint32_t ExtId
uint8_t IDE
uint8_t RTR
uint32_t StdId

Detailed Description

CAN Tx message structure definition.

Definition at line 131 of file stm32f10x_can.h.


Field Documentation

uint8_t CanTxMsg::Data[8]

Contains the data to be transmitted. It ranges from 0 to 0xFF.

Definition at line 148 of file stm32f10x_can.h.

Referenced by CAN_Interrupt(), CAN_Polling(), CAN_Transmit(), and main().

uint8_t CanTxMsg::DLC

Specifies the length of the frame that will be transmitted. This parameter can be a value between 0 to 8

Definition at line 145 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Interrupt(), CAN_Polling(), and CAN_Transmit().

uint32_t CanTxMsg::ExtId

Specifies the extended identifier. This parameter can be a value between 0 to 0x1FFFFFFF.

Definition at line 136 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Interrupt(), and CAN_Transmit().

uint8_t CanTxMsg::IDE

Specifies the type of identifier for the message that will be transmitted. This parameter can be a value of CAN_identifier_type

Definition at line 139 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Interrupt(), CAN_Polling(), and CAN_Transmit().

uint8_t CanTxMsg::RTR

Specifies the type of frame for the message that will be transmitted. This parameter can be a value of CAN_remote_transmission_request

Definition at line 142 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Interrupt(), CAN_Polling(), and CAN_Transmit().

uint32_t CanTxMsg::StdId

Specifies the standard identifier. This parameter can be a value between 0 to 0x7FF.

Definition at line 133 of file stm32f10x_can.h.

Referenced by CAN_Config(), CAN_Interrupt(), CAN_Polling(), and CAN_Transmit().


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