LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
IP_CAN_001_RX_T Struct Reference

Detailed Description

CAN Receive register block structure.

Definition at line 107 of file can_001.h.

#include "can_001.h"

Data Fields

__IO uint32_t RFS
 
__IO uint32_t RID
 
__IO uint32_t RD [2]
 

Field Documentation

__IO uint32_t RD[2]

Data bytes of the received message. Use DLC value in RFS fied to determine the number of data bytes.

Definition at line 117 of file can_001.h.

__IO uint32_t RFS

Characteristic of the received frame. It includes the following characteristics: CAN_RFS_BP: indicate that the current message is received in Bypass mode. CAN_RFS_RTR: indicate the value of Remote Transmission Request bit in the current message. CAN_RFS_FF: indicate that the identifier in the current message is 11-bit or 29-bit identifier. Use CAN_RFS_ID_INDEX(RFS value) to get the ID Index of the matched entry in the Lookup Table RAM. Use CAN_RFS_DLC(RFS value) to get the Data Length Code field of the current received message.

Definition at line 109 of file can_001.h.

__IO uint32_t RID

Identifier in the received message. Use RFS field to determine if it is 11-bit or 29-bit identifier.

Definition at line 116 of file can_001.h.


The documentation for this struct was generated from the following file: