NiboRoboLib 3.6 - NIBO Library
|
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 0xff |
#define | IO_LEDS_RED_DDR DDRE |
#define | IO_LEDS_GREEN_PORT PORTC |
#define | IO_LEDS_GREEN_MASK 0xff |
#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_LED_RG_PORT PORTB |
#define | IO_LED_RG_BIT 7 |
#define | IO_LED_RG_DDR DDRB |
#define | IO_AUDIO_PORT PORTB |
#define | IO_AUDIO_BIT 4 |
#define | IO_AUDIO_DDR DDRB |
#define | IO_LINE_FLOOR_EN IO_LINE_FLOOR_EN |
#define | IO_LINE_FLOOR_EN_PORT PORTF |
#define | IO_LINE_FLOOR_EN_BIT 6 |
#define | IO_LINE_FLOOR_EN_DDR DDRF |
#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 PORTG |
#define | IO_DISPLAY_CS1_BIT 0 |
#define | IO_DISPLAY_CS1_DDR DDRG |
#define | IO_DISPLAY_CS2 IO_DISPLAY_CS2 |
#define | IO_DISPLAY_CS2_PORT PORTG |
#define | IO_DISPLAY_CS2_BIT 1 |
#define | IO_DISPLAY_CS2_DDR DDRG |
#define | IO_DISPLAY_RST IO_DISPLAY_RST |
#define | IO_DISPLAY_RST_PIN PINB |
#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_EXT_A_PORT PORTD |
#define | IO_EXT_A_PIN PIND |
#define | IO_EXT_A_BIT 6 |
#define | IO_EXT_A_DDR DDRD |
#define | IO_EXT_B_PORT PORTD |
#define | IO_EXT_B_PIN PIND |
#define | IO_EXT_B_BIT 5 |
#define | IO_EXT_B_DDR DDRD |
#define | IO_EXT_C_PORT PORTD |
#define | IO_EXT_C_PIN PIND |
#define | IO_EXT_C_BIT 3 |
#define | IO_EXT_C_DDR DDRD |
#define | IO_EXT_D_PORT PORTD |
#define | IO_EXT_D_PIN PIND |
#define | IO_EXT_D_BIT 2 |
#define | IO_EXT_D_DDR DDRD |
#define | IO_RESET_CO_PORT PORTD |
#define | IO_RESET_CO_BIT 7 |
#define | IO_RESET_CO_DDR DDRD |
#define | IO_INPUT_1 IO_INPUT_1 |
#define | IO_INPUT_1_PORT PORTD |
#define | IO_INPUT_1_PIN PIND |
#define | IO_INPUT_1_BIT 4 |
#define | IO_INPUT_1_DDR DDRD |
#define | IO_INPUT_2 IO_INPUT_2 |
#define | IO_INPUT_2_PORT PORTF |
#define | IO_INPUT_2_PIN PINF |
#define | IO_INPUT_2_BIT 5 |
#define | IO_INPUT_2_DDR DDRF |
#define | IO_INPUT_3 IO_INPUT_3 |
#define | IO_INPUT_3_PORT PORTF |
#define | IO_INPUT_3_PIN PINF |
#define | IO_INPUT_3_BIT 4 |
#define | IO_INPUT_3_DDR DDRF |
#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 | IO_ISP_SS IO_DISPLAY_RST |
#define | IO_I2C_SDA_PORT PORTD |
#define | IO_I2C_SDA_PIN PIND |
#define | IO_I2C_SDA_BIT 1 |
#define | IO_I2C_SDA_DDR DDRD |
#define | IO_I2C_SCL_PORT PORTD |
#define | IO_I2C_SCL_PIN PIND |
#define | IO_I2C_SCL_BIT 0 |
#define | IO_I2C_SCL_DDR DDRD |
#define | I2C_BUF_SIZE 20 |
#define | I2C_TWBR_INIT 72 /* 100 kHz */ |
#define | IRCO_I2C_ID 42 |
#define | MOTCO_I2C_ID 44 |
#define | COPRO_I2C_ID 46 |
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 COPRO_I2C_ID 46 |
I2C Bus ID for Coprocessor general
#define I2C_BUF_SIZE 20 |
I2C Interface configuration
#define IO_AUDIO_PORT PORTB |
Audio output
#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 and SS
#define IO_DISPLAY_RW IO_DISPLAY_RW |
Display read/write
#define IO_EXT_A_PORT PORTD |
Ext A
#define IO_EXT_B_PORT PORTD |
Ext B
#define IO_EXT_C_PORT PORTD |
Ext C
#define IO_EXT_D_PORT PORTD |
Ext D
#define IO_I2C_SCL_PORT PORTD |
I2C SCL
#define IO_I2C_SDA_PORT PORTD |
I2C SDA
#define IO_INPUT_1 IO_INPUT_1 |
Input 1 (switch)
#define IO_INPUT_2 IO_INPUT_2 |
Input 2 (jumper)
#define IO_INPUT_3 IO_INPUT_3 |
Input 3 (jumper)
#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_ISP_SS IO_DISPLAY_RST |
ISP SS shared with display reset
#define IO_LED_RG_PORT PORTB |
Red and Green LEDs brightness
#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_CO_PORT PORTD |
Reset Coprocessor
#define IRCO_I2C_ID 42 |
I2C Bus ID for Coprocessor IRCO-functions
#define MOTCO_I2C_ID 44 |
I2C Bus ID for Coprocessor MOTCO-functions