/btstack/port/msp432p401lp-cc256x/ti/devices/msp432p4xx/driverlib/ |
H A D | timer32.c | 36 void Timer32_initModule(uint32_t timer, uint32_t preScaler, uint32_t resolution, in Timer32_initModule() argument 41 BITBAND_PERI(TIMER32_CMSIS(timer)->CONTROL, TIMER32_CONTROL_MODE_OFS) in Timer32_initModule() 44 BITBAND_PERI(TIMER32_CMSIS(timer)->CONTROL, TIMER32_CONTROL_MODE_OFS) in Timer32_initModule() 51 BITBAND_PERI(TIMER32_CMSIS(timer)->CONTROL, TIMER32_CONTROL_SIZE_OFS) in Timer32_initModule() 54 BITBAND_PERI(TIMER32_CMSIS(timer)->CONTROL, TIMER32_CONTROL_SIZE_OFS) in Timer32_initModule() 65 TIMER32_CMSIS(timer)->CONTROL = (TIMER32_CMSIS(timer)->CONTROL in Timer32_initModule() 70 void Timer32_setCount(uint32_t timer, uint32_t count) in Timer32_setCount() argument 72 if (!BITBAND_PERI(TIMER32_CMSIS(timer)->CONTROL, TIMER32_CONTROL_SIZE_OFS) in Timer32_setCount() 74 TIMER32_CMSIS(timer)->LOAD = UINT16_MAX; in Timer32_setCount() 76 TIMER32_CMSIS(timer)->LOAD = count; in Timer32_setCount() [all …]
|
H A D | timer_a.c | 36 static void privateTimer_AProcessClockSourceDivider(uint32_t timer, in privateTimer_AProcessClockSourceDivider() argument 39 TIMER_A_CMSIS(timer)->CTL &= ~TIMER_A_CTL_ID__8; in privateTimer_AProcessClockSourceDivider() 40 TIMER_A_CMSIS(timer)->EX0 &= ~TIMER_A_EX0_IDEX_MASK; in privateTimer_AProcessClockSourceDivider() 46 TIMER_A_CMSIS(timer)->CTL |= ((clockSourceDivider - 1) << 6); in privateTimer_AProcessClockSourceDivider() 47 TIMER_A_CMSIS(timer)->EX0 = TIMER_A_EX0_TAIDEX_0; in privateTimer_AProcessClockSourceDivider() 50 TIMER_A_CMSIS(timer)->CTL |= TIMER_A_CTL_ID__4; in privateTimer_AProcessClockSourceDivider() 51 TIMER_A_CMSIS(timer)->EX0 = TIMER_A_EX0_TAIDEX_0; in privateTimer_AProcessClockSourceDivider() 54 TIMER_A_CMSIS(timer)->CTL |= TIMER_A_CTL_ID__8; in privateTimer_AProcessClockSourceDivider() 55 TIMER_A_CMSIS(timer)->EX0 = TIMER_A_EX0_TAIDEX_0; in privateTimer_AProcessClockSourceDivider() 61 TIMER_A_CMSIS(timer)->CTL |= TIMER_A_CTL_ID__1; in privateTimer_AProcessClockSourceDivider() [all …]
|
H A D | timer_a.h | 383 #define Timer_A_setDutyCycle(timer,dutyCycle) \ argument 384 Timer_A_setCompareValue(timer,dutyCycle) 414 extern void Timer_A_startCounter(uint32_t timer, uint_fast16_t timerMode); 475 extern void Timer_A_configureContinuousMode(uint32_t timer, 542 extern void Timer_A_configureUpMode(uint32_t timer, 609 extern void Timer_A_configureUpDownMode(uint32_t timer, 671 extern void Timer_A_initCapture(uint32_t timer, 719 extern void Timer_A_initCompare(uint32_t timer, 736 extern void Timer_A_clearTimer(uint32_t timer); 768 extern uint_fast8_t Timer_A_getSynchronizedCaptureCompareInput(uint32_t timer, [all …]
|
H A D | timer32.h | 119 extern void Timer32_initModule(uint32_t timer, uint32_t preScaler, 143 extern void Timer32_setCount(uint32_t timer, uint32_t count); 166 extern void Timer32_setCountInBackground(uint32_t timer, uint32_t count); 180 extern uint32_t Timer32_getValue(uint32_t timer); 206 extern void Timer32_startTimer(uint32_t timer, bool oneShot); 220 extern void Timer32_haltTimer(uint32_t timer); 236 extern void Timer32_enableInterrupt(uint32_t timer); 252 extern void Timer32_disableInterrupt(uint32_t timer); 268 extern void Timer32_clearInterruptFlag(uint32_t timer); 286 extern uint32_t Timer32_getInterruptStatus(uint32_t timer);
|
H A D | rom.h | 2033 ((void (*)(uint32_t timer, \ 2039 ((void (*)(uint32_t timer, \ 2045 ((void (*)(uint32_t timer, \ 2051 ((void (*)(uint32_t timer, \ 2057 ((void (*)(uint32_t timer, \ 2063 ((void (*)(uint32_t timer, \ 2069 ((void (*)(uint32_t timer))ROM_TIMER_ATABLE[6]) 2074 ((uint_fast8_t (*)(uint32_t timer, \ 2081 ((uint_fast8_t (*)(uint32_t timer, \ 2087 ((uint_fast16_t (*)(uint32_t timer, \ [all …]
|
/btstack/src/ |
H A D | btstack_run_loop.c | 89 bool btstack_run_loop_base_remove_timer(btstack_timer_source_t * timer){ in btstack_run_loop_base_remove_timer() argument 90 … return btstack_linked_list_remove(&btstack_run_loop_base_timers, (btstack_linked_item_t *) timer); in btstack_run_loop_base_remove_timer() 93 void btstack_run_loop_base_add_timer(btstack_timer_source_t * timer){ in btstack_run_loop_base_add_timer() argument 98 if (next == timer){ in btstack_run_loop_base_add_timer() 99 … log_error("Timer %p already registered! Please read source code comment.", (void*)timer); in btstack_run_loop_base_add_timer() 115 int32_t delta = btstack_time_delta(timer->timeout, next->timeout); in btstack_run_loop_base_add_timer() 118 timer->item.next = it->next; in btstack_run_loop_base_add_timer() 119 it->next = (btstack_linked_item_t *) timer; in btstack_run_loop_base_add_timer() 125 btstack_timer_source_t * timer = (btstack_timer_source_t *) btstack_run_loop_base_timers; in btstack_run_loop_base_process_timers() local 126 int32_t delta = btstack_time_delta(timer->timeout, now); in btstack_run_loop_base_process_timers() [all …]
|
H A D | btstack_run_loop.h | 115 void (*set_timer)(btstack_timer_source_t * timer, uint32_t timeout_in_ms); 116 void (*add_timer)(btstack_timer_source_t *timer); 117 bool (*remove_timer)(btstack_timer_source_t *timer); 146 void btstack_run_loop_base_add_timer(btstack_timer_source_t * timer); 153 bool btstack_run_loop_base_remove_timer(btstack_timer_source_t * timer); 227 void btstack_run_loop_set_timer(btstack_timer_source_t * timer, uint32_t timeout_in_ms); 232 void btstack_run_loop_set_timer_handler(btstack_timer_source_t * timer, void (*process)(btstack_tim… 237 void btstack_run_loop_set_timer_context(btstack_timer_source_t * timer, void * context); 242 void * btstack_run_loop_get_timer_context(btstack_timer_source_t * timer); 247 void btstack_run_loop_add_timer(btstack_timer_source_t * timer); [all …]
|
/btstack/test/gatt-service-client/ |
H A D | ancs_client_test.cpp | 52 void btstack_run_loop_add_timer(btstack_timer_source_t * timer){ in btstack_run_loop_add_timer() argument 53 btstack_timer = timer; in btstack_run_loop_add_timer() 56 int btstack_run_loop_remove_timer(btstack_timer_source_t * timer){ in btstack_run_loop_remove_timer() argument 61 void btstack_run_loop_set_timer(btstack_timer_source_t * timer, uint32_t timeout_in_ms){ in btstack_run_loop_set_timer() argument 64 void btstack_run_loop_set_timer_handler(btstack_timer_source_t * timer, void (*process)(btstack_tim… in btstack_run_loop_set_timer_handler() argument 65 timer->process = process; in btstack_run_loop_set_timer_handler() 68 void btstack_run_loop_set_timer_context(btstack_timer_source_t * timer, void * context){ in btstack_run_loop_set_timer_context() argument 69 timer->context = context; in btstack_run_loop_set_timer_context() 72 void * btstack_run_loop_get_timer_context(btstack_timer_source_t * timer){ in btstack_run_loop_get_timer_context() argument 73 return timer->context; in btstack_run_loop_get_timer_context()
|
H A D | device_information_service_client_test.cpp | 54 void btstack_run_loop_add_timer(btstack_timer_source_t * timer){ in btstack_run_loop_add_timer() argument 55 btstack_timer = timer; in btstack_run_loop_add_timer() 58 int btstack_run_loop_remove_timer(btstack_timer_source_t * timer){ in btstack_run_loop_remove_timer() argument 63 void btstack_run_loop_set_timer(btstack_timer_source_t * timer, uint32_t timeout_in_ms){ in btstack_run_loop_set_timer() argument 66 void btstack_run_loop_set_timer_handler(btstack_timer_source_t * timer, void (*process)(btstack_tim… in btstack_run_loop_set_timer_handler() argument 67 timer->process = process; in btstack_run_loop_set_timer_handler() 70 void btstack_run_loop_set_timer_context(btstack_timer_source_t * timer, void * context){ in btstack_run_loop_set_timer_context() argument 71 timer->context = context; in btstack_run_loop_set_timer_context() 74 void * btstack_run_loop_get_timer_context(btstack_timer_source_t * timer){ in btstack_run_loop_get_timer_context() argument 75 return timer->context; in btstack_run_loop_get_timer_context()
|
H A D | battery_service_client_test.cpp | 42 void btstack_run_loop_add_timer(btstack_timer_source_t * timer){ in btstack_run_loop_add_timer() argument 43 btstack_timer = timer; in btstack_run_loop_add_timer() 46 int btstack_run_loop_remove_timer(btstack_timer_source_t * timer){ in btstack_run_loop_remove_timer() argument 51 void btstack_run_loop_set_timer(btstack_timer_source_t * timer, uint32_t timeout_in_ms){ in btstack_run_loop_set_timer() argument 54 void btstack_run_loop_set_timer_handler(btstack_timer_source_t * timer, void (*process)(btstack_tim… in btstack_run_loop_set_timer_handler() argument 55 timer->process = process; in btstack_run_loop_set_timer_handler() 58 void btstack_run_loop_set_timer_context(btstack_timer_source_t * timer, void * context){ in btstack_run_loop_set_timer_context() argument 59 timer->context = context; in btstack_run_loop_set_timer_context() 62 void * btstack_run_loop_get_timer_context(btstack_timer_source_t * timer){ in btstack_run_loop_get_timer_context() argument 63 return timer->context; in btstack_run_loop_get_timer_context()
|
/btstack/platform/daemon/example/ |
H A D | l2cap_throughput.c | 68 btstack_timer_source_t timer; variable 83 btstack_run_loop_set_timer(&timer, 3000); in timer_handler() 84 btstack_run_loop_add_timer(&timer); in timer_handler() 116 timer.process = timer_handler; in packet_handler() 117 btstack_run_loop_set_timer(&timer, 3000); in packet_handler()
|
/btstack/3rd-party/lwip/core/src/core/ipv4/ |
H A D | igmp.c | 260 group->timer = 0; /* Not running */ in igmp_lookup_group() 424 group->timer = 0; /* stopped */ in igmp_input() 649 if (group->timer > 0) { in igmp_tmr() 650 group->timer--; in igmp_tmr() 651 if (group->timer == 0) { in igmp_tmr() 695 group->timer = (u16_t)(max_time > 2 ? (LWIP_RAND() % max_time) : 1); in igmp_start_timer() 698 group->timer = max_time / 2; in igmp_start_timer() 701 if (group->timer == 0) { in igmp_start_timer() 702 group->timer = 1; in igmp_start_timer() 717 ((group->timer == 0) || (maxresp < group->timer)))) { in igmp_delaying_member()
|
H A D | ip4_frag.c | 136 if (r->timer > 0) { in ip_reass_tmr() 137 r->timer--; in ip_reass_tmr() 138 LWIP_DEBUGF(IP_REASS_DEBUG, ("ip_reass_tmr: timer dec %"U16_F"\n", (u16_t)r->timer)); in ip_reass_tmr() 251 } else if (r->timer <= oldest->timer) { in ip_reass_remove_oldest_datagram() 301 ipr->timer = IP_REASS_MAXAGE; in ip_reass_enqueue_new_datagram()
|
/btstack/3rd-party/lwip/core/src/core/ipv6/ |
H A D | mld6.c | 175 group->timer = 0; /* Not running */ in mld6_new_group() 281 group->timer = 0; /* stopped */ in mld6_input() 504 if (group->timer > 0) { in mld6_tmr() 505 group->timer--; in mld6_tmr() 506 if (group->timer == 0) { in mld6_tmr() 547 ((group->timer == 0) || (maxresp < group->timer)))) { in mld6_delayed_report() 548 group->timer = maxresp; in mld6_delayed_report()
|
H A D | ip6_frag.c | 126 if (r->timer > 0) { in ip6_reass_tmr() 127 r->timer--; in ip6_reass_tmr() 246 if (r->timer <= oldest->timer) { in ip6_reass_remove_oldest_datagram() 355 ipr->timer = IPV6_REASS_MAXAGE; in ip6_reass()
|
/btstack/src/mesh/ |
H A D | mesh_access.c | 321 … btstack_run_loop_set_timer(&base_transition->timer, base_transition->step_duration_ms); in mesh_server_transition_timeout() 322 btstack_run_loop_add_timer(&base_transition->timer); in mesh_server_transition_timeout() 334 … btstack_run_loop_set_timer(&base_transition->timer, base_transition->step_duration_ms); in mesh_server_transition_timeout() 335 btstack_run_loop_add_timer(&base_transition->timer); in mesh_server_transition_timeout() 354 btstack_run_loop_set_timer_context(&base_transition->timer, base_transition); in mesh_access_transition_setup() 355 btstack_run_loop_set_timer_handler(&base_transition->timer, &mesh_server_transition_timeout); in mesh_access_transition_setup() 360 btstack_run_loop_set_timer(&base_transition->timer, delay_time_gdtt * 5); in mesh_access_transition_setup() 361 btstack_run_loop_add_timer(&base_transition->timer); in mesh_access_transition_setup() 368 btstack_run_loop_set_timer(&base_transition->timer, base_transition->step_duration_ms); in mesh_access_transition_setup() 369 btstack_run_loop_add_timer(&base_transition->timer); in mesh_access_transition_setup() [all …]
|
H A D | mesh_configuration_server.h | 53 btstack_timer_source_t timer; member
|
/btstack/3rd-party/lwip/core/src/apps/tftp/ |
H A D | tftp.c | 88 int timer; member 260 tftp_state.last_pkt = tftp_state.timer; in recv() 421 tftp_state.timer++; in tftp_tmr() 429 if ((tftp_state.timer - tftp_state.last_pkt) > (TFTP_TIMEOUT_MSECS / TFTP_TIMER_MSECS)) { in tftp_tmr() 466 tftp_state.timer = 0; in tftp_init_common()
|
/btstack/src/ble/gatt-service/ |
H A D | immediate_alert_service_server.c | 109 static void ias_server_timer_timeout_handler(btstack_timer_source_t * timer){ in ias_server_timer_timeout_handler() argument 110 UNUSED(timer); in ias_server_timer_timeout_handler()
|
H A D | link_loss_service_server.c | 113 static void lls_server_timer_timeout_handler(btstack_timer_source_t * timer){ in lls_server_timer_timeout_handler() argument 114 UNUSED(timer); in lls_server_timer_timeout_handler()
|
/btstack/test/avdtp/ |
H A D | sine_encode_decode_ring_buffer_test.c | 149 static void test_fill_audio_ring_buffer_timeout_handler(btstack_timer_source_t * timer){ in test_fill_audio_ring_buffer_timeout_handler() argument 150 avdtp_stream_endpoint_t * stream_endpoint = btstack_run_loop_get_timer_context(timer); in test_fill_audio_ring_buffer_timeout_handler()
|
/btstack/3rd-party/lwip/core/src/apps/smtp/ |
H A D | smtp.c | 237 u16_t timer; member 536 s->timer = SMTP_TIMEOUT; in smtp_send_mail_alloced() 809 if (s->timer != 0) { in smtp_tcp_poll() 810 s->timer--; in smtp_tcp_poll() 1236 s->timer = SMTP_TIMEOUT_DATABLOCK; in smtp_send_body() 1252 s->timer = SMTP_TIMEOUT_DATATERM; in smtp_send_body() 1293 if (s->timer == 0) { in smtp_process() 1422 s->timer = SMTP_TIMEOUT; in smtp_process()
|
/btstack/3rd-party/lwip/core/src/include/lwip/ |
H A D | ip4_frag.h | 67 u8_t timer; member
|
H A D | mld6.h | 68 u16_t timer; member
|
/btstack/test/gatt_client/ |
H A D | mock.c | 228 void btstack_run_loop_add_timer(btstack_timer_source_t *timer){ in btstack_run_loop_add_timer() argument 231 int btstack_run_loop_remove_timer(btstack_timer_source_t *timer){ in btstack_run_loop_remove_timer() argument
|