资源简介
stm8l101例程希望对大家有用,希望大家多多下载
代码片段和文件信息
/**
******************************************************************************
* @file stm8l10x_awu.c
* @author MCD Application Team
* @version V1.2.0
* @date 01-June-2012
* @brief This file contains all the functions for the AWU peripheral.
******************************************************************************
* @attention
*
* © COPYRIGHT 2012 STMicroelectronics
*
* Licensed under MCD-ST Liberty SW License Agreement V2 (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.st.com/software_license_agreement_liberty_v2
*
* 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.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm8l10x_awu.h“
/** @addtogroup STM8L10x_StdPeriph_Driver
* @{
*/
/** @defgroup AWU
* @brief AWU driver modules
* @{
*/
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/
/* See also AWU_Timebase_TypeDef structure in stm8l10x_awu.h file :
N 2 5 1 2 4 8 1 3 6 1 2 5 1 2 1 3
O 5 0 m m m m 6 2 4 2 5 1 s s 2 0
I 0 0 s s s s m m m 8 6 2 s s
T u u s s s m m m
s s s s s
*/
/** Contains the different values to write in the APR register (used by AWU_Init function) */
/* the following values are calculated for LSI = 32 kHz */
CONST uint8_t APR_Array[17] = {0 8 16 32 62 62 62 62 62 62 62 62 62 61 61 36 14};
/** Contains the different values to write in the TBR register (used by AWU_Init function) */
CONST uint8_t TBR_Array[17] = {0 1 1 1 1 2 3 4 5 6 7 8 9 10 11 14 15};
/**
* @addtogroup AWU_Private_Functions
* @{
*/
/**
* @brief Deinitializes the AWU peripheral registers to their default reset values.
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Documentations\
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Documentations\Boards\
文件 68965 2013-09-04 14:54 STM8L_STMTouch_Lib_V1.1.0\Documentations\Boards\MB782-Rev_A-00-STM8L101K-TS1 Daughter Board_Manufacturing_Folder.zip
文件 2501546 2013-09-04 14:54 STM8L_STMTouch_Lib_V1.1.0\Documentations\Boards\MB782-Rev_A-00-STM8L101K-TS1 Daughter Board_Schematic.pdf
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Libraries\
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\
文件 55406 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x.h
文件 5159 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_awu.h
文件 3746 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_beep.h
文件 5441 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_clk.h
文件 9757 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_comp.h
文件 7262 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_exti.h
文件 8352 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_flash.h
文件 6570 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_gpio.h
文件 27268 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_i2c.h
文件 2337 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_irtim.h
文件 6746 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_itc.h
文件 4908 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_iwdg.h
文件 3049 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_rst.h
文件 11102 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_spi.h
文件 26989 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_tim2.h
文件 27166 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_tim3.h
文件 10563 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_tim4.h
文件 12464 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_usart.h
文件 4679 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\inc\stm8l10x_wfe.h
文件 24588 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\Release_Notes.html
目录 0 2015-07-27 20:48 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\src\
文件 6301 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\src\stm8l10x_awu.c
文件 7688 2013-09-04 14:55 STM8L_STMTouch_Lib_V1.1.0\Libraries\STM8L10x_StdPeriph_Driver\src\stm8l10x_beep.c
............此处省略264个文件信息
- 上一篇:STM32+6脚OLEDSPI法
- 下一篇:dac8830的驱动程序,乒乓缓存
评论
共有 条评论