|
NIBObee Library 1.4
|
Zuordnung der physikalischen Pins zu symbolischen Namen. Mehr ...
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | IO_LEDS_PORT PORTB |
| #define | IO_LEDS_MASK 0x0f |
| #define | IO_LEDS_DDR DDRB |
| #define | IO_LEDS_BIT_L_YE 0 |
| #define | IO_LEDS_BIT_L_RD 1 |
| #define | IO_LEDS_BIT_R_RD 2 |
| #define | IO_LEDS_BIT_R_YE 3 |
| #define | IO_SENS_PORT PORTC |
| #define | IO_SENS_PIN PINC |
| #define | IO_SENS_MASK 0xf0 |
| #define | IO_SENS_DDR DDRC |
| #define | IO_SENS_BIT_LEFT1 4 |
| #define | IO_SENS_BIT_LEFT2 5 |
| #define | IO_SENS_BIT_RIGHT1 6 |
| #define | IO_SENS_BIT_RIGHT2 7 |
| #define | IO_MOTOR_PORT PORTD |
| #define | IO_MOTOR_PIN PIND |
| #define | IO_MOTOR_MASK 0xf0 |
| #define | IO_MOTOR_DDR DDRD |
| #define | IO_MOTOR_BIT_DIR_LEFT 6 |
| #define | IO_MOTOR_BIT_DIR_RIGHT 7 |
| #define | IO_MOTOR_BIT_PWM_LEFT 5 |
| #define | IO_MOTOR_BIT_PWM_RIGHT 4 |
| #define | IO_ODO_PORT PORTD |
| #define | IO_ODO_PIN PIND |
| #define | IO_ODO_MASK 0x0c |
| #define | IO_ODO_DDR DDRD |
| #define | IO_ODO_BIT_LEFT 2 |
| #define | IO_ODO_BIT_RIGHT 3 |
| #define | IO_EXT_PORT PORTC |
| #define | IO_EXT_PIN PINC |
| #define | IO_EXT_MASK 0x0f |
| #define | IO_EXT_DDR DDRC |
| #define | IO_EXT_BIT_0 0 |
| #define | IO_EXT_BIT_1 1 |
| #define | IO_EXT_BIT_2 2 |
| #define | IO_EXT_BIT_3 3 |
| #define | IO_LINE_EN IO_LINE_EN |
| #define | IO_LINE_EN_PORT PORTB |
| #define | IO_LINE_EN_BIT 4 |
| #define | IO_LINE_EN_DDR DDRB |
| #define | IO_I2C_SDA_PORT PORTC |
| #define | IO_I2C_SDA_PIN PINC |
| #define | IO_I2C_SDA_BIT 1 |
| #define | IO_I2C_SDA_DDR DDRC |
| #define | IO_I2C_SCL_PORT PORTC |
| #define | IO_I2C_SCL_PIN PINC |
| #define | IO_I2C_SCL_BIT 0 |
| #define | IO_I2C_SCL_DDR DDRC |
| #define | IO_UART_RXD_PORT PORTD |
| #define | IO_UART_RXD_PIN PIND |
| #define | IO_UART_RXD_BIT 0 |
| #define | IO_UART_RXD_DDR DDRD |
| #define | IO_UART_TXD_PORT PORTD |
| #define | IO_UART_TXD_PIN PIND |
| #define | IO_UART_TXD_BIT 1 |
| #define | IO_UART_TXD_DDR DDRD |
| #define | AN_LINE_R 7 |
| #define | AN_LINE_C 6 |
| #define | AN_LINE_L 5 |
| #define | AN_VBAT 4 |
| #define | AN_X3 3 |
| #define | AN_X2 2 |
| #define | AN_X1 1 |
| #define | AN_X0 0 |
Zuordnung der physikalischen Pins zu symbolischen Namen.
| #define AN_LINE_C 6 |
ADC-PIN liniesensor center
| #define AN_LINE_L 5 |
ADC-PIN liniesensor left
| #define AN_LINE_R 7 |
Analog channels ADC-PIN liniesensor right
| #define AN_VBAT 4 |
ADC-PIN battery voltage
| #define AN_X0 0 |
ADC-PIN extension 0
| #define AN_X1 1 |
ADC-PIN extension 1
| #define AN_X2 2 |
ADC-PIN extension 2
| #define AN_X3 3 |
ADC-PIN extension 3
| #define IO_EXT_PORT PORTC |
Extension Port group
| #define IO_I2C_SCL_PORT PORTC |
I2C SCL
| #define IO_I2C_SDA_PORT PORTC |
I2C SDA
| #define IO_LEDS_PORT PORTB |
LED group
| #define IO_LINE_EN IO_LINE_EN |
Line sensor enable
| #define IO_MOTOR_PORT PORTD |
Motor group
| #define IO_ODO_PORT PORTD |
Odometry group
| #define IO_SENS_PORT PORTC |
Sensor group
| #define IO_UART_RXD_PORT PORTD |
RXD
| #define IO_UART_TXD_PORT PORTD |
TXD
1.7.4-20110426