4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 01:39:24 +08:00
onelife.real 10ec208306 *** EFM32 branch ***
1. Upgrade EFM32 driver libraries (CMSIS and efm32lib): version 2.3.0 -> 2.3.2
2. Upgrade EFM32GG_DK3750 development kit driver library: version 1.2.1 -> 1.2.2
3. Upgrade EFM32_Gxxx_DK development kit driver library: version 1.7.2 -> 1.7.3
4. Add LCD driver (SSD2119) and DEMO
5. Change SPI write format
6. Modify SD card driver due to SPI write format changed
7. Modify building scripts

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1883 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 07:44:29 +00:00

45 lines
1.8 KiB
C

/**
* @section LICENSE
******************************************************************************
* <b>(C) Copyright 2009 Energy Micro AS, www.energymicro.com</b>
******************************************************************************
*
* This source code is the property of Energy Micro AS. The source/compiled
* code may not be used, redistributed or modified without a written consent
* from Energy Micro AS.
*
* This copyright notice may not be removed from the source code nor changed.
*
* DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no
* obligation to support this Software. Energy Micro AS is providing the
* Software "AS IS", with no express or implied warranties of any kind,
* including, but not limited to, any implied warranties of merchantability
* or fitness for any particular purpose or warranties against infringement
* of any proprietary rights of a third party.
*
* Energy Micro AS will not be liable for any consequential, incidental, or
* special damages, or any other relief, or for any claim by any third party,
* arising from your use of this Software.
*
******************************************************************************
* @file dmdif_ssd2119_spi.h
* @brief Dot matrix display SSD2119 interface using EBI
* @author Energy Micro AS
******************************************************************************
*/
#ifndef __DMDIF_SSD2119_SPI_H_
#define __DMDIF_SSD2119_SPI_H_
#include <stdint.h>
/* Module Prototypes */
EMSTATUS DMDIF_init(uint32_t cmdRegAddr, uint32_t dataRegAddr);
EMSTATUS DMDIF_writeReg(uint8_t reg, uint16_t data);
uint16_t DMDIF_readDeviceCode(void);
EMSTATUS DMDIF_prepareDataAccess(void);
EMSTATUS DMDIF_writeData(uint32_t data);
uint32_t DMDIF_readData(void);
#endif