Microchip® Advanced Software Framework

conf_ssd1306.h File Reference

SSD1306 display controller driver configuration file.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <board.h>

Macros

#define CONFIG_SSD1306_FRAMEBUFFER
 
#define SSD1306_CLOCK_SPEED   1000000UL
 
#define SSD1306_CS_PIN   EXT3_PIN_15
 
#define SSD1306_DC_PIN   EXT3_PIN_5
 
#define SSD1306_DISPLAY_CONTRAST_MAX   40
 
#define SSD1306_DISPLAY_CONTRAST_MIN   30
 
#define SSD1306_RES_PIN   EXT3_PIN_10
 
#define SSD1306_SPI   EXT3_SPI_MODULE
 
#define SSD1306_SPI_PINMUX_PAD0   EXT3_SPI_SERCOM_PINMUX_PAD0
 
#define SSD1306_SPI_PINMUX_PAD1   PINMUX_UNUSED
 
#define SSD1306_SPI_PINMUX_PAD2   EXT3_SPI_SERCOM_PINMUX_PAD2
 
#define SSD1306_SPI_PINMUX_PAD3   EXT3_SPI_SERCOM_PINMUX_PAD3
 
#define SSD1306_SPI_PINMUX_SETTING   EXT3_SPI_SERCOM_MUX_SETTING
 

#define CONFIG_SSD1306_FRAMEBUFFER
#define SSD1306_CLOCK_SPEED   1000000UL

Referenced by ssd1306_interface_init().

#define SSD1306_CS_PIN   EXT3_PIN_15

Referenced by ssd1306_interface_init().

#define SSD1306_DC_PIN   EXT3_PIN_5
#define SSD1306_DISPLAY_CONTRAST_MAX   40
#define SSD1306_DISPLAY_CONTRAST_MIN   30
#define SSD1306_RES_PIN   EXT3_PIN_10
#define SSD1306_SPI   EXT3_SPI_MODULE

Referenced by ssd1306_interface_init().

#define SSD1306_SPI_PINMUX_PAD0   EXT3_SPI_SERCOM_PINMUX_PAD0

Referenced by ssd1306_interface_init().

#define SSD1306_SPI_PINMUX_PAD1   PINMUX_UNUSED

Referenced by ssd1306_interface_init().

#define SSD1306_SPI_PINMUX_PAD2   EXT3_SPI_SERCOM_PINMUX_PAD2

Referenced by ssd1306_interface_init().

#define SSD1306_SPI_PINMUX_PAD3   EXT3_SPI_SERCOM_PINMUX_PAD3

Referenced by ssd1306_interface_init().

#define SSD1306_SPI_PINMUX_SETTING   EXT3_SPI_SERCOM_MUX_SETTING

Referenced by ssd1306_interface_init().