⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd1.c

📁 基于FREEESCLAE LV8 的ADF7020通信程序
💻 C
字号:
/** ###################################################################
**     THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename  : LCD1.C
**     Project   : lv8
**     Processor : MC68HC908LV8CFA
**     Beantype  : Init_LCD
**     Version   : Bean 01.029, Driver 01.05, CPU db: 2.89.060
**     Compiler  : CodeWarrior HC08 C Compiler
**     Date/Time : 2006-8-18, 19:55
**     Abstract  :
**          This file implements the Liquid Crystal Display (LCD)
**          module initialization according to the Peripheral 
**          Initialization Bean settings, and defines interrupt service 
**          routines prototypes.
**     Settings  :
**          Bean name                                      : LCD1
**          Device                                         : LCD
**          Settings                                       : 
**          Clock settings                                 : 
**          Base clock prescaler                           : 16384
**          Display mode                                   : 24 frontplanes x 4 backplanes
**          Number of used frontplanes                     : 24
**          Number of used backplanes                      : 4
**          Current mode                                   : fast charge
**          Fast charge period                             : 1/32 of period
**          Contrast                                       : 15
**          Pins                                           : 
**          Frontplane pins                                : 24
**          Backplane pins                                 : 4
**          Initialization                                 : 
**          Call Init method                               : yes
**          Enable LCD module                              : Enabled
**     Contents  :
**         Init - void LCD1_Init(void);
**
**     (c) Copyright UNIS, spol. s r.o. 1997-2006
**     UNIS, spol. s r.o.
**     Jundrovska 33
**     624 00 Brno
**     Czech Republic
**     http      : www.processorexpert.com
**     mail      : info@processorexpert.com
** ###################################################################*/
/* MODULE LCD1. */
#include "LCD1.h"
/*
** ===================================================================
**     Method      :  LCD1_Init (bean Init_LCD)
**
**     Description :
**         This method initializes registers of the LCD module
**         according to this Peripheral Initialization Bean settings.
**         Call this method in user code to initialize the module.
**         By default, the method is called by PE automatically; see
**         "Call Init method" property of the bean for more details.
**     Parameters  : None
**     Returns     : Nothing
** ===================================================================
*/
void LCD1_Init(void)
{
  /* LCDCLK: ??=0,FCCLT1=0,FCCLT0=0,DUTY1=1,DUTY0=0,LCLK2=0,LCLK1=0,LCLK0=0 */
  setReg8(LCDCLK, 0x14);                
  /* LCDCR: LCDE=1,??=0,FC=1,LC=1,LCCON3=1,LCCON2=1,LCCON1=1,LCCON0=1 */
  setReg8(LCDCR, 0x80);                 
}
/* END LCD1. */
/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 2.98 [03.80]
**     for the Freescale HC08 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -