File nut/include/arch/cm3/board/f4_discovery.h


Included Files


Preprocessor definitions

#define LED1_PORT NUTGPIO_PORTD

#define LED1_PIN 13

#define LED2_PORT NUTGPIO_PORTD

#define LED2_PIN 12

#define LED3_PORT NUTGPIO_PORTD

#define LED3_PIN 14

#define LED4_PORT NUTGPIO_PORTD

#define LED4_PIN 15

#define DEF_OWIBUS owiBus0Stm32Tim

#define OWI_PORT NUTGPIO_PORTB

#define OWI_PIN 1

#define OWI_TIMER NUTTIMER3

#define OWI_CHANNEL 4

#define DEV_UART devUsartStm32_2

#define DEV_UART_NAME

#define SBBI0_MISO_BIT 6

#define SBBI0_MISO_PORT NUTGPIO_PORTA

#define SBBI0_MOSI_BIT 7

#define SBBI0_MOSI_PORT NUTGPIO_PORTA

#define SBBI0_SCK_BIT 5

#define SBBI0_SCK_PORT NUTGPIO_PORTA

#define SBBI0_CS0_BIT 3

#define SBBI0_CS0_PORT NUTGPIO_PORTE

#define AUDIO_RST_PORT NUTGPIO_PORTD

#define AUDIO_RST_PIN 4

#define DEV_CONSOLE devUsartStm32_2

#define DEV_CONSOLE_NAME

#define I2CBUS1_SDA_PIN 9

#define I2CBUS1_SCL_PIN 6

#define DEF_TWIBUS Stm32TwiBus_1

#define DEF_I2CBUS i2cBus0Gpio

#define DEF_CANBUS Stm32CanBus1

#define DEF_CANBUS_SLAVE Stm32CanBus1C