资源简介
一期的已经发布过。但是有很多不良限制。最近有时间,重新写了整个接口框架。使用起来就更简单了。通过KeyScanCallBack响应按键消息。支持单击,双击,长按。而且用户可以自定义各个时间定义,io定义。在开发板测试通过

代码片段和文件信息
/*******************************************************************************
Filename: board_key.c
Revised: $Date: 2014-03-10 07:29:12 -0700 (Mon 10 Mar 2014) $
Revision: $Revision: 37597 $
Description: This file contains the interface to the SRF06EB Key Service.
Copyright 2014 - 2015 Texas Instruments Incorporated. All rights reserved.
IMPORTANT: Your use of this Software is limited to those specific rights
granted under the terms of a software license agreement between the user
who downloaded the software his/her employer (which must be your employer)
and Texas Instruments Incorporated (the “License“). You may not use this
Software unless you agree to abide by the terms of the License. The License
limits your use and you acknowledge that the Software may not be modified
copied or distributed unless embedded on a Texas Instruments microcontroller
or used solely and exclusively in conjunction with a Texas Instruments radio
frequency transceiver which is integrated into your product. Other than for
the foregoing purpose you may not use reproduce copy prepare derivative
works of modify distribute perform display or sell this Software and/or
its documentation for any purpose.
YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
PROVIDED 揂S IS? WITHOUT WARRANTY OF ANY KIND EITHER EXPRESS OR IMPLIED
INCLUDING WITHOUT LIMITATION ANY WARRANTY OF MERCHANTABILITY title
NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT
NEGLIGENCE STRICT LIABILITY CONTRIBUTION BREACH OF WARRANTY OR OTHER
LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL SPECIAL INDIRECT PUNITIVE
OR CONSEQUENTIAL DAMAGES LOST PROFITS OR LOST DATA COST OF PROCUREMENT
OF SUBSTITUTE GOODS TECHNOLOGY SERVICES OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF) OR OTHER SIMILAR COSTS.
Should you have any questions regarding your right to use this Software
contact Texas Instruments Incorporated at www.TI.com.
*******************************************add by seekwok*************************/
#include
#include
#include
#include “nordic_common.h“
#include “nrf.h“
#include “app_error.h“
#include “ble.h“
#include “ble_hci.h“
#include “ble_srv_common.h“
#include “ble_advdata.h“
#include “ble_advertising.h“
#include “ble_conn_params.h“
#include “nrf_sdh.h“
#include “nrf_sdh_soc.h“
#include “nrf_sdh_ble.h“
#include “app_timer.h“
#include “fds.h“
#include “peer_manager.h“
#include “bsp_btn_ble.h“
#include “ble_conn_state.h“
#include “nrf_ble_gatt.h“
#include “nrf_log.h“
#include “nrf_log_ctrl.h“
#include “nrf_log_default_backends.h“
#include “nrf_drv_gpiote.h“
#include “nordic
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 8417 2019-08-24 16:27 52810_key\best_board_key.c
文件 4852 2019-08-24 16:23 52810_key\best_board_key.h
文件 7525 2019-08-24 16:27 52810_key\best_key_mag.c
文件 1376 2019-07-02 15:09 52810_key\best_key_mag.h
文件 4246 2019-08-24 16:20 52810_key\best_ticket.c
文件 2832 2019-07-17 09:39 52810_key\best_ticket.h
文件 2684 2019-08-24 16:28 52810_key\demo.c
目录 0 2019-08-24 16:28 52810_key\
- 上一篇:GRE红宝书核心词汇6000EXCEL版
- 下一篇:cut_log.sh
相关资源
- 低功耗蓝牙无线传感器
- NRF52832量产烧录打包工具指令.rar
- 《青风带你学蓝牙》nrf52832电子书23
- 清风蓝牙教程-nrf52832
- 基于keil的NRF52832蓝牙芯片程序模板
- uni-app BLE低功耗蓝牙工具
- 低功耗蓝牙CC2541连接微信,代码全部
- 2018年Nordic Technica Tour
- nrf52832中文芯片手册 V1.4
- 《青风带你学蓝牙》nrf52832应用详解
- nRF52832 中文芯片手册
- ble5.0开发环境搭建MDK5nRF52832
- 安卓 低功耗蓝牙搜索连接
- BLE蓝牙之串口收发数据
- SDK16.0_DFU for NRF52832
- NRF52832中文数据册翻译版
- NRF52832 sdk开发包
- Getting Started with Bluetooth Low Energy 低功
- nRF52832官方参考PCB电路设计
- NRF52832 串口DFU实现
- 低功耗蓝牙开发权威指南 带书签 高清
- nRF5官方_SDK_16.0.0.zip
- nRF52832开发指南上下两册.rar
- BLE 蓝牙 使用blelib
- Getting Started with Bluetooth Low Energy
- NRF52832_SDK_15.0.0
- 低功耗蓝牙开发权威指南 中文版
- master_slave_ble_demo_sdk15.3.zip
- 低功耗蓝牙技术快速入门 [谭晖编][北
- GT24L24.rar
评论
共有 条评论