资源简介
BH1750FVI STM32F103 HAL库 硬件IIC例程 直接串口打印输出
代码片段和文件信息
/**
******************************************************************************
* @file stm32f1xx_hal.c
* @author MCD Application Team
* @brief HAL module driver.
* This is the common part of the HAL initialization
*
@verbatim
==============================================================================
##### How to use this driver #####
==============================================================================
[..]
The common HAL driver contains a set of generic and common APIs that can be
used by the PPP peripheral drivers and the user to start using the HAL.
[..]
The HAL contains two APIs‘ categories:
(+) Common HAL APIs
(+) Services HAL APIs
@endverbatim
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2016 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL
* DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “stm32f1xx_hal.h“
/** @addtogroup STM32F1xx_HAL_Driver
* @{
*/
/** @defgroup HAL HAL
* @brief HAL module driver.
* @{
*/
#ifdef HAL_MODULE_ENABLED
/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/** @defgr
相关资源
- stm32F103C8T6+LCD1602.rar
- STM32F103系列采用模拟IIC方式驱动了B
- STM32F1通过模拟IIC接口与BME280通信,获
- STM32F103_ADC代码——直接移植即可用
- STM32F103C8T6 2.4G nrf24l01无线模块通信代
- 基于STM32F103C8T6的双柄遥控板DMA采样工
- uCOSII移植STM32F103C8T6范例工程
- STM32F103 串口DMA+空闲中断接收
- STM32F103开发板的原理图及PCB
- STM32F103ZET6+FreeRTOS V8.2.3+kfifo巧夺天工
- STM32F103C8T6_FreeRTOS_V10.0_RTC作为FreeRTOS时
- STM32F103RCT6资料
- 基于stm32f103VET的ucosIII/ucos3工程keil5,
- stm32f103rct6最小系统原理图、PCB及AD封
- DS1302程序开发运用在STM32F103
- 基于stm32f103的蓝牙通信模块
- stm32f103RCT6-USB->UART
- stm32f103双串口收发.zip
- 两路DMA_DAC_stm32f103rct6.zip
- 基于野火STM32指南者的篮球计分器
- 9.4.2基于STM32f103的信号发生器+示波器
- stm32f103串行驱动LCD12864
- 触摸芯片XW12A
- 基于stm32f103的tsl2561光强传感器程序
- STM32F103+ W5500 USART转以太网 TcpServer
- stm32f103的正弦波代码
- stm32f103usb游戏手柄项目 可用于usb键盘
- stm32f103rct6开发资料 小系统 开发文档
- STM32F103VET6+STM32F103ZET6+STM32F107VC核心板
- STM32F103C8T6 串行驱动 12864屏幕
评论
共有 条评论