资源简介
nordica 51822 最新SDK. nRF5 SDK v13.1.0
------------------------
Release Date: Week 27, 2017
代码片段和文件信息
/**
* Copyright (c) 2015 - 2017 Nordic Semiconductor ASA
*
* All rights reserved.
*
* 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 except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product 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 Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software with or without modification must only be used with a
* Nordic Semiconductor ASA integrated circuit.
*
* 5. Any software provided in binary form under this license must not be reverse
* engineered decompiled modified and/or disassembled.
*
* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA “AS IS“ AND ANY EXPRESS
* OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
* OF MERCHANTABILITY NONINFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA 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.
*
*/
#include “sdk_common.h“
#if NRF_MODULE_ENABLED(ANT_CHANNEL_CONFIG)
#include “nrf_error.h“
#include “ant_channel_config.h“
#include “ant_interface.h“
#include “ant_parameters.h“
uint32_t ant_channel_init(ant_channel_config_t const * p_config)
{
uint32_t err_code;
// Set Channel Number.
err_code = sd_ant_channel_assign(p_config->channel_number
p_config->channel_type
p_config->network_number
p_config->ext_assign);
VERIFY_SUCCESS(err_code);
// Set Channel ID.
err_code = sd_ant_channel_id_set(p_config->channel_number
p_config->device_number
p_config->device_type
p_config->transmission_type);
VERIFY_SUCCESS(err_code);
// Set Chann
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-06-30 22:51 components\
目录 0 2017-06-30 22:35 components\ant\
目录 0 2017-06-30 22:51 components\ant\ant_channel_config\
文件 3666 2017-06-30 23:31 components\ant\ant_channel_config\ant_channel_config.c
文件 4099 2017-06-30 23:31 components\ant\ant_channel_config\ant_channel_config.h
目录 0 2017-06-30 22:51 components\ant\ant_encryption\
文件 8990 2017-06-30 23:31 components\ant\ant_encryption\ant_encrypt_config.c
文件 11668 2017-06-30 23:31 components\ant\ant_encryption\ant_encrypt_config.h
文件 7223 2017-06-30 23:31 components\ant\ant_encryption\ant_encrypt_negotiation_slave.c
文件 5589 2017-06-30 23:31 components\ant\ant_encryption\ant_encrypt_negotiation_slave.h
目录 0 2017-06-30 22:51 components\ant\ant_fs\
文件 101469 2017-06-30 23:31 components\ant\ant_fs\antfs.c
文件 25243 2017-06-30 23:31 components\ant\ant_fs\antfs.h
文件 3778 2017-06-30 23:31 components\ant\ant_fs\crc.c
文件 3491 2017-06-30 23:31 components\ant\ant_fs\crc.h
文件 4013 2017-06-30 23:31 components\ant\ant_fs\defines.h
目录 0 2017-06-30 22:51 components\ant\ant_key_manager\
文件 2923 2017-06-30 23:31 components\ant\ant_key_manager\ant_key_manager.c
文件 3637 2017-06-30 23:31 components\ant\ant_key_manager\ant_key_manager.h
目录 0 2017-06-30 22:35 components\ant\ant_key_manager\config\
文件 2668 2017-06-30 23:31 components\ant\ant_key_manager\config\ant_key_manager_config.h
目录 0 2017-06-30 22:51 components\ant\ant_profiles\
目录 0 2017-06-30 22:51 components\ant\ant_profiles\ant_bpwr\
文件 17839 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\ant_bpwr.c
文件 19117 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\ant_bpwr.h
文件 3188 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\ant_bpwr_local.h
目录 0 2017-06-30 22:51 components\ant\ant_profiles\ant_bpwr\pages\
文件 4069 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_common_data.c
文件 3735 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_common_data.h
文件 2944 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_pages.h
文件 11076 2017-06-30 23:31 components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_page_1.c
............此处省略8734个文件信息
相关资源
- Nordic51822 被连接时打开广播
- Hi3516AV200和Hi3519V101最新sdk Hi3519_V10
- nrf51822 spi
- nRF51822低功耗睡眠函数应用
- nrf51822 ADC
- 基于nrf51822 MPU9250 SPI驱动
- nrf_51822_mpu6050_DMP移植
- 51822+52832用内部Flash通过FDS存储用户数
- nrf51822 手环 原理图
- Nrf51822程序错误快速定位方法
- nrf51822 flash初始化,分区块,循环读写
- NRF52832概述
- micro_ecc_lib_nrf51.lib
- nrf51822 sdk12.2空中升级笔记
- 按键蓝牙通知(NRF51822)
评论
共有 条评论