Nut/OS  4.10.3
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.

Definition in file avrpio.h.


Define Documentation

#define RTL_BASE_ADDR   0x8300

USART settings.

Settings for the Realtek RTL8019AS.

Memory mapped base address.

Definition at line 95 of file avrpio.h.

#define RTL_SIGNAL_IRQ   INT5

Interrupt used by the controller.

Definition at line 102 of file avrpio.h.

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.

Definition at line 112 of file avrpio.h.

#define RTL_EESK_AVRPORT   AVRPORTC

Definition at line 116 of file avrpio.h.

#define RTL_EEDO_BIT   6

Definition at line 120 of file avrpio.h.

#define RTL_EEDO_AVRPORT   AVRPORTC

Definition at line 124 of file avrpio.h.

#define RTL_EEMU_BIT   7

Definition at line 128 of file avrpio.h.

#define RTL_EEMU_AVRPORT   AVRPORTC

Definition at line 132 of file avrpio.h.

#define SPIDIGIO_SOUT_BIT   5

Port usage of digital I/O shift register.

Definition at line 139 of file avrpio.h.

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

#define SPIDIGIO_SOUT_AVRPORT   AVRPORTD

Definition at line 143 of file avrpio.h.

#define SPIDIGIO_SIN_BIT   6

Definition at line 147 of file avrpio.h.

Referenced by SpiDigitalGet(), and SpiDigitalInit().

#define SPIDIGIO_SIN_PIN   PIND

Definition at line 151 of file avrpio.h.

Referenced by SpiDigitalGet().

#define SPIDIGIO_SIN_PORT   PORTD

Definition at line 155 of file avrpio.h.

Referenced by SpiDigitalInit().

#define SPIDIGIO_SIN_DDR   DDRD

Definition at line 159 of file avrpio.h.

Referenced by SpiDigitalInit().

#define SPIDIGIO_SCLK_BIT   7

Definition at line 163 of file avrpio.h.

Referenced by SpiDigitalInit().

#define SPIDIGIO_SCLK_AVRPORT   AVRPORTD

Definition at line 167 of file avrpio.h.

#define SPIDIGIO_LDI_BIT   7

Definition at line 171 of file avrpio.h.

Referenced by SpiDigitalGet(), and SpiDigitalInit().

#define SPIDIGIO_LDI_AVRPORT   AVRPORTB

Definition at line 175 of file avrpio.h.

#define SPIDIGIO_LDO_BIT   5

Definition at line 179 of file avrpio.h.

Referenced by SpiDigitalInit(), and SpiDigitalSet().

#define SPIDIGIO_LDO_AVRPORT   AVRPORTB

Definition at line 183 of file avrpio.h.