nRF5 SDK v17.1.0
Macros
ST7735R TFT controller configuration

Macros

#define ST7735_ENABLED
 LCD driver controller. More...
 
#define ILI9341_SCK_PIN
 Pin number. More...
 
#define ILI9341_MISO_PIN
 Pin number. More...
 
#define ILI9341_MOSI_PIN
 Pin number. More...
 
#define ILI9341_SS_PIN
 Pin number. More...
 
#define ILI9341_IRQ_PRIORITY
 Interrupt priority. More...
 
#define ST7735_SCK_PIN
 Pin number. More...
 
#define ST7735_MISO_PIN
 Pin number. More...
 
#define ST7735_MOSI_PIN
 Pin number. More...
 
#define ST7735_SS_PIN
 Pin number. More...
 
#define ST7735_IRQ_PRIORITY
 Interrupt priority. More...
 
#define ST7735_SPI_INSTANCE
 Following options are available: More...
 
#define ST7735_TAB_COLOR
 Color of the tab attached to the screen. More...
 
#define ST7735_DC_PIN
 Pin number. More...
 
#define ST7735_HEIGHT
 ST7735 height. More...
 
#define ST7735_WIDTH
 ST7735 width. More...
 

Detailed Description

Macro Definition Documentation

#define ILI9341_IRQ_PRIORITY

Interrupt priority.

Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice

Following options are available:

  • 0 - 0 (highest)
  • 1 - 1
  • 2 - 2
  • 3 - 3
  • 4 - 4 (Applicable devices only)
  • 5 - 5 (Applicable devices only)
  • 6 - 6 (Applicable devices only)
  • 7 - 7 (Applicable devices only)
Note
This is an NRF_CONFIG macro.
#define ILI9341_MISO_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ILI9341_MOSI_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ILI9341_SCK_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ILI9341_SS_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_DC_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_ENABLED

LCD driver controller.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.
#define ST7735_HEIGHT

ST7735 height.

Minimum value: 0 Maximum value: 162

Note
This is an NRF_CONFIG macro.
#define ST7735_IRQ_PRIORITY

Interrupt priority.

Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice

Following options are available:

  • 0 - 0 (highest)
  • 1 - 1
  • 2 - 2
  • 3 - 3
  • 4 - 4 (Applicable devices only)
  • 5 - 5 (Applicable devices only)
  • 6 - 6 (Applicable devices only)
  • 7 - 7 (Applicable devices only)
Note
This is an NRF_CONFIG macro.
#define ST7735_MISO_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_MOSI_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_SCK_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_SPI_INSTANCE

Following options are available:

  • 0
  • 1
  • 2
Note
This is an NRF_CONFIG macro.
#define ST7735_SS_PIN

Pin number.

Minimum value: 0 Maximum value: 47

Note
This is an NRF_CONFIG macro.
#define ST7735_TAB_COLOR

Color of the tab attached to the screen.

Following options are available:

  • 0 - INITR_GREENTAB
  • 1 - INITR_REDTAB
  • 2 - INITR_BLACKTAB
  • 3 - INITR_144GREENTAB
Note
This is an NRF_CONFIG macro.
#define ST7735_WIDTH

ST7735 width.

Minimum value: 0 Maximum value: 132

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated