1.1 --- a/Display_Hardware_Driver.h Sun May 19 22:06:40 2013 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,95 +0,0 @@
1.4 -// Copyright 2013 Pervasive Displays, Inc.
1.5 -//
1.6 -// Licensed under the Apache License, Version 2.0 (the "License");
1.7 -// you may not use this file except in compliance with the License.
1.8 -// You may obtain a copy of the License at:
1.9 -//
1.10 -// http://www.apache.org/licenses/LICENSE-2.0
1.11 -//
1.12 -// Unless required by applicable law or agreed to in writing,
1.13 -// software distributed under the License is distributed on an
1.14 -// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
1.15 -// express or implied. See the License for the specific language
1.16 -// governing permissions and limitations under the License.
1.17 -
1.18 -#ifndef __DISPLAY_HARDWARE_DRIVER_H_
1.19 -#define __DISPLAY_HARDWARE_DRIVER_H_
1.20 -
1.21 -/******************************************************************************
1.22 - * Includes
1.23 - *****************************************************************************/
1.24 -
1.25 -#include "bsp.h"
1.26 -
1.27 -
1.28 -/******************************************************************************
1.29 - * Defines and typedefs
1.30 - *****************************************************************************/
1.31 -
1.32 -//Pin 12 on Serial Expansion Connector
1.33 -// #define RST_DIR_OUT SEC14_PIN12_SET_OUTP
1.34 -// #define RST_SET_HIGH SEC14_PIN12_SET_HIGH
1.35 -// #define RST_SET_LOW SEC14_PIN12_SET_LOW
1.36 -
1.37 -//Pin 14 on Serial Expansion Connector
1.38 -// #define DISCHARGE_DIR_OUT SEC14_PIN14_SET_OUTP
1.39 -// #define DISCHARGE_SET_HIGH SEC14_PIN14_SET_HIGH
1.40 -// #define DISCHARGE_SET_LOW SEC14_PIN14_SET_LOW
1.41 -
1.42 -//Pin 6 on Serial Expansion Connector
1.43 -// #define CS_DIR_OUT SEC14_PIN6_SET_OUTP
1.44 -// #define CS_SET_HIGH SEC14_PIN6_SET_HIGH
1.45 -// #define CS_SET_LOW SEC14_PIN6_SET_LOW
1.46 -
1.47 -//Pin 13 on Serial Expansion Connector
1.48 -// #define PANELON_DIR_OUT SEC14_PIN13_SET_OUTP
1.49 -// #define PANELON_SET_HIGH SEC14_PIN13_SET_HIGH
1.50 -// #define PANELON_SET_LOW SEC14_PIN13_SET_LOW
1.51 -
1.52 -//Pin 7 on Serial Expansion Connector
1.53 -// #define DRIVERBUSY_DIR_IN SEC14_PIN7_SET_INP
1.54 -// #define DRIVERBUSY_GET SEC14_PIN7_INP
1.55 -
1.56 -//Not implemented
1.57 -// #define BORDER_DIR_OUT
1.58 -// #define BORDER_SET_HIGH
1.59 -// #define BORDER_SET_LOW
1.60 -
1.61 -//Pin 11 on Serial Expansion Connector
1.62 -// #define PWM_DIR_OUT SEC14_PIN11_SET_OUTP
1.63 -// #define PWM_SET_HIGH SEC14_PIN11_SET_HIGH
1.64 -// #define PWM_SET_LOW SEC14_PIN11_SET_LOW
1.65 -
1.66 -
1.67 -/******************************************************************************
1.68 - * Prototypes
1.69 - *****************************************************************************/
1.70 -void epd_cs_high(void);
1.71 -void epd_cs_low(void);
1.72 -void epd_rst_high(void);
1.73 -void epd_rst_low(void);
1.74 -
1.75 -void epd_pwm_active(uint16_t delayInMs);
1.76 -
1.77 -void epd_TestPinLow(void);
1.78 -void epd_TestPinHigh(void);
1.79 -void epd_TestPinTrigger(void);
1.80 -
1.81 -void epd_TestPin2Low(void);
1.82 -void epd_TestPin2High(void);
1.83 -void epd_TestPin2Trigger(void);
1.84 -
1.85 -void epd_delay_ms(uint32_t Time);
1.86 -int16_t epd_get_temperature(void);
1.87 -uint32_t epd_GetCurrentTimeTick(void);
1.88 -
1.89 -/***************************************************************************/
1.90 -void epd_spi_detach(void);
1.91 -void epd_spi_init (void);
1.92 -void epd_SPI_Send (unsigned char Register, unsigned char *Data, unsigned Length);
1.93 -void epd_SPI_Send_Byte (uint8_t Register, uint8_t Data);
1.94 -void epd_InitDisplayHardware (void);
1.95 -
1.96 -/****************************************************************************/
1.97 -
1.98 -#endif //__DISPLAY_HARDWARE_DRIVER_H_