can_module Struct Reference
[CAN Module]

#include <can.h>


Data Fields

unsigned long long id
unsigned long long mask
unsigned long baud
int index
volatile u8 * base
canqueue tx
canqueue rx


Detailed Description

can module structure This structure must be initialized by the user before initializing the CAN hardware. See the CANflector program for a simple example

Definition at line 132 of file can.h.


Field Documentation

volatile u8* can_module::base
 

CAN module index, for the IPAC this must be 0, set by CAN_device call

Definition at line 137 of file can.h.

unsigned long can_module::baud
 

CAN mask, full extended functionality not yet implemented

Definition at line 135 of file can.h.

int can_module::index
 

CAN bitrate in KHz, acceptable values are 250,500, and 1000

Definition at line 136 of file can.h.

unsigned long long can_module::mask
 

CAN ID, full extended functionality not yet implemented

Definition at line 134 of file can.h.

canqueue can_module::tx
 

base address, auto set by CAN_device call

Definition at line 138 of file can.h.


The documentation for this struct was generated from the following file:
Generated on Fri Mar 3 17:25:46 2006 for EMAC-HCS12-SDK by  doxygen 1.4.6