CanRxMsg Struct Reference
[CAN_Exported_Types]

CAN Rx message structure definition. More...

#include <stm32f10x_can.h>

Data Fields

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

Detailed Description

CAN Rx message structure definition.

Definition at line 155 of file stm32f10x_can.h.


Field Documentation

uint8_t CanRxMsg::Data[8]

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

Definition at line 172 of file stm32f10x_can.h.

Referenced by CAN1_RX0_IRQHandler(), CAN2_RX0_IRQHandler(), CAN_Polling(), CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().

uint8_t CanRxMsg::DLC

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

Definition at line 169 of file stm32f10x_can.h.

Referenced by CAN1_RX0_IRQHandler(), CAN2_RX0_IRQHandler(), CAN_Polling(), CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().

uint32_t CanRxMsg::ExtId

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

Definition at line 160 of file stm32f10x_can.h.

Referenced by CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().

uint8_t CanRxMsg::FMI

Specifies the index of the filter the message stored in the mailbox passes through. This parameter can be a value between 0 to 0xFF

Definition at line 174 of file stm32f10x_can.h.

Referenced by CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().

uint8_t CanRxMsg::IDE

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

Definition at line 163 of file stm32f10x_can.h.

Referenced by CAN1_RX0_IRQHandler(), CAN2_RX0_IRQHandler(), CAN_Polling(), CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().

uint8_t CanRxMsg::RTR

Specifies the type of frame for the received message. This parameter can be a value of CAN_remote_transmission_request

Definition at line 166 of file stm32f10x_can.h.

Referenced by CAN_Receive().

uint32_t CanRxMsg::StdId

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

Definition at line 157 of file stm32f10x_can.h.

Referenced by CAN1_RX0_IRQHandler(), CAN2_RX0_IRQHandler(), CAN_Polling(), CAN_Receive(), Init_RxMes(), and USB_LP_CAN1_RX0_IRQHandler().


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