/* ################################################################### ** This component module is generated by Processor Expert. Do not modify it. ** Filename : McuHD44780.h ** Project : FRDM-K64F_Generator ** Processor : MK64FN1M0VLL12 ** Component : LCDHTA ** Version : Component 01.031, Driver 01.00, CPU db: 3.00.000 ** Compiler : GNU C Compiler ** Date/Time : 2020-08-14, 06:24, # CodeGen: 679 ** Abstract : ** This component implements a driver for multiple 2x16 character displays. ** Settings : ** Component name : McuHD44780 ** HW Interface : ** LCD Type : generic ** LCD Lines : 2 ** Characters per Line : 16 ** Line Addresses : ** Line 1 : 0x00 ** Line 2 : 0x40 ** Line 3 : 0x10 ** Line 4 : 0x50 ** LCD Enable Signal : Disabled ** Read from Display : Enabled ** R/W signal : SDK_BitIO ** Check Busy Flag : yes ** Wait (us) : 0 ** E signal : SDK_BitIO ** E2 : Enabled ** E2 signal : SDK_BitIO ** RS signal : SDK_BitIO ** Data/Control Bus : ** Data/Control Bus Width : 8bit ** DB0..DB3 : Enabled ** DB0 : SDK_BitIO ** DB1 : SDK_BitIO ** DB2 : SDK_BitIO ** DB3 : SDK_BitIO ** DB4..DB7 : Enabled ** DB4 : SDK_BitIO ** DB5 : SDK_BitIO ** DB6 : SDK_BitIO ** DB7 : SDK_BitIO ** Bits/Byte Bus : Disabled ** System Interface : ** Wait : McuWait ** Contents : ** WriteLCDCommand - void McuHD44780_WriteLCDCommand(uint8_t cmd); ** Write - void McuHD44780_Write(char ch); ** WriteLn - void McuHD44780_WriteLn(void); ** WriteLineStr - void McuHD44780_WriteLineStr(uint8_t line, char *str); ** WriteString - void McuHD44780_WriteString(char *str); ** LoadSoftChar - void McuHD44780_LoadSoftChar(uint8_t charCode, uint8_t *softChar); ** ShiftLeft - void McuHD44780_ShiftLeft(void); ** ShiftRight - void McuHD44780_ShiftRight(void); ** GotoXY - void McuHD44780_GotoXY(uint8_t line, uint8_t column); ** SetEntryMode - void McuHD44780_SetEntryMode(bool increment, bool shiftLeft); ** DisplayOn - void McuHD44780_DisplayOn(void); ** DisplayOff - void McuHD44780_DisplayOff(void); ** CursorOn - void McuHD44780_CursorOn(void); ** CursorOff - void McuHD44780_CursorOff(void); ** CursorShiftRight - void McuHD44780_CursorShiftRight(void); ** CursorShiftLeft - void McuHD44780_CursorShiftLeft(void); ** BlinkingOn - void McuHD44780_BlinkingOn(void); ** BlinkingOff - void McuHD44780_BlinkingOff(void); ** Home - void McuHD44780_Home(void); ** Line - void McuHD44780_Line(uint8_t line); ** Clear - void McuHD44780_Clear(void); ** UseDisplay - uint8_t McuHD44780_UseDisplay(uint8_t display); ** DeInit - void McuHD44780_DeInit(void); ** ** * Copyright (c) 2008-2020, Erich Styger ** * Web: https://mcuoneclipse.com ** * SourceForge: https://sourceforge.net/projects/mcuoneclipse ** * Git: https://github.com/ErichStyger/McuOnEclipse_PEx ** * All rights reserved. ** * ** * Redistribution and use in source and binary forms, with or without modification, ** * are permitted provided that the following conditions are met: ** * ** * - Redistributions of source code must retain the above copyright notice, this list ** * of conditions and the following disclaimer. ** * ** * - 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 HOLDER 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. ** ###################################################################*/ /*! ** @file McuHD44780.h ** @version 01.00 ** @brief ** This component implements a driver for multiple 2x16 character displays. */ /*! ** @addtogroup McuHD44780_module McuHD44780 module documentation ** @{ */ #ifndef __McuHD44780_H #define __McuHD44780_H /* MODULE McuHD44780. */ #include "McuLib.h" /* SDK and API used */ #include "McuHD44780config.h" /* configuration */ /* ID's for the soft characters which can be used as first argument for McuHD44780_LoadSoftChar(). Note that ID's can start with zero, but if you want to use a zero byte in McuHD44780_WriteString() then this would be the zero delimiter byte, so not very useful. */ #define McuHD44780_SOFTCHAR_UE 1 /*