Tuber 5a61304a09
add ch579m bsp (#5600)
* add ch579m bsp

Author:    Tuber <tuber@xyza.cn>
Date:      Wed Feb 16 07:20:23 2022 +0000

* fix uart reg value error and format code

* change file encode to utf-8
2022-02-18 13:41:59 +08:00

28 lines
979 B
C

/********************************** (C) COPYRIGHT *******************************
* File Name : CH57x_lcd.c
* Author : WCH
* Version : V1.0
* Date : 2018/12/15
* Description
*******************************************************************************/
#include "CH57x_common.h"
/*******************************************************************************
* Function Name : LCD_DefInit
* Description : LCD段式屏驱动默认初始化配置
* Input : None
* Return : None
*******************************************************************************/
void LCD_DefInit( void )
{
/* 3.3V 1KHZ COM0~COM3 1/3BISA */
R8_LCD_CTRL_MOD = RB_SYS_POWER_ON \
|RB_LCD_POWER_ON \
|(1<<2) \
|(2<<3) \
|(2<<5) \
|(0<<7) ;
}