Board specific definitions for the STM32F746G-DISCO. More...
Board specific definitions for the STM32F746G-DISCO.
Definition in file board.h.
Go to the source code of this file.
LCD Backlight control defines | |
#define | BACKLIGHT_PIN GPIO_PIN(PORT_K, 3) |
Backlight pin. | |
#define | BACKLIGHT_MASK (1 << 3) |
Backlight pin mask. | |
#define | BACKLIGHT_ON (GPIOK->BSRR = BACKLIGHT_MASK) |
Set the backlight pin. | |
#define | BACKLIGHT_OFF (GPIOK->BSRR = (BACKLIGHT_MASK << 16)) |
Clear the backlight pin. | |
#define | BACKLIGHT_TOGGLE (GPIOK->ODR ^= BACKLIGHT_MASK) |
Toggle the backlight pin. | |
LCD display enable pin | |
#define | LCD_DISP_PIN GPIO_PIN(PORT_I, 12) |
LCD screen enable pin. | |
LCD screen dimensions | |
#define | LCD_SCREEN_WIDTH 480 |
LCD screen width. | |
#define | LCD_SCREEN_HEIGHT 272 |
LCD screen height. | |
Macros for controlling the on-board LEDs. | |
#define | LED0_PIN_NUM 1 |
LD1 pin number. | |
#define | LED0_PORT GPIO_PORT_I |
GPIO port of LD1. | |
#define | LED0_PORT_NUM PORT_I |
LD1 port. | |
User button | |
#define | BTN0_PIN GPIO_PIN(PORT_I, 11) |
BTN0 pin. | |
#define | BTN0_MODE GPIO_IN |
BTN0 pin mode. | |
FT5X06 touch panel configuration | |
#define | FT5X06_PARAM_I2C_DEV I2C_DEV(1) |
I2C device. | |
#define | FT5X06_PARAM_INT_PIN GPIO_PIN(PORT_I, 13) |
Interrupt pin. | |
#define | FT5X06_PARAM_XMAX LCD_SCREEN_WIDTH |
Max width. | |
#define | FT5X06_PARAM_YMAX LCD_SCREEN_HEIGHT |
Max height. | |
#define | FT5X06_PARAM_XYCONV FT5X06_SWAP_XY |
Swap X and Y. | |
#define | FT5X06_PARAM_TYPE FT5X06_TYPE_FT5336 |
Device type. | |