Library to control the EM027BS013 ePaper display from Pervasive Display.

Dependencies:   LM75B

Dependents:   app_epaper_EM027BS013_LPC1549 lpc4088_ebb_epaper EaEpaper_EM027BS013 app_epaper_EM027BS013 ... more

Embed: (wiki syntax)

« Back to documentation index

EPD_hardware_gpio.h File Reference

EPD_hardware_gpio.h File Reference

The definition of EPD GPIO pins. More...

Go to the source code of this file.

Functions

bool EPD_IsBusy (void)
 Get BUSY pin status.
void EPD_cs_high (void)
 Set EPD_CS pin to high.
void EPD_cs_low (void)
 Set EPD_CS pin to low.
void EPD_flash_cs_high (void)
 Set Flash_CS pin to high.
void EPD_flash_cs_low (void)
 Set Flash_CS pin to low.
void EPD_rst_high (void)
 Set /RESET pin to high.
void EPD_rst_low (void)
 Set /RESET pin to low.
void EPD_discharge_high (void)
 Set DISCHARGE pin to high.
void EPD_discharge_low (void)
 Set DISCHARGE pin to low.
void EPD_Vcc_turn_off (void)
 Set Vcc (PANEL_ON) to low.
void EPD_Vcc_turn_on (void)
 Set Vcc (PANEL_ON) to high.
void EPD_border_high (void)
 Set BORDER_CONTROL pin to high.
void EPD_border_low (void)
 Set BORDER_CONTROL pin to low.
void EPD_pwm_low (void)
 Set PWM pin to low.
void EPD_pwm_high (void)
 Set PWM pin to high.
void SPIMISO_low (void)
 Set MISO pin of SPI to low.
void SPIMOSI_low (void)
 Set MOSI pin of SPI to low.
void SPICLK_low (void)
 Set Clock of SPI to low.
void EPD_initialize_gpio (void)
 Configure GPIO.

Detailed Description

The definition of EPD GPIO pins.

Copyright (c) 2012-2014 Pervasive Displays Inc. All rights reserved.

Authors: Pervasive Displays Inc.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file EPD_hardware_gpio.h.


Function Documentation

void EPD_border_high ( void   )

Set BORDER_CONTROL pin to high.

Definition at line 138 of file EPD_hardware_gpio.cpp.

void EPD_border_low ( void   )

Set BORDER_CONTROL pin to low.

Definition at line 146 of file EPD_hardware_gpio.cpp.

void EPD_cs_high ( void   )

Set EPD_CS pin to high.

Definition at line 58 of file EPD_hardware_gpio.cpp.

void EPD_cs_low ( void   )

Set EPD_CS pin to low.

Definition at line 66 of file EPD_hardware_gpio.cpp.

void EPD_discharge_high ( void   )

Set DISCHARGE pin to high.

Definition at line 106 of file EPD_hardware_gpio.cpp.

void EPD_discharge_low ( void   )

Set DISCHARGE pin to low.

Definition at line 114 of file EPD_hardware_gpio.cpp.

void EPD_flash_cs_high ( void   )

Set Flash_CS pin to high.

Definition at line 74 of file EPD_hardware_gpio.cpp.

void EPD_flash_cs_low ( void   )

Set Flash_CS pin to low.

Definition at line 82 of file EPD_hardware_gpio.cpp.

void EPD_initialize_gpio ( void   )

Configure GPIO.

Definition at line 209 of file EPD_hardware_gpio.cpp.

bool EPD_IsBusy ( void   )

Get BUSY pin status.

Definition at line 201 of file EPD_hardware_gpio.cpp.

void EPD_pwm_high ( void   )

Set PWM pin to high.

Definition at line 154 of file EPD_hardware_gpio.cpp.

void EPD_pwm_low ( void   )

Set PWM pin to low.

Definition at line 163 of file EPD_hardware_gpio.cpp.

void EPD_rst_high ( void   )

Set /RESET pin to high.

Definition at line 90 of file EPD_hardware_gpio.cpp.

void EPD_rst_low ( void   )

Set /RESET pin to low.

Definition at line 98 of file EPD_hardware_gpio.cpp.

void EPD_Vcc_turn_off ( void   )

Set Vcc (PANEL_ON) to low.

Definition at line 130 of file EPD_hardware_gpio.cpp.

void EPD_Vcc_turn_on ( void   )

Set Vcc (PANEL_ON) to high.

Definition at line 122 of file EPD_hardware_gpio.cpp.

void SPICLK_low ( void   )

Set Clock of SPI to low.

Definition at line 192 of file EPD_hardware_gpio.cpp.

void SPIMISO_low ( void   )

Set MISO pin of SPI to low.

Definition at line 173 of file EPD_hardware_gpio.cpp.

void SPIMOSI_low ( void   )

Set MOSI pin of SPI to low.

Definition at line 183 of file EPD_hardware_gpio.cpp.