Home
last modified time | relevance | path

Searched refs:NUM_ALARMS (Results 1 – 9 of 9) sorted by relevance

/hal_rpi_pico-latest/src/host/pico_platform/include/hardware/
Dplatform_defs.h15 #define NUM_ALARMS 4u macro
/hal_rpi_pico-latest/test/pico_time_test/
Dpico_time_test.c83 struct alarm_pool *pools[NUM_ALARMS]; in main()
84 for(uint i=0; i<NUM_ALARMS; i++) { in main()
117 uint64_t last_fired_at[NUM_ALARMS]; in main()
118 uint64_t last_target[NUM_ALARMS]; in main()
240 for(uint i=0; i<NUM_ALARMS; i++) { in main()
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/
Dtimer.c14 static hardware_alarm_callback_t alarm_callbacks[NUM_GENERIC_TIMERS][NUM_ALARMS];
15 static uint32_t target_hi[NUM_GENERIC_TIMERS][NUM_ALARMS];
18 static_assert(NUM_ALARMS * NUM_GENERIC_TIMERS <= 8, "");
49 …return hw_claim_unused_from_range(&claimed[timer_get_index(timer)], required, 0, NUM_ALARMS - 1, "… in timer_hardware_alarm_claim_unused()
/hal_rpi_pico-latest/src/host/hardware_timer/include/hardware/
Dtimer.h26 invalid_params_if(HARDWARE_TIMER, alarm_num >= NUM_ALARMS); in check_hardware_alarm_num_param()
/hal_rpi_pico-latest/src/rp2_common/hardware_timer/include/hardware/
Dtimer.h111 #define TIMER_ALARM_IRQ_NUM(timer, alarm_num) (TIMER0_IRQ_0 + TIMER_NUM(timer) * NUM_ALARMS + (alar…
189 invalid_params_if(HARDWARE_TIMER, alarm_num >= NUM_ALARMS); in check_hardware_alarm_num_param()
/hal_rpi_pico-latest/src/rp2040/hardware_regs/include/hardware/
Dplatform_defs.h36 #define NUM_ALARMS _u(4) macro
/hal_rpi_pico-latest/src/host/hardware_timer/
Dtimer.c102 if (alarm_id >= NUM_ALARMS) return -1; in hardware_alarm_claim_unused()
/hal_rpi_pico-latest/src/rp2350/hardware_regs/include/hardware/
Dplatform_defs.h37 #define NUM_ALARMS _u(4) macro
/hal_rpi_pico-latest/src/rp2_common/pico_time_adapter/include/pico/
Dtime_adapter.h15 #define TA_NUM_TIMER_ALARMS NUM_ALARMS