Nut/OS  5.0.5
API Reference
MCAN Board

Microcontroller Board with CAN Bus. More...

Collaboration diagram for MCAN Board:

Files

file  m-can.h
 

MCAN Board Configuration.


Defines

#define SJA_SIGNAL   sig_INTERRUPT7
#define SJA_EICR   EICRB
#define SJA_SIGNAL_BIT   7
#define LCD_4x20
#define LCD_DATA_PORT   PORTB
#define LCD_DATA_DDR   DDRB
#define LCD_DATA_BITS   0xFF
 LCD data lines, either upper or lower 4 bits.
#define LCD_DATA_PIN   PINB
#define LCD_ENABLE_PORT   PORTE
#define LCD_ENABLE_DDR   DDRE
#define LCD_ENABLE_BIT   2
 LCD enable output.
#define LCD_RW_PORT   PORTE
#define LCD_RW_DDR   DDRE
#define LCD_RW_BIT   1
 LCD read/write output.
#define LCD_REGSEL_PORT   PORTE
#define LCD_REGSEL_DDR   DDRE
#define LCD_REGSEL_BIT   0
 LCD register select output.

Detailed Description

Microcontroller Board with CAN Bus.


Define Documentation

#define SJA_SIGNAL   sig_INTERRUPT7
#define SJA_EICR   EICRB
#define SJA_SIGNAL_BIT   7
#define LCD_4x20
#define LCD_DATA_PORT   PORTB

Port output register of LCD_DATA_BITS.

#define LCD_DATA_DDR   DDRB

Data direction register of LCD_DATA_BITS.

#define LCD_DATA_BITS   0xFF

LCD data lines, either upper or lower 4 bits.

#define LCD_DATA_PIN   PINB

Port input register of LCD_DATA_BITS.

#define LCD_ENABLE_PORT   PORTE

Port output register of LCD_ENABLE_BIT.

#define LCD_ENABLE_DDR   DDRE

Data direction register of LCD_ENABLE_BIT.

#define LCD_ENABLE_BIT   2

LCD enable output.

#define LCD_RW_PORT   PORTE

Port output register of LCD_RW_BIT.

#define LCD_RW_DDR   DDRE

Data direction register of LCD_RW_BIT.

#define LCD_RW_BIT   1

LCD read/write output.

#define LCD_REGSEL_PORT   PORTE

Port output register of LCD_REGSEL_BIT.

#define LCD_REGSEL_DDR   DDRE

Data direction register of LCD_REGSEL_BIT.

#define LCD_REGSEL_BIT   0

LCD register select output.