Atmel Software Framework

st7565r.c File Reference

ST7565R display controller driver.

Copyright (c) 2011-2015 Atmel Corporation. All rights reserved.

#include "st7565r.h"

Functions

void st7565r_init (void)
 Initialize the LCD controller. More...
 
static void st7565r_interface_init (void)
 Initialize the hardware interface. More...
 

static void st7565r_interface_init ( void  )
static

Initialize the hardware interface.

Depending on what interface used for interfacing the LCD controller this function will initialize the necessary hardware.

References usart_spi_device::id, spi_device::id, spi_master_init(), spi_master_setup_device(), SPI_MODE_3, ST7565R_CLOCK_SPEED, ST7565R_CS_PIN, ST7565R_USART_SPI, usart_spi_init(), and usart_spi_setup_device().

Referenced by st7565r_init().