chap13/ecan_example_fifo.c File Reference

#include "pic24_all.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void configBaudECAN1 (void)


Detailed Description

Illustrate CAN transmit, receive. Uses a FIFO for RX receive, and uses a standard data frame.

Definition in file ecan_example_fifo.c.


Function Documentation

void configBaudECAN1 ( void   ) 

Clock config taken from the PIC24H FRM ECAN datasheet (DS70226B, Example 21-9), Produces data rate of 1 Mbps assuming FCY = 40 MHz, quanta = 20, Prescale = 2.

Definition at line 42 of file ecan_example_fifo.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8