54 unsigned int reserved1 : 16;
56 unsigned int reserved0 : 10;
58 unsigned int type : 1;
60 unsigned char data[ 8 ];
171 const char *
const _data,
rtems_status_code can_close(lpc176x_can_number minor)
Closes the passed CAN device and shut it down.
Definition: can.c:81
can_irq_type
The possible interrupt sources for CAN.
Definition: can.h:74
rtems_status_code can_read(const lpc176x_can_number minor, can_message *message)
Reads the CAN device.
Definition: can.c:415
rtems_status_code can_open(lpc176x_can_number minor, can_freq freq)
Opens CAN device.
Definition: can.c:332
rtems_status_code can_write(const lpc176x_can_number minor, const can_message *const message)
Writes the passed CAN message into the selected CAN device.
Definition: can.c:458
void(* lpc176x_can_isr)(lpc176x_can_number number)
An isr for a CAN interrupt.
Definition: can.h:92
rtems_status_code can_register_isr(const lpc176x_can_number number, const can_irq_type type, const lpc176x_can_isr isr)
Registers an isr in the driver vector, and enables the interrupt in the device.
Definition: can.c:506
rtems_status_code create_can_message(can_message *const msg, const int _id, const char *const _data, const char _len)
Creates a CAN message.
Definition: can.c:523
lpc176x_can_number
The CAN devices of the board.
Definition: can.h:34
unsigned int can_freq
A CAN frequency value.
Definition: can.h:97
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
Specific register definitions according to lpc176x family boards.
A CAN message represented with each logical parts.
Definition: can.h:53
Definition: media-server.c:46
Definition: b1553brm.c:94
A CAN message represented for the registers of the device.
Definition: can.h:43
A CAN message represented of both forms.
Definition: can.h:66