56 unsigned int reserved1 : 16;
58 unsigned int reserved0 : 10;
60 unsigned int type : 1;
62 unsigned char data[ 8 ];
173 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:83
can_irq_type
The possible interrupt sources for CAN.
Definition: can.h:76
rtems_status_code can_open(lpc176x_can_number minor, can_freq freq)
Opens CAN device.
Definition: can.c:334
void(* lpc176x_can_isr)(lpc176x_can_number number)
An isr for a CAN interrupt.
Definition: can.h:94
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:510
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:527
lpc176x_can_number
The CAN devices of the board.
Definition: can.h:36
unsigned int can_freq
A CAN frequency value.
Definition: can.h:99
rtems_status_code can_read(const lpc176x_can_number minor, can_message *message)
Reads the CAN device.
Definition: can.c:419
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:462
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:55
Definition: media-server.c:46
Definition: b1553brm.c:94
A CAN message represented for the registers of the device.
Definition: can.h:45
A CAN message represented of both forms.
Definition: can.h:68