智能净水器源代码


附件是智能净水器的源代码,采用STM32F030 MCU+wifi模块设计
资源截图
代码片段和文件信息
/**
  ******************************************************************************
  * @file    stm32f0xx_adc.c
  * @author  MCD Application Team
  * @version V1.2.0
  * @date    01-August-2013
  * @brief   This file provides firmware functions to manage the following
  *          functionalities of the Analog to Digital Convertor (ADC) peripheral:
  *           + Initialization and Configuration
  *           + Power saving
  *           + Analog Watchdog configuration
  *           + Temperature Sensor Vrefint (Internal Reference Voltage) and
  *             Vbat (Voltage battery) management
  *           + ADC Channels Configuration
  *           + ADC Channels DMA Configuration
  *           + Interrupts and flags management
  *
  *  @verbatim
================================================================================
                      ##### How to use this driver #####
================================================================================
    [..]
    (#) Enable the ADC interface clock using
        RCC_APB2PeriphClockCmd(RCC_APB2Periph_ADC1 ENABLE);
    (#) ADC pins configuration
       (++) Enable the clock for the ADC GPIOs using the following function:
            RCC_AHBPeriphClockCmd(RCC_AHBPeriph_GPIOx ENABLE);
       (++) Configure these ADC pins in analog mode using GPIO_Init();
    (#) Configure the ADC conversion resolution data alignment external
        trigger and edge scan direction and Enable/Disable the continuous mode
        using the ADC_Init() function.
    (#) Activate the ADC peripheral using ADC_Cmd() function.

    *** ADC channels group configuration ***
    ============================================
    [..]
    (+) To configure the ADC channels features use ADC_Init() and
        ADC_ChannelConfig() functions.
    (+) To activate the continuous mode use the ADC_ContinuousModeCmd()
        function.
    (+) To activate the Discontinuous mode use the ADC_DiscModeCmd() functions.
    (+) To activate the overrun mode use the ADC_OverrunModeCmd() functions.
    (+) To activate the calibration mode use the ADC_GetCalibrationFactor() functions.
    (+) To read the ADC converted values use the ADC_GetConversionValue()
        function.

    *** DMA for ADC channels features configuration ***
    =============================================================
    [..]
    (+) To enable the DMA mode for ADC channels group use the ADC_DMACmd() function.
    (+) To configure the DMA transfer request use ADC_DMARequestModeConfig() function.

  *  @endverbatim
  *
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT 2013 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:
  *
  *  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-11-21 10:25  智能净水器
     目录           0  2017-11-21 10:24  智能净水器Debug
     目录           0  2017-11-21 10:24  智能净水器DebugExe
     文件       18432  2017-04-08 14:59  智能净水器DebugExe_BootLoader.hex
     文件      136324  2017-04-08 14:59  智能净水器DebugExe_BootLoader.out
     文件        6563  2017-04-12 11:19  智能净水器DebugExe_BootLoader.sim
     文件      161370  2017-04-26 22:56  智能净水器DebugExe_Project.hex
     文件      497167  2017-04-26 22:56  智能净水器DebugExe_Project.out
     文件       57411  2017-04-12 11:19  智能净水器DebugExe_Project.sim
     目录           0  2017-11-21 10:24  智能净水器DebugExe ool
     文件      167424  2016-11-14 11:46  智能净水器DebugExe oolCombineHex.exe
     文件      202240  2016-11-25 10:20  智能净水器DebugExe oolFirmWare.exe
     文件      166912  2016-12-03 15:50  智能净水器DebugExe oolHex2Bin.exe
     文件       31232  2016-12-03 16:16  智能净水器DebugExe oolWifiCrc.exe
     文件       18432  2017-04-08 14:59  智能净水器DebugExe ool_BootLoader.hex
     文件      161370  2017-04-26 22:56  智能净水器DebugExe ool_Project.hex
     文件      179789  2017-04-26 22:57  智能净水器DebugExe ool如新生产烧录固件.hex
     目录           0  2017-11-21 10:24  智能净水器DebugList
     文件        7493  2017-04-21 09:31  智能净水器DebugListMy_Adc.lst
     文件        7135  2017-04-21 09:31  智能净水器DebugListMy_Adc.s
     文件       31095  2017-04-21 09:31  智能净水器DebugListMy_Buzz.lst
     文件       18142  2017-04-21 09:31  智能净水器DebugListMy_Buzz.s
     文件        5026  2017-04-21 09:31  智能净水器DebugListMy_Err.lst
     文件        5440  2017-04-21 09:31  智能净水器DebugListMy_Err.s
     文件       26841  2017-04-21 09:31  智能净水器DebugListMy_FactoryTest.lst
     文件       20757  2017-04-21 09:31  智能净水器DebugListMy_FactoryTest.s
     文件       17860  2017-04-21 09:31  智能净水器DebugListMy_Filter.lst
     文件       13919  2017-04-21 09:31  智能净水器DebugListMy_Filter.s
     文件      152251  2017-04-21 09:31  智能净水器DebugListMy_I2C.lst
     文件      106170  2017-04-21 09:31  智能净水器DebugListMy_I2C.s
     文件       22794  2017-04-21 09:44  智能净水器DebugListMy_Key.lst
............此处省略438个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)