1.1 --- a/bsp.h Wed May 22 14:11:34 2013 +0000
1.2 +++ b/bsp.h Sat May 25 23:01:04 2013 +0000
1.3 @@ -1,3 +1,26 @@
1.4 +/*
1.5 + * Ben NanoNote and EM027AS012 E-Paper Display Adapter Board communication.
1.6 + *
1.7 + * Copyright (C) 2013 Paul Boddie
1.8 + *
1.9 + * SPI functions derived from those in lib/atben.c by Werner Almesberger:
1.10 + *
1.11 + * Copyright (C) 2010-2011 Werner Almesberger
1.12 + *
1.13 + * This program is free software; you can redistribute it and/or modify it under
1.14 + * the terms of the GNU General Public License as published by the Free Software
1.15 + * Foundation; either version 3 of the License, or (at your option) any later
1.16 + * version.
1.17 + *
1.18 + * This program is distributed in the hope that it will be useful, but WITHOUT
1.19 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
1.20 + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
1.21 + * details.
1.22 + *
1.23 + * You should have received a copy of the GNU General Public License along with
1.24 + * this program. If not, see <http://www.gnu.org/licenses/>.
1.25 + */
1.26 +
1.27 #ifndef __BSP_H__
1.28 #define __BSP_H__
1.29
1.30 @@ -43,10 +66,6 @@
1.31 /* Board-specific interface functions. */
1.32
1.33 void bsp_init();
1.34 -void bsp_InitDisplayHardware();
1.35 -void bsp_PowerOn();
1.36 -void bsp_pwm_active(uint16_t delayInMs);
1.37 -void bsp_Shutdown();
1.38 void bsp_spiInit();
1.39 void bsp_writeToDisplay(uint8_t *data, uint16_t len);
1.40 void bsp_delayMs(uint32_t ms);