can_types.c File Reference

Go to the source code of this file.

Functions

void can_rx_setter_double_dummy (double d)
void can_rx_setter_float_dummy (float f)
void can_rx_setter_int_dummy (int i)
void can_rx_setter_short_dummy (short s)
void can_set_rx_descriptor_d (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_RX_SETTER_DOUBLE s_d1)
void can_set_rx_descriptor_ff (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_RX_SETTER_FLOAT s_f1, CAN_RX_SETTER_FLOAT s_f2)
void can_set_rx_descriptor_fi (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_RX_SETTER_FLOAT s_f1, CAN_RX_SETTER_INT s_i1)
void can_set_rx_descriptor_ii (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_RX_SETTER_INT s_i1, CAN_RX_SETTER_INT s_i2)
void can_set_rx_descriptor_iss (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_RX_SETTER_INT s_i1, CAN_RX_SETTER_SHORT s_s1, CAN_RX_SETTER_SHORT s_s2)
void can_set_tx_descriptor_d (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_TX_GETTER_DOUBLE g_d1)
void can_set_tx_descriptor_ff (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_TX_GETTER_FLOAT g_f1, CAN_TX_GETTER_FLOAT g_f2)
void can_set_tx_descriptor_fi (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_TX_GETTER_FLOAT g_f1, CAN_TX_GETTER_INT g_i1)
void can_set_tx_descriptor_ii (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_TX_GETTER_INT g_i1, CAN_TX_GETTER_INT g_i2)
void can_set_tx_descriptor_iss (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan, CAN_TX_GETTER_INT g_i1, CAN_TX_GETTER_SHORT g_s1, CAN_TX_GETTER_SHORT g_s2)
void can_set_tx_descriptor_rtr (CAN_FRAME_DESC *frame_desc, int addr, CAN_CHANNEL chan)
double can_tx_getter_double_dummy (void)
float can_tx_getter_float_dummy (void)
int can_tx_getter_int_dummy (void)
short can_tx_getter_short_dummy (void)

Detailed Description

Author:
Tommy Craig
Date:
Summer 2009

Functions for setting up CAN frame descriptors of various types. These functions are all similar except they use different data types in the descriptors. For example, the can_set_tx_descriptor_d function sets up a CAN frame descriptor that has an 8 byte double payload. The types are given by the last letter(s) of the function. Each CAN frame can only hold 8 bytes of data, so the total space of the types must match this. Possible types: d - double (64 bit floating point) f - float (32 bit floating point) i - int (32 bit unsigned long) s - short (16 bit unsigned short) c - char (8 bit unsigned char)

Getter and setter functions for use by the CAN module.

Definition in file can_types.c.

Generated on Tue Jun 29 16:36:14 2010 by  doxygen 1.6.3