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

📄 testlvi.c

📁 这是一个基于nec78f8024的led驱动程序
💻 C
字号:
/*
*******************************************************************************
**  COPYRIGHT (C) NEC Electronics Corporation 2008
**  NEC ELECTRONICS CONFIDENTIAL AND PROPRIETARY
**  All rights reserved by NEC Electronics Corporation.
**  Use of copyright notice does not evidence publication.
**
**  Filename :	lvi.c
**  Abstract :	This file implements the functions of Low-Voltage Detector.
**
**  Device :	uPD78F8024
**
**  Compiler :	NEC/CC78K0
**
*******************************************************************************
*/
/*
*******************************************************************************
**  Include files
*******************************************************************************
*/
#include "testmacrodriver.h"
#include "testlvi.h"

/*
**-----------------------------------------------------------------------------
**
**  function name:
**	Init LVI Module
**
**  Parameters:
**	None
**
**  Returns:
**	None
**
**-----------------------------------------------------------------------------
*/
void Lvi_Init( void )
{
	/* disables low-voltage detection operation */
	LVION = BIT_CLR;
	/* detection level set 4.24V */
	LVIS  = LVIS_INIT_VALUE;
	/* not change operation (still disable) */
	LVIM  = LVIM_INIT_VALUE;
}


⌨️ 快捷键说明

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