• 大小: 89.27MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-20
  • 语言: 其他
  • 标签: 物联网  lora  

资源简介

lorawan 协议栈移植 在STM32L073RZ 上直接就能用 lora模块用安信可ra-02

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    b-l072z-lrwan1.c
  * @author  MCD Application Team
  * @brief   This file contains definitions for:
  *          - LEDs and push-button available on B-L072Z-LRWAN1 Discovery Kit 
  *            from STMicroelectronics
  ******************************************************************************
  * @attention
  *
  * 

© Copyright (c) 2018 STMicroelectronics.
  * All rights reserved.


  *
  * This software component is licensed by ST under BSD 3-Clause license
  * the “License“; You may not use this file except in compliance with the
  * License. You may obtain a copy of the License at:
  *                        opensource.org/licenses/BSD-3-Clause
  *
  ******************************************************************************
  */

  
/* Includes ------------------------------------------------------------------*/
#include “b-l072z-lrwan1.h“
#include 

/** @addtogroup BSP
  * @{
  */ 

/** @addtogroup B-L072Z-LRWAN1
  * @{
  */   
    
/** @addtogroup B-L072Z-LRWAN1_LOW_LEVEL 
  * @brief This file provides set of firmware functions to manage Leds and push-button
  *        available on B-L072Z-LRWAN1 Discovery Kit from STMicroelectronics.
  * @{
  */ 

/** @defgroup B-L072Z-LRWAN1_LOW_LEVEL_Private_TypesDefinitions 
  * @{
  */ 
/**
  * @}
  */ 


/** @defgroup B-L072Z-LRWAN1_LOW_LEVEL_Private_Defines 
  * @{
  */ 

/**
  * @brief 32L082MLM DISCO BSP Driver version number V1.0.0
  */
#define __B_L072Z_LRWAN1_BSP_VERSION_MAIN   (0x01) /*!< [31:24] main version */
#define __B_L072Z_LRWAN1_BSP_VERSION_SUB1   (0x00) /*!< [23:16] sub1 version */
#define __B_L072Z_LRWAN1_BSP_VERSION_SUB2   (0x00) /*!< [15:8]  sub2 version */
#define __B_L072Z_LRWAN1_BSP_VERSION_RC     (0x00) /*!< [7:0]  release candidate */
#define __B_L072Z_LRWAN1_BSP_VERSION         ((__B_L072Z_LRWAN1_BSP_VERSION_MAIN << 24)\
                                             |(__B_L072Z_LRWAN1_BSP_VERSION_SUB1 << 16)\
                                             |(__B_L072Z_LRWAN1_BSP_VERSION_SUB2 << 8 )\
                                             |(__B_L072Z_LRWAN1_BSP_VERSION_RC))



/** @defgroup B-L072Z-LRWAN1_LOW_LEVEL_Private_Variables
  * @{
  */ 
GPIO_TypeDef* LED_PORT[LEDn] = {LED1_GPIO_PORT LED2_GPIO_PORT LED3_GPIO_PORT LED4_GPIO_PORT};
const uint16_t LED_PIN[LEDn] = {LED1_PIN LED2_PINLED3_PIN LED4_PIN};
                                
GPIO_TypeDef* BUTTON_PORT[BUTTONn] = {KEY_BUTTON_GPIO_PORT }; 
const uint16_t BUTTON_PIN[BUTTONn] = {KEY_BUTTON_PIN }; 
const uint8_t BUTTON_IRQn[BUTTONn] = {KEY_BUTTON_EXTI_IRQn };

/**
  * @}
  */ 
  

/** @defgroup B-L072Z-LRWAN1_LOW_LEVEL_Private_Functions
  * @{
  */ 
  /**
  * @}
  */
/**
  * @brief  This method returns the B-L072Z-LRWAN1 BSP Driver revision
  * @param  None
  * @retval version : 0xX

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-03-23 17:47  lorawanL073\
     目录           0  2020-03-23 17:54  lorawanL073\Drivers\
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\B-L072Z-LRWAN1\
     文件        8860  2019-12-05 00:37  lorawanL073\Drivers\BSP\B-L072Z-LRWAN1\Release_Notes.html
     文件        6764  2019-12-05 00:37  lorawanL073\Drivers\BSP\B-L072Z-LRWAN1\b-l072z-lrwan1.c
     文件        7488  2019-12-05 00:37  lorawanL073\Drivers\BSP\B-L072Z-LRWAN1\b-l072z-lrwan1.h
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\CMWX1ZZABZ-0xx\
     文件       12537  2019-12-05 00:37  lorawanL073\Drivers\BSP\CMWX1ZZABZ-0xx\Release_Notes.html
     文件       10322  2019-12-05 00:37  lorawanL073\Drivers\BSP\CMWX1ZZABZ-0xx\mlm32l07x01.c
     文件        2640  2019-12-05 00:37  lorawanL073\Drivers\BSP\CMWX1ZZABZ-0xx\mlm32l07x01.h
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\Components\
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\Components\Common\
     文件       19771  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\Release_Notes.html
     文件        4706  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\accelerometer.h
     文件        3983  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\component.h
     文件        4656  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\gyroscope.h
     文件        4123  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\humidity.h
     文件        4543  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\magnetometer.h
     文件        4116  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\pressure.h
     文件        3675  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\sensor.h
     文件        4162  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\Common\temperature.h
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\Components\hts221\
     文件       29632  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\hts221\HTS221_Driver.c
     文件       18503  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\hts221\HTS221_Driver.h
     文件       29739  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\hts221\HTS221_Driver_HL.c
     文件        4223  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\hts221\HTS221_Driver_HL.h
     文件       17944  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\hts221\Release_Notes.html
     目录           0  2020-03-23 17:46  lorawanL073\Drivers\BSP\Components\lis3mdl\
     文件       53098  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\lis3mdl\LIS3MDL_MAG_driver.c
     文件       27846  2019-12-05 00:37  lorawanL073\Drivers\BSP\Components\lis3mdl\LIS3MDL_MAG_driver.h
............此处省略3307个文件信息

评论

共有 条评论