资源简介
nRF5_SDK_12.2.0_f012efa-bootloader是NRF52832的开发包,方便进行开发。
代码片段和文件信息
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free non-transferable use of the information. NO
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
*/
#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 Channel RF frequency.
err_code = sd_ant_channel_radio_freq_set(p_config->channel_number p_config->rf_freq);
VERIFY_SUCCESS(err_code);
// Set Channel period.
if (!(p_config->ext_assign & EXT_PARAM_ALWAYS_SEARCH))
{
err_code = sd_ant_channel_period_set(p_config->channel_number p_config->channel_period);
}
#if ANT_CONFIG_ENCRYPTED_CHANNELS > 0
VERIFY_SUCCESS(err_code);
err_code = ant_channel_encrypt_config(p_config->channel_type p_config->channel_number p_config->p_crypto_settings);
#endif
return err_code;
}
#endif // NRF_MODULE_ENABLED(ANT_CHANNEL_CONFIG)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2006 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_channel_config\ant_channel_config.c
文件 2022 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_channel_config\ant_channel_config.h
文件 322 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_channel_config\ant_channel_config_dox_config.h
文件 7365 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_config.c
文件 10043 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_config.h
文件 332 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_config_dox_config.h
文件 5598 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_negotiation_slave.c
文件 3964 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_negotiation_slave.h
文件 401 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_encryption\ant_encrypt_negotiation_slave_dox_config.h
文件 99462 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\antfs.c
文件 23183 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\antfs.h
文件 2939 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\ant_fs_dox_config.h
文件 1717 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\crc.c
文件 1430 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\crc.h
文件 2050 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_fs\defines.h
文件 1298 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_key_manager\ant_key_manager.c
文件 2010 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_key_manager\ant_key_manager.h
文件 283 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_key_manager\ant_key_manager_dox_config.h
文件 1043 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_key_manager\config\ant_key_manager_config.h
文件 16214 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\ant_bpwr.c
文件 17492 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\ant_bpwr.h
文件 5376 2016-11-29 04:26 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\ant_bpwr_dox_config.h
文件 2015 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\ant_bpwr_local.h
文件 2444 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_common_data.c
文件 2110 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_common_data.h
文件 1319 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_pages.h
文件 9451 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_page_1.c
文件 3970 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_page_1.h
文件 3265 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_page_16.c
文件 2674 2016-11-29 04:25 nRF5_SDK_12.2.0_f012efa-bootloader\components\ant\ant_profiles\ant_bpwr\pages\ant_bpwr_page_16.h
............此处省略2395个文件信息
相关资源
- nRF52832官方参考PCB电路设计
- NRF52832 串口DFU实现
- nRF5官方_SDK_16.0.0.zip
- nRF52832开发指南上下两册.rar
- NRF52832_SDK_15.0.0
- master_slave_ble_demo_sdk15.3.zip
- GT24L24.rar
- 52810_key.zip
- SDK12空中升级详细步骤操作
- nRF52832开发指南-下册主机.pdf
- nRF52832播放音频资源包
- nrf52832中文芯片手册 V1.4.pdf
- nRF52832开发指南-上册
- NRF52832概述
- NRF52832 NRF52840烧写批处理摆脱NRFgo St
- nrf52832模块原理图库.rar
评论
共有 条评论