Fetch the repository succeeded.
This action will force synchronization from gzbkey/LingLongGUI, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
/*
* Copyright 2021-2022 Ou Jianbo 59935554@qq.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* additional license
* If you use this software to write secondary development type products,
* must be released under GPL compatible free software license or commercial
* license.
*/
#include "LL_Config.h"
#include "string.h"
uint8_t cfgColorDepth = CONFIG_COLOR_DEPTH;
uint16_t cfgMonitorWidth = 0;
uint16_t cfgMonitorHeight = 0;
void llCfgDoubleBufferStart(bool isCopy)
{
}
void llCfgDoubleBufferEnd(bool isRefreshNow)
{
}
/***************************************************************************//**
* @fn bool llCfgClickGetPoint(int16_t *x,int16_t *y)
* @brief 获取触摸坐标
* @param *x,*y 触摸坐标
* @return bool 是否有触摸
* @version V0.1
* @date
* @details
******************************************************************************/
bool llCfgClickGetPoint(int16_t *x,int16_t *y)
{
bool touchState=false;
uint16_t rx;
uint16_t ry;
//添加触摸函数
//touchState=touch_scan(&rx,&ry);
*x=rx;
*y=ry;
if((touchState!=0)&&(((rx!=0xffff)&&(ry!=0xffff))||((rx!=0)&&(ry!=0))))
{
touchState=true;
}
else
{
touchState=false;
*x=0xffff;
*y=0xffff;
}
return touchState;
}
void llCfgSetPoint(int16_t x,int16_t y,llColor color)
{
}
/***************************************************************************//**
* @fn void llCfgFillSingleColor(int16_t x0,int16_t y0,int16_t x1,int16_t y1,llColor *color)
* @brief 单色填充
* @param x0,y0,x1,y1 填充单色矩形的4个点
* @return void
* @version V0.1
* @date
* @details
******************************************************************************/
void llCfgFillSingleColor(int16_t x0,int16_t y0,int16_t x1,int16_t y1,llColor color)
{
}
#if USE_USER_FILL_MULTIPLE_COLORS == 1
/***************************************************************************//**
* @fn void llCfgFillMultipleColors(int16_t x0,int16_t y0,int16_t x1,int16_t y1,llColor *color)
* @brief 彩色填充
* @param x0,y0,x1,y1 填充彩色矩形的4个点
* @return void
* @version V0.1
* @date
* @details
******************************************************************************/
void llCfgFillMultipleColors(int16_t x0,int16_t y0,int16_t x1,int16_t y1,llColor *color)
{
}
#endif
/***************************************************************************//**
* @fn void llExFlashInit(void)
* @brief 配合读数据前的初始化
* @param
* @return void
* @version V0.1
* @date
* @details
******************************************************************************/
void llExFlashInit(void)
{
}
/***************************************************************************//**
* @fn void llReadExFlash(uint32_t addr,uint8_t* pBuffer,uint16_t length)
* @brief 读外部flash数据
* @param addr 地址
* pBuffer 数据缓存指针
* length 读取数据的长度
* @return void
* @version V0.1
* @date
* @details 通常是读外部norflash,可以用数组代替,也可以是tf等
******************************************************************************/
void llReadExFlash(uint32_t addr,uint8_t* pBuffer,uint16_t length)
{
}
/***************************************************************************//**
* @fn void llBuzzerBeep(void)
* @brief 蜂鸣器触发响一声
* @param
* @return void
* @version V0.1
* @date
* @details
******************************************************************************/
void llBuzzerBeep(void)
{
}
/***************************************************************************//**
* @fn void llGetRtc(uint8_t *readBuf)
* @brief 读取年月日时分秒周
* @param *readBuf yy yy mm dd hh mm ss ww
* @return void
* @version V0.1
* @date
* @details 数据用16进制储存,2021年 yyyy=0x07E5
******************************************************************************/
void llGetRtc(uint8_t *readBuf)
{
}
/***************************************************************************//**
* @fn void llSetRtc(uint8_t *writeBuf)
* @brief 写入年月日时分秒
* @param *writeBuf yy yy mm dd hh mm ss
* @return void
* @version V0.1
* @date
* @details 数据用16进制储存,2021年 yyyy=0x07E5
******************************************************************************/
void llSetRtc(uint8_t *writeBuf)
{
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。