Microchip® Advanced Software Framework

conf_st7565r.h File Reference

ST7565R display controller driver configuration file.

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

Macros

#define ST7565R_A0_PIN   1
 
#define ST7565R_CLOCK_SPEED   1000000
 
#define ST7565R_CS_PIN   2
 
#define ST7565R_DISPLAY_CONTRAST_MAX   40
 
#define ST7565R_DISPLAY_CONTRAST_MIN   30
 
#define ST7565R_RESET_PIN   3
 
#define ST7565R_USART_SPI_INTERFACE
 
#define ST7565R_USART_SPI   &USARTD1
 

#define ST7565R_A0_PIN   1
#define ST7565R_CLOCK_SPEED   1000000

Referenced by st7565r_interface_init().

#define ST7565R_CS_PIN   2
#define ST7565R_DISPLAY_CONTRAST_MAX   40

Referenced by st7565r_set_contrast().

#define ST7565R_DISPLAY_CONTRAST_MIN   30
#define ST7565R_RESET_PIN   3

Referenced by st7565r_hard_reset().

#define ST7565R_USART_SPI   &USARTD1
#define ST7565R_USART_SPI_INTERFACE
Note
The XPLAIN does not have a LCD attached to it, this example uses only the screen dump capability. But we still need to configure a phantom LCD display and controller. Do also note that the USART is switched to USARD1 as USARTD0 is used for screen dump.

selection