ESOS32
ESOSOn32-bitProcessors
esos_hwxxx_lcd44780wo.c
1 /*
2  * "Copyright (c) 2019 J. W. Bruce ("AUTHOR(S)")"
3  * All rights reserved.
4  * (J. W. Bruce, jwbruce_AT_tntech.edu, Tennessee Tech University)
5  *
6  * Permission to use, copy, modify, and distribute this software and its
7  * documentation for any purpose, without fee, and without written agreement is
8  * hereby granted, provided that the above copyright notice, the following
9  * two paragraphs and the authors appear in all copies of this software.
10  *
11  * IN NO EVENT SHALL THE "AUTHORS" BE LIABLE TO ANY PARTY FOR
12  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
13  * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE "AUTHORS"
14  * HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15  *
16  * THE "AUTHORS" SPECIFICALLY DISCLAIMS ANY WARRANTIES,
17  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
18  * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
19  * ON AN "AS IS" BASIS, AND THE "AUTHORS" HAS NO OBLIGATION TO
20  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
21  *
22  * Please maintain this header in its entirety when copying/modifying
23  * these files.
24  *
25  *
26  */
32 /*** I N C L U D E S *************************************************/
33 #include "esos_hwxxx_lcd44780wo.h"
34 
35 /*** T H E C O D E *************************************************/
36 void __esos_lcd44780_hw_config ( void )
37 {
38  // Set up the hardware aspects of the HWxxx interface of the LCD module service
39  // direction, thresholds, etc beyond what is already done in esos_lcd44780_config()
40 
41 
42 }
43 
44 
59 ESOS_CHILD_TASK(__esos_lcd44780_hw_write_u8, uint8_t u8_data, BOOL b_isData)
60 {
62 
63  // hardware-specific code for writing to display goes here.
64 
65  ESOS_TASK_END();
66 }
67 
83 #ifdef ESOS_USE_LCD_4BIT
84 void __esos_unsafe_lcd44780_hw_write_u4(uint8_t u8_u4data, BOOL b_isEnable, BOOL b_isData)
85 {
86 // hardware-specific code for writing a single nibble to display goes here
87 }
88 #endif
esos_hwxxx_lcd44780wo.h
This file contains routines which define, configure, and allow use of the "LCD character display" ser...
ESOS_TASK_END
#define ESOS_TASK_END()
Definition: esos_task.h:271
BOOL
enum _BOOL BOOL
ESOS_TASK_BEGIN
#define ESOS_TASK_BEGIN()
Definition: esos_task.h:259
ESOS_CHILD_TASK
ESOS_CHILD_TASK(__esos_lcd44780_hw_write_u8, uint8_t u8_data, BOOL b_isData)
Definition: esos_hwxxx_lcd44780wo.c:59