Microchip® Advanced Software Framework

EPD_hardware_gpio.c File Reference

The functions of EPD GPIO.

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

#include "EPD_hardware_gpio.h"
#include "conf_EPD.h"

Functions

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

void EPD_border_high ( void  )

Set BORDER_CONTROL pin to high.

References set_gpio_high.

void EPD_border_low ( void  )

Set BORDER_CONTROL pin to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init(), and EPD_initialize_gpio().

void EPD_cs_high ( void  )

Set EPD_CS pin to high.

References set_gpio_high.

Referenced by epd_spi_attach(), epd_spi_send(), and epd_spi_send_byte().

void EPD_cs_low ( void  )

Set EPD_CS pin to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init(), epd_spi_send(), and epd_spi_send_byte().

void EPD_discharge_high ( void  )

Set DISCHARGE pin to high.

References set_gpio_high.

void EPD_discharge_low ( void  )

Set DISCHARGE pin to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init().

void EPD_flash_cs_high ( void  )

Set Flash_CS pin to high.

not used at present 

set_gpio_high(Flash_CS_PIN);

Referenced by EPD_initialize_gpio(), and epd_spi_attach().

void EPD_flash_cs_low ( void  )

Set Flash_CS pin to low.

not used at present 

set_gpio_low(Flash_CS_PIN);

void EPD_initialize_gpio ( void  )
bool EPD_IsBusy ( void  )

Get BUSY pin status.

References input_get.

void EPD_pwm_high ( void  )

Set PWM pin to high.

References set_gpio_high.

void EPD_pwm_low ( void  )

Set PWM pin to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init().

void EPD_rst_high ( void  )

Set /RESET pin to high.

References set_gpio_high.

void EPD_rst_low ( void  )

Set /RESET pin to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init().

void EPD_Vcc_turn_off ( void  )

Set Vcc (PANEL_ON) to low.

References set_gpio_low.

Referenced by EPD_display_hardware_init().

void EPD_Vcc_turn_on ( void  )

Set Vcc (PANEL_ON) to high.

References set_gpio_high.

void SPICLK_low ( void  )

Set Clock of SPI to low.

References set_gpio_low.

void SPIMISO_low ( void  )

Set MISO pin of SPI to low.

References config_gpio_dir_o, and set_gpio_low.

void SPIMOSI_low ( void  )

Set MOSI pin of SPI to low.

References set_gpio_low.