nrf51822 基于sdk9.0 从机dfu一步一步移植到升级烧入
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-16 16:53 SDK9_DFU
目录 0 2017-05-16 16:52 SDK9_DFUcomponents
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsant
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_channel_config
文件 1254 2015-07-10 06:21 SDK9_DFUcomponentsantant_channel_configant_channel_config.c
文件 1500 2015-07-10 06:21 SDK9_DFUcomponentsantant_channel_configant_channel_config.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profiles
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrm
文件 8376 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmant_hrm.c
文件 8943 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmant_hrm.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmpages
文件 448 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_pages.h
文件 2374 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_0.c
文件 1362 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_0.h
文件 2001 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_1.c
文件 1184 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_1.h
文件 1642 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_2.c
文件 1281 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_2.h
文件 1604 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_3.c
文件 1378 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_3.h
文件 1653 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_4.c
文件 1292 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_4.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmpageslogger
文件 1042 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesloggerant_hrm_page_logger.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmutils
文件 2413 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmutilsant_hrm_utils.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_pulse_simulator
文件 5342 2015-07-10 06:21 SDK9_DFUcomponentsantant_pulse_simulatorant_pulse_simulator.c
文件 2293 2015-07-10 06:21 SDK9_DFUcomponentsantant_pulse_simulatorant_pulse_simulator.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_stack_config
文件 1548 2015-07-10 06:21 SDK9_DFUcomponentsantant_stack_configant_stack_config.c
............此处省略2836个文件信息
#include “ant_channel_config.h“
#include “ant_interface.h“
#include “nrf_error.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);
if (err_code != NRF_SUCCESS)
{
return 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);
if (err_code != NRF_SUCCESS)
{
return err_code;
}
// Set Channel RF frequency.
err_code = sd_ant_channel_radio_freq_set(p_config->channel_number p_config->rf_freq);
if (err_code != NRF_SUCCESS)
{
return err_code;
}
// Set Channel period.
err_code = sd_ant_channel_period_set(p_config->channel_number p_config->channel_period);
return err_code;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-16 16:53 SDK9_DFU
目录 0 2017-05-16 16:52 SDK9_DFUcomponents
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsant
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_channel_config
文件 1254 2015-07-10 06:21 SDK9_DFUcomponentsantant_channel_configant_channel_config.c
文件 1500 2015-07-10 06:21 SDK9_DFUcomponentsantant_channel_configant_channel_config.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profiles
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrm
文件 8376 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmant_hrm.c
文件 8943 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmant_hrm.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmpages
文件 448 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_pages.h
文件 2374 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_0.c
文件 1362 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_0.h
文件 2001 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_1.c
文件 1184 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_1.h
文件 1642 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_2.c
文件 1281 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_2.h
文件 1604 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_3.c
文件 1378 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_3.h
文件 1653 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_4.c
文件 1292 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesant_hrm_page_4.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmpageslogger
文件 1042 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmpagesloggerant_hrm_page_logger.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_profilesant_hrmutils
文件 2413 2015-07-10 06:21 SDK9_DFUcomponentsantant_profilesant_hrmutilsant_hrm_utils.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_pulse_simulator
文件 5342 2015-07-10 06:21 SDK9_DFUcomponentsantant_pulse_simulatorant_pulse_simulator.c
文件 2293 2015-07-10 06:21 SDK9_DFUcomponentsantant_pulse_simulatorant_pulse_simulator.h
目录 0 2017-05-16 16:52 SDK9_DFUcomponentsantant_stack_config
文件 1548 2015-07-10 06:21 SDK9_DFUcomponentsantant_stack_configant_stack_config.c
............此处省略2836个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)