subcfg.h File Reference

#include <stddef.h>
Include dependency graph for lib/subcfg.h:

Go to the source code of this file.

Classes

struct  sub_cfg_t
struct  sub_string_descr_t
struct  sub_vpd_t

Defines

#define DE_DDR   DDRA
#define DE_PIN   PORTA7
#define DE_PORT   PORTA
#define DIR   PORTA4
#define DIR_DDR   DDRA
#define DIR_PORT   PORTA
#define GPIO_DDR0   DDRC
#define GPIO_DDR1   DDRD
#define GPIO_DDR2   DDRF
#define GPIO_DDR3   DDRE
#define GPIO_PIN0   PINC
#define GPIO_PIN1   PIND
#define GPIO_PIN2   PINF
#define GPIO_PIN3   PINE
#define GPIO_PORT0   PORTC
#define GPIO_PORT1   PORTD
#define GPIO_PORT2   PORTF
#define GPIO_PORT3   PORTE
#define GPIOB_DDR0   DDRB
#define GPIOB_PIN0   PINB
#define GPIOB_PORT0   PORTC
#define IS_LED_ON(LEDN)   (!(LED_PORT & _BV(LEDN)))
#define LCD_D4_DDR   DDRC
#define LCD_D4_PIN   PORTC3
#define LCD_D4_PORT   PORTC
#define LCD_D5_DDR   DDRC
#define LCD_D5_PIN   PORTC2
#define LCD_D5_PORT   PORTC
#define LCD_D6_DDR   DDRC
#define LCD_D6_PIN   PORTC1
#define LCD_D6_PORT   PORTC
#define LCD_D7_DDR   DDRC
#define LCD_D7_PIN   PORTC0
#define LCD_D7_PORT   PORTC
#define LCD_DATA_DDR   DDRC
#define LCD_DATA_PORT   PORTC
#define LCD_E_DDR   DDRC
#define LCD_E_PIN   PORTC6
#define LCD_E_PORT   PORTC
#define LCD_PORT   0
#define LCD_RS_DDR   DDRC
#define LCD_RS_PIN   PORTC7
#define LCD_RS_PORT   PORTC
#define LCD_WDTH   4
#define LED_DDR   DDRA
#define LED_OFF(LEDN)   LED_PORT |= _BV( LEDN )
#define LED_ON(LEDN)   LED_PORT &=~_BV( LEDN )
#define LED_PORT   PORTA
#define LED_TGL(LEDN)   LED_PORT ^= _BV(LEDN)
#define MAX_STR_DESCR   4
#define MDC0_PIN   PORTD6
#define MDC1_PIN   PORTB2
#define MDIO0_DDR   DDRD
#define MDIO0_PIN   PORTD7
#define MDIO0_PINS   PIND
#define MDIO0_PORT   PORTD
#define MDIO1_DDR   DDRB
#define MDIO1_PIN   PORTB1
#define MDIO1_PINS   PINB
#define MDIO1_PORT   PORTB
#define RE_DDR   DDRA
#define RE_PIN   PORTA6
#define RE_PORT   PORTA
#define RLED   PORTA0
#define SW1   PINA2
#define SW2   PINA3
#define SW_PIN   PINA
#define SW_PORT   PORTA
#define YLED   PORTA1

Define Documentation

#define DE_DDR   DDRA

Definition at line 56 of file lib/subcfg.h.

#define DE_PIN   PORTA7

Definition at line 57 of file lib/subcfg.h.

#define DE_PORT   PORTA

Definition at line 55 of file lib/subcfg.h.

#define DIR   PORTA4

Definition at line 34 of file lib/subcfg.h.

#define DIR_DDR   DDRA

Definition at line 33 of file lib/subcfg.h.

#define DIR_PORT   PORTA

Definition at line 32 of file lib/subcfg.h.

#define GPIO_DDR0   DDRC

Definition at line 74 of file lib/subcfg.h.

#define GPIO_DDR1   DDRD

Definition at line 77 of file lib/subcfg.h.

#define GPIO_DDR2   DDRF

Definition at line 80 of file lib/subcfg.h.

#define GPIO_DDR3   DDRE

Definition at line 83 of file lib/subcfg.h.

#define GPIO_PIN0   PINC

Definition at line 73 of file lib/subcfg.h.

#define GPIO_PIN1   PIND

Definition at line 76 of file lib/subcfg.h.

#define GPIO_PIN2   PINF

Definition at line 79 of file lib/subcfg.h.

#define GPIO_PIN3   PINE

Definition at line 82 of file lib/subcfg.h.

#define GPIO_PORT0   PORTC

Definition at line 75 of file lib/subcfg.h.

#define GPIO_PORT1   PORTD

Definition at line 78 of file lib/subcfg.h.

#define GPIO_PORT2   PORTF

Definition at line 81 of file lib/subcfg.h.

#define GPIO_PORT3   PORTE

Definition at line 84 of file lib/subcfg.h.

#define GPIOB_DDR0   DDRB

Definition at line 88 of file lib/subcfg.h.

#define GPIOB_PIN0   PINB

Definition at line 87 of file lib/subcfg.h.

#define GPIOB_PORT0   PORTC

Definition at line 89 of file lib/subcfg.h.

#define IS_LED_ON ( LEDN   )     (!(LED_PORT & _BV(LEDN)))

Definition at line 45 of file lib/subcfg.h.

#define LCD_D4_DDR   DDRC

Definition at line 116 of file lib/subcfg.h.

#define LCD_D4_PIN   PORTC3

Definition at line 117 of file lib/subcfg.h.

#define LCD_D4_PORT   PORTC

Definition at line 115 of file lib/subcfg.h.

#define LCD_D5_DDR   DDRC

Definition at line 119 of file lib/subcfg.h.

#define LCD_D5_PIN   PORTC2

Definition at line 120 of file lib/subcfg.h.

#define LCD_D5_PORT   PORTC

Definition at line 118 of file lib/subcfg.h.

#define LCD_D6_DDR   DDRC

Definition at line 122 of file lib/subcfg.h.

#define LCD_D6_PIN   PORTC1

Definition at line 123 of file lib/subcfg.h.

#define LCD_D6_PORT   PORTC

Definition at line 121 of file lib/subcfg.h.

#define LCD_D7_DDR   DDRC

Definition at line 125 of file lib/subcfg.h.

#define LCD_D7_PIN   PORTC0

Definition at line 126 of file lib/subcfg.h.

#define LCD_D7_PORT   PORTC

Definition at line 124 of file lib/subcfg.h.

#define LCD_DATA_DDR   DDRC

Definition at line 129 of file lib/subcfg.h.

#define LCD_DATA_PORT   PORTC

Definition at line 128 of file lib/subcfg.h.

#define LCD_E_DDR   DDRC

Definition at line 110 of file lib/subcfg.h.

#define LCD_E_PIN   PORTC6

Definition at line 111 of file lib/subcfg.h.

#define LCD_E_PORT   PORTC

Definition at line 109 of file lib/subcfg.h.

#define LCD_PORT   0

Definition at line 114 of file lib/subcfg.h.

#define LCD_RS_DDR   DDRC

Definition at line 106 of file lib/subcfg.h.

#define LCD_RS_PIN   PORTC7

Definition at line 107 of file lib/subcfg.h.

#define LCD_RS_PORT   PORTC

Definition at line 105 of file lib/subcfg.h.

#define LCD_WDTH   4

Definition at line 113 of file lib/subcfg.h.

#define LED_DDR   DDRA

Definition at line 40 of file lib/subcfg.h.

#define LED_OFF ( LEDN   )     LED_PORT |= _BV( LEDN )

Definition at line 43 of file lib/subcfg.h.

#define LED_ON ( LEDN   )     LED_PORT &=~_BV( LEDN )

Definition at line 44 of file lib/subcfg.h.

#define LED_PORT   PORTA

Definition at line 39 of file lib/subcfg.h.

#define LED_TGL ( LEDN   )     LED_PORT ^= _BV(LEDN)

Definition at line 46 of file lib/subcfg.h.

#define MAX_STR_DESCR   4

Definition at line 133 of file lib/subcfg.h.

#define MDC0_PIN   PORTD6

Definition at line 95 of file lib/subcfg.h.

#define MDC1_PIN   PORTB2

Definition at line 101 of file lib/subcfg.h.

#define MDIO0_DDR   DDRD

Definition at line 93 of file lib/subcfg.h.

#define MDIO0_PIN   PORTD7

Definition at line 96 of file lib/subcfg.h.

#define MDIO0_PINS   PIND

Definition at line 94 of file lib/subcfg.h.

#define MDIO0_PORT   PORTD

Definition at line 92 of file lib/subcfg.h.

#define MDIO1_DDR   DDRB

Definition at line 99 of file lib/subcfg.h.

#define MDIO1_PIN   PORTB1

Definition at line 102 of file lib/subcfg.h.

#define MDIO1_PINS   PINB

Definition at line 100 of file lib/subcfg.h.

#define MDIO1_PORT   PORTB

Definition at line 98 of file lib/subcfg.h.

#define RE_DDR   DDRA

Definition at line 59 of file lib/subcfg.h.

#define RE_PIN   PORTA6

Definition at line 60 of file lib/subcfg.h.

#define RE_PORT   PORTA

Definition at line 58 of file lib/subcfg.h.

#define RLED   PORTA0

Definition at line 41 of file lib/subcfg.h.

#define SW1   PINA2

Definition at line 51 of file lib/subcfg.h.

#define SW2   PINA3

Definition at line 52 of file lib/subcfg.h.

#define SW_PIN   PINA

Definition at line 50 of file lib/subcfg.h.

#define SW_PORT   PORTA

Definition at line 49 of file lib/subcfg.h.

#define YLED   PORTA1

Definition at line 42 of file lib/subcfg.h.

 All Classes Files Functions Variables Typedefs Enumerator Defines


sub20
Author(s): Sebastian Haug
autogenerated on Fri Jan 11 09:59:56 2013