Nut/OS  5.0.5
API Reference
avrpio.h File Reference

AVR port configuration. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define RTL_BASE_ADDR   0x8300
 USART settings.
#define RTL_SIGNAL_IRQ   INT5
 Interrupt used by the controller.
#define RTL_EESK_BIT   5
 Clock input for EEPROM emulation.
#define RTL_EESK_AVRPORT   AVRPORTC
#define RTL_EEDO_BIT   6
#define RTL_EEDO_AVRPORT   AVRPORTC
#define RTL_EEMU_BIT   7
#define RTL_EEMU_AVRPORT   AVRPORTC
#define SPIDIGIO_SOUT_BIT   5
 Port usage of digital I/O shift register.
#define SPIDIGIO_SOUT_AVRPORT   AVRPORTD
#define SPIDIGIO_SIN_BIT   6
#define SPIDIGIO_SIN_PIN   PIND
#define SPIDIGIO_SIN_PORT   PORTD
#define SPIDIGIO_SIN_DDR   DDRD
#define SPIDIGIO_SCLK_BIT   7
#define SPIDIGIO_SCLK_AVRPORT   AVRPORTD
#define SPIDIGIO_LDI_BIT   7
#define SPIDIGIO_LDI_AVRPORT   AVRPORTB
#define SPIDIGIO_LDO_BIT   5
#define SPIDIGIO_LDO_AVRPORT   AVRPORTB

Detailed Description

AVR port configuration.

This file collects all port specifications for the AVR platform and provides an overview of hardware resources in use.

Values are geared to the Ethernut reference design and can be changed by the Configurator. This program creates a file with the same name in the build tree, which replaces this placeholder.


Define Documentation

#define RTL_BASE_ADDR   0x8300

USART settings.

Settings for the Realtek RTL8019AS.

Memory mapped base address.

#define RTL_SIGNAL_IRQ   INT5

Interrupt used by the controller.

Referenced by NicInit(), and NicRx().

#define RTL_EESK_BIT   5

Clock input for EEPROM emulation.

This is enabled by default, but the driver will run a check before jumping into the emulation.

#define RTL_EESK_AVRPORT   AVRPORTC
#define RTL_EEDO_BIT   6
#define RTL_EEDO_AVRPORT   AVRPORTC
#define RTL_EEMU_BIT   7
#define RTL_EEMU_AVRPORT   AVRPORTC
#define SPIDIGIO_SOUT_BIT   5

Port usage of digital I/O shift register.

Referenced by SpiDigitalGet(), SpiDigitalInit(), and SpiDigitalSet().

#define SPIDIGIO_SOUT_AVRPORT   AVRPORTD
#define SPIDIGIO_SIN_BIT   6

Referenced by SpiDigitalGet(), and SpiDigitalInit().

#define SPIDIGIO_SIN_PIN   PIND

Referenced by SpiDigitalGet().

#define SPIDIGIO_SIN_PORT   PORTD

Referenced by SpiDigitalInit().

#define SPIDIGIO_SIN_DDR   DDRD

Referenced by SpiDigitalInit().

#define SPIDIGIO_SCLK_BIT   7

Referenced by SpiDigitalInit().

#define SPIDIGIO_SCLK_AVRPORT   AVRPORTD
#define SPIDIGIO_LDI_BIT   7

Referenced by SpiDigitalGet(), and SpiDigitalInit().

#define SPIDIGIO_LDI_AVRPORT   AVRPORTB
#define SPIDIGIO_LDO_BIT   5

Referenced by SpiDigitalInit(), and SpiDigitalSet().

#define SPIDIGIO_LDO_AVRPORT   AVRPORTB