---- app_timer_create Matches (29 in 24 files) ---- app_button_init in app_button.c (components\libraries\button) : /* Create polling timer. */ return app_timer_create(&m_detection_delay_timer_id, APP_TIMER_MODE_SINGLE_SHOT, detection_delay_timeout_handler); } app_timer.c (components\libraries\timer) line 960 : ret_code_t app_timer_create(app_timer_id_t const * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler) { app_timer.h (components\libraries\timer) line 214 : * the timer is not running. * @attention The FreeRTOS and RTX app_timer implementation does not allow app_timer_create to * be called on the previously initialized instance. */ ret_code_t app_timer_create(app_timer_id_t const * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler); app_timer2.c (components\libraries\timer) line 553 : ret_code_t app_timer_create(app_timer_id_t const * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler) { app_timer_freertos.c (components\libraries\timer) line 122 : uint32_t app_timer_create(app_timer_id_t const * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler) { app_timer_rtx.c (components\libraries\timer) line 131 : ret_code_t app_timer_create(app_timer_id_t const * p_timer_id, app_timer_mode_t mode, app_timer_timeout_handler_t timeout_handler) { ast_init in auth_status_tracker.c (components\ble\peer_manager) : { ret_code_t err_code = app_timer_create(&m_pairing_attempt_timer, APP_TIMER_MODE_SINGLE_SHOT, blacklisted_peers_state_transition_handle); auth_status_tracker.h (components\ble\peer_manager) line 65 : * @retval NRF_SUCCESS Initialization was successful. * @retval Other Other error codes might be returned by the @ref app_timer_create function. */ ret_code_t ast_init(void); ble_conn_params_init in ble_conn_params.c (components\ble\common) : err_code = app_timer_create(&p_instance->timer_id, APP_TIMER_MODE_SINGLE_SHOT, update_timeout_handler); if (err_code != NRF_SUCCESS) bsp_init in bsp.c (components\libraries\bsp) : { err_code = app_timer_create(&m_bsp_button_tmr, APP_TIMER_MODE_SINGLE_SHOT, button_timer_handler); } bsp_init in bsp.c (components\libraries\bsp) : err_code = app_timer_create(&m_bsp_leds_tmr, APP_TIMER_MODE_SINGLE_SHOT, leds_timer_handler); } if (err_code == NRF_SUCCESS) bsp_init in bsp.c (components\libraries\bsp) : err_code = app_timer_create(&m_bsp_alert_tmr, APP_TIMER_MODE_REPEATED, alert_timer_handler); } } #endif // LEDS_NUMBER > 0 && !(defined BSP_SIMPLE) es_adv_timing_timers_init in es_adv_timing.c (components\ble\ble_services\eddystone) : err_code = app_timer_create(&m_es_adv_interval_timer, APP_TIMER_MODE_SINGLE_SHOT, adv_interval_timeout); APP_ERROR_CHECK(err_code); err_code = app_timer_create(&m_es_slot_timer, APP_TIMER_MODE_SINGLE_SHOT, adv_slot_timeout); APP_ERROR_CHECK(err_code); hci_transport_open in hci_transport.c (components\libraries\hci) : uint32_t err_code = app_timer_create(&m_app_timer_id, APP_TIMER_MODE_REPEATED, hci_transport_timeout_handle); if (err_code != NRF_SUCCESS) led_softblink.h (components\libraries\led_softblink) line 116 : * * @return Values returned by @ref app_timer_create. */ ret_code_t led_softblink_init(led_sb_init_params_t const * p_init_params); low_power_pwm_init in low_power_pwm.c (components\libraries\low_power_pwm) : err_code = app_timer_create(p_pwm_instance->p_timer_id, APP_TIMER_MODE_SINGLE_SHOT, pwm_timeout_handler); if (err_code != NRF_SUCCESS) { low_power_pwm.h (components\libraries\low_power_pwm) line 159 : * * @return Values returned by @ref app_timer_create. */ ret_code_t low_power_pwm_init(low_power_pwm_t * p_pwm_instance, low_power_pwm_config_t const * p_pwm_config, timers_init in main.c (examples\ble_peripheral\ble_app_uart) : app_timer_create(&m_our_char_timer_id, APP_TIMER_MODE_REPEATED, timer_timeout_handler); app_timer_create(&m_ms_timer_id, APP_TIMER_MODE_REPEATED, timer_ms_timeout_handler); } /**@brief Function for the GAP initialization. main in main.c (examples\ble_peripheral\ble_app_uart) : err_code = app_timer_create(&wakeup_timer_id, APP_TIMER_MODE_SINGLE_SHOT, wakeup_timer_handler); APP_ERROR_CHECK(err_code); err_code = app_timer_create(&m_ms_timer_id, APP_TIMER_MODE_REPEATED, timer_ms_timeout_handler); APP_ERROR_CHECK(err_code); //err_code = app_timer_start(m_ms_timer_id, TIMER_MS_INTERVAL, NULL); cli_ble_uart_enable in nrf_cli_ble_uart.c (components\libraries\cli\ble_uart) : { err_code = app_timer_create(p_instance->p_timer, APP_TIMER_MODE_SINGLE_SHOT, timer_handler); p_instance->p_cb->timer_created = true; cli_rtt_enable in nrf_cli_rtt.c (components\libraries\cli\rtt) : { err_code = app_timer_create(p_internal->p_timer, APP_TIMER_MODE_SINGLE_SHOT, timer_handler); p_internal->p_cb->timer_created = true; cli_uart_enable in nrf_cli_uart.c (components\libraries\cli\uart) : { err_code = app_timer_create(p_internal->p_timer, APP_TIMER_MODE_SINGLE_SHOT, timer_handler); p_internal->p_cb->timer_created = true; nrf_csense_init in nrf_csense.c (components\libraries\csense) : err_code = app_timer_create(&nrf_csense_timer, APP_TIMER_MODE_REPEATED, csense_timer_handler); if (err_code != NRF_SUCCESS) { return err_code; nrf_libuarte_async.c (components\libraries\libuarte) line 131 : #define local_app_timer_stop(p_timer) app_timer_stop(p_timer) #define local_app_timer_create(p_timer) app_timer_create(p_timer, APP_TIMER_MODE_SINGLE_SHOT, app_timer_handler) #define local_app_timer_cnt_diff_compute(to, from) app_timer_cnt_diff_compute(to, from) #else #ifndef APP_TIMER_CONFIG_RTC_FREQUENCY nrf_libuarte_async_init in nrf_libuarte_async.c (components\libraries\libuarte) : /* app_timer in use */ if(!p_libuarte->p_ctrl_blk->app_timer_created) { ret = local_app_timer_create(p_libuarte->p_app_timer); if (ret != NRF_SUCCESS) nrf_libuarte_async_init in nrf_libuarte_async.c (components\libraries\libuarte) : } p_libuarte->p_ctrl_blk->app_timer_created = true; } p_libuarte->p_app_timer_ctrl_blk->activate = false; p_libuarte->p_app_timer_ctrl_blk->rx_count = 0; {anonnrf_libuarte_async_ctrl_blk_t} in nrf_libuarte_async.h (components\libraries\libuarte) : uint32_t timeout_us; bool app_timer_created; bool hwfc; bool rx_halted; bool enabled; pwr_mgmt_timer_create in nrf_pwr_mgmt.c (components\libraries\pwr_mgmt) : { ret_code_t ret_code = app_timer_create(&m_pwr_mgmt_timer, APP_TIMER_MODE_REPEATED, nrf_pwr_mgmt_timeout_handler); if (ret_code != NRF_SUCCESS) conn_secure in peer_manager_handler.c (components\ble\peer_manager) : { err_code = app_timer_create(&secure_delay_timer, APP_TIMER_MODE_SINGLE_SHOT, delayed_conn_secure); APP_ERROR_CHECK(err_code);