tftspi.c File Reference

EFM32GG_DK3750, SPI controller implementation for SSD2119 display interface when using Generic/Direct Drive mode. More...

#include "em_device.h"
#include "em_usart.h"
#include "em_gpio.h"
#include "em_cmu.h"
#include "tftspi.h"
#include <stdint.h>
Include dependency graph for tftspi.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void SPI_TFT_Init (void)
 SPI_TFT_Init Initialize SPI interface to TFT-LCD SSD2119 controller.
void SPI_TFT_WriteRegister (uint8_t reg, uint16_t data)
 SPI_TFT_Write Write registers/data to SSD2119 controller.

Variables

static const USART_InitSync_TypeDef inittft
 Set default values for tft synchronous mode init structure.

Detailed Description

EFM32GG_DK3750, SPI controller implementation for SSD2119 display interface when using Generic/Direct Drive mode.

Version:
3.20.5

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

This file is licensensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file tftspi.c.


Variable Documentation

const USART_InitSync_TypeDef inittft [static]
Initial value:
{ usartEnable,     
  48000000,        
  1000000,         
  usartDatabits9,  
  true,            
  true,            
  usartClockMode3, 
  false,
  usartPrsRxCh0,
  false }

Set default values for tft synchronous mode init structure.

Definition at line 25 of file tftspi.c.

Referenced by SPI_TFT_Init().