|
NIBO Library 2.11
|
Zuordnung der physikalischen Pins zu symbolischen Namen. Mehr ...
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | IO_LEDS_RED_PORT PORTE |
| #define | IO_LEDS_RED_MASK 0xfc |
| #define | IO_LEDS_RED_DDR DDRE |
| #define | IO_LEDS_GREEN_PORT PORTC |
| #define | IO_LEDS_GREEN_MASK 0xfc |
| #define | IO_LEDS_GREEN_DDR DDRC |
| #define | IO_LED_WHITE_PORT PORTB |
| #define | IO_LED_WHITE_BIT 5 |
| #define | IO_LED_WHITE_DDR DDRB |
| #define | IO_DISP_LIGHT_PORT PORTB |
| #define | IO_DISP_LIGHT_BIT 6 |
| #define | IO_DISP_LIGHT_DDR DDRB |
| #define | IO_LINE_FLOOR_EN IO_LINE_FLOOR_EN |
| #define | IO_LINE_FLOOR_EN_PORT PORTG |
| #define | IO_LINE_FLOOR_EN_BIT 0 |
| #define | IO_LINE_FLOOR_EN_DDR DDRG |
| #define | AN_FLOOR_R 0 |
| #define | AN_FLOOR_L 1 |
| #define | AN_LINE_L 2 |
| #define | AN_LINE_R 3 |
| #define | AN_VBAT 7 |
| #define | IO_DISPLAY_RS IO_DISPLAY_RS |
| #define | IO_DISPLAY_RS_PORT PORTG |
| #define | IO_DISPLAY_RS_BIT 3 |
| #define | IO_DISPLAY_RS_DDR DDRG |
| #define | IO_DISPLAY_RW IO_DISPLAY_RW |
| #define | IO_DISPLAY_RW_PORT PORTG |
| #define | IO_DISPLAY_RW_BIT 4 |
| #define | IO_DISPLAY_RW_DDR DDRG |
| #define | IO_DISPLAY_EN IO_DISPLAY_EN |
| #define | IO_DISPLAY_EN_PORT PORTG |
| #define | IO_DISPLAY_EN_BIT 2 |
| #define | IO_DISPLAY_EN_DDR DDRG |
| #define | IO_DISPLAY_CS1 IO_DISPLAY_CS1 |
| #define | IO_DISPLAY_CS1_PORT PORTB |
| #define | IO_DISPLAY_CS1_BIT 4 |
| #define | IO_DISPLAY_CS1_DDR DDRB |
| #define | IO_DISPLAY_CS2 IO_DISPLAY_CS2 |
| #define | IO_DISPLAY_CS2_PORT PORTB |
| #define | IO_DISPLAY_CS2_BIT 7 |
| #define | IO_DISPLAY_CS2_DDR DDRB |
| #define | IO_DISPLAY_RST IO_DISPLAY_RST |
| #define | IO_DISPLAY_RST_PORT PORTB |
| #define | IO_DISPLAY_RST_BIT 0 |
| #define | IO_DISPLAY_RST_DDR DDRB |
| #define | IO_DISPLAY_PORT PORTA |
| #define | IO_DISPLAY_PIN PINA |
| #define | IO_DISPLAY_DDR DDRA |
| #define | IO_RESET_A_PORT PORTD |
| #define | IO_RESET_A_BIT 4 |
| #define | IO_RESET_A_DDR DDRD |
| #define | IO_RESET_B_PORT PORTD |
| #define | IO_RESET_B_BIT 5 |
| #define | IO_RESET_B_DDR DDRD |
| #define | IO_RESET_5_PORT PORTD |
| #define | IO_RESET_5_BIT 6 |
| #define | IO_RESET_5_DDR DDRD |
| #define | IO_RESET_3_PORT PORTD |
| #define | IO_RESET_3_BIT 7 |
| #define | IO_RESET_3_DDR DDRD |
| #define | IO_ISP_SCK_PORT PORTB |
| #define | IO_ISP_SCK_BIT 1 |
| #define | IO_ISP_SCK_DDR DDRB |
| #define | IO_ISP_MOSI_PORT PORTB |
| #define | IO_ISP_MOSI_BIT 2 |
| #define | IO_ISP_MOSI_DDR DDRB |
| #define | IO_ISP_MISO_PORT PORTB |
| #define | IO_ISP_MISO_PIN PINB |
| #define | IO_ISP_MISO_BIT 3 |
| #define | IO_ISP_MISO_DDR DDRB |
| #define | I2C_BUF_SIZE 16 |
| #define | I2C_TWBR_INIT 12 |
| #define | IRCO_I2C_ID 42 |
| #define | MOTCO_I2C_ID 44 |
Zuordnung der physikalischen Pins zu symbolischen Namen.
| #define AN_FLOOR_L 1 |
ADC-PIN floorsensor left
| #define AN_FLOOR_R 0 |
Analog channels ADC-PIN floorsensor right
| #define AN_LINE_L 2 |
ADC-PIN liniesensor left
| #define AN_LINE_R 3 |
ADC-PIN liniesensor right
| #define AN_VBAT 7 |
ADC-PIN battery voltage
| #define I2C_BUF_SIZE 16 |
I2C Interface configuration
| #define IO_DISP_LIGHT_PORT PORTB |
Display illumination
| #define IO_DISPLAY_CS1 IO_DISPLAY_CS1 |
Display chip select 1
| #define IO_DISPLAY_CS2 IO_DISPLAY_CS2 |
Display chip select 2
| #define IO_DISPLAY_EN IO_DISPLAY_EN |
Display enable
| #define IO_DISPLAY_PORT PORTA |
Display data port
| #define IO_DISPLAY_RS IO_DISPLAY_RS |
Display register select
| #define IO_DISPLAY_RST IO_DISPLAY_RST |
Display reset
| #define IO_DISPLAY_RW IO_DISPLAY_RW |
Display read/write
| #define IO_ISP_MISO_PORT PORTB |
ISP MISO
| #define IO_ISP_MOSI_PORT PORTB |
ISP MOSI
| #define IO_ISP_SCK_PORT PORTB |
ISP SCK
| #define IO_LED_WHITE_PORT PORTB |
White LED pair
| #define IO_LEDS_GREEN_PORT PORTC |
Green LEDs
| #define IO_LEDS_RED_PORT PORTE |
Red LEDs
| #define IO_LINE_FLOOR_EN IO_LINE_FLOOR_EN |
Line and floor sensor
| #define IO_RESET_3_PORT PORTD |
Reset IC3 / MOTCO
| #define IO_RESET_5_PORT PORTD |
Reset IC5 / IRCO
| #define IO_RESET_A_PORT PORTD |
Reset Ext A
| #define IO_RESET_B_PORT PORTD |
Reset Ext B
| #define IRCO_I2C_ID 42 |
I2C Bus ID for IRCO
| #define MOTCO_I2C_ID 44 |
I2C Bus ID for MOTCO
1.7.4-20110426