Board specific configuration for the PineTime.
More...
Board specific configuration for the PineTime.
- Author
- Kaspar Schleiser kaspa.nosp@m.r@sc.nosp@m.hleis.nosp@m.er.d.nosp@m.e
Definition in file board.h.
#include "cpu.h"
#include "board_common.h"
Go to the source code of this file.
|
#define | LCD_RS GPIO_PIN(0, 18) |
|
#define | LCD_DET GPIO_PIN(0, 9) |
|
#define | LCD_CS GPIO_PIN(0, 25) |
|
#define | LCD_RESET GPIO_PIN(0, 26) |
|
#define | LCD_BACKLIGHT_LOW GPIO_PIN(0, 14) |
|
#define | LCD_BACKLIGHT_MID GPIO_PIN(0, 22) |
|
#define | LCD_BACKLIGHT_HIGH GPIO_PIN(0, 23) |
|
#define | BUTTON0_ENABLE GPIO_PIN(0, 13) |
|
#define | BUTTON0 GPIO_PIN(0, 15) |
|
#define | VIBRATOR GPIO_PIN(0, 16) |
|
#define | VCC33 GPIO_PIN(0, 24) |
|
#define | POWER_PRESENCE GPIO_PIN(0, 19) |
|
#define | CHARGING_ACTIVE GPIO_PIN(0, 12) |
|
#define | BATTERY_ADC NRF52_AIN7 |
|
◆ BACKLIGHT_MASK
#define BACKLIGHT_MASK (1 << 14) |
◆ BACKLIGHT_OFF
◆ BACKLIGHT_ON
◆ BATTERY_ADC
◆ BUTTON0
◆ BUTTON0_ENABLE
◆ CHARGING_ACTIVE
◆ CST816S_PARAM_I2C_ADDR
#define CST816S_PARAM_I2C_ADDR (0x15) |
◆ CST816S_PARAM_I2C_DEV
#define CST816S_PARAM_I2C_DEV I2C_DEV(0) |
◆ CST816S_PARAM_IRQ
#define CST816S_PARAM_IRQ GPIO_PIN(0, 28) |
◆ CST816S_PARAM_IRQ_FLANK
#define CST816S_PARAM_IRQ_FLANK GPIO_FALLING |
◆ CST816S_PARAM_RESET
#define CST816S_PARAM_RESET GPIO_PIN(0, 10) |
◆ ILI9341_PARAM_CS
#define ILI9341_PARAM_CS LCD_CS |
◆ ILI9341_PARAM_DCX
#define ILI9341_PARAM_DCX LCD_RS |
◆ ILI9341_PARAM_INVERTED
#define ILI9341_PARAM_INVERTED 1 |
◆ ILI9341_PARAM_NUM_LINES
#define ILI9341_PARAM_NUM_LINES 240U |
◆ ILI9341_PARAM_RGB
#define ILI9341_PARAM_RGB 1 |
◆ ILI9341_PARAM_ROTATION
◆ ILI9341_PARAM_RST
#define ILI9341_PARAM_RST LCD_RESET |
◆ ILI9341_PARAM_SPI
#define ILI9341_PARAM_SPI SPI_DEV(0) |
◆ ILI9341_PARAM_SPI_CLK
◆ ILI9341_PARAM_SPI_MODE
◆ LCD_BACKLIGHT_HIGH
#define LCD_BACKLIGHT_HIGH GPIO_PIN(0, 23) |
◆ LCD_BACKLIGHT_LOW
#define LCD_BACKLIGHT_LOW GPIO_PIN(0, 14) |
◆ LCD_BACKLIGHT_MID
#define LCD_BACKLIGHT_MID GPIO_PIN(0, 22) |
◆ LCD_CS
◆ LCD_DET
◆ LCD_RESET
◆ LCD_RS
◆ MTD_0
◆ PINETIME_NOR_FLAGS
◆ PINETIME_NOR_PAGE_SIZE
#define PINETIME_NOR_PAGE_SIZE (256) |
◆ PINETIME_NOR_PAGES_PER_SECTOR
#define PINETIME_NOR_PAGES_PER_SECTOR (16) |
◆ PINETIME_NOR_SECTOR_COUNT
#define PINETIME_NOR_SECTOR_COUNT (2048) |
◆ PINETIME_NOR_SPI_CLK
◆ PINETIME_NOR_SPI_CS
#define PINETIME_NOR_SPI_CS GPIO_PIN(0, 5) |
◆ PINETIME_NOR_SPI_DEV
#define PINETIME_NOR_SPI_DEV SPI_DEV(0) |
◆ PINETIME_NOR_SPI_MODE
◆ POWER_PRESENCE
◆ VCC33
◆ VIBRATOR