CAN_MSG_Type Struct Reference
[CAN_Public_Types]
CAN message object structure.
More...
#include <lpc17xx_can.h>
Data Fields | |
uint32_t | id |
uint8_t | dataA [4] |
uint8_t | dataB [4] |
uint8_t | len |
uint8_t | format |
uint8_t | type |
Detailed Description
CAN message object structure.Definition at line 588 of file lpc17xx_can.h.
Field Documentation
uint8_t dataA[4] |
Data field A
Definition at line 593 of file lpc17xx_can.h.
uint8_t dataB[4] |
Data field B
Definition at line 594 of file lpc17xx_can.h.
uint8_t format |
Identifier Format, should be:
- STD_ID_FORMAT: Standard ID - 11 bit format
- EXT_ID_FORMAT: Extended ID - 29 bit format
Definition at line 599 of file lpc17xx_can.h.
uint32_t id |
29 bit identifier, it depend on "format" value
- if format = STD_ID_FORMAT, id should be 11 bit identifier
- if format = EXT_ID_FORMAT, id should be 29 bit identifier
Definition at line 589 of file lpc17xx_can.h.
uint8_t len |
Length of data field in bytes, should be:
- 0000b-0111b: 0-7 bytes
- 1xxxb: 8 bytes
Definition at line 595 of file lpc17xx_can.h.
uint8_t type |
Remote Frame transmission, should be:
- DATA_FRAME: the number of data bytes called out by the DLC field are send from the CANxTDA and CANxTDB registers
- REMOTE_FRAME: Remote Frame is sent
Definition at line 603 of file lpc17xx_can.h.
The documentation for this struct was generated from the following file:
- C:/nxpdrv/LPC1700CMSIS/Drivers/include/lpc17xx_can.h
Generated on Mon Feb 8 10:01:52 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9