Found 17 other functions taking a
timer_hw_t
argument:
Returns the timer number for a timer instance
Return the current 64 bit timestamp value in microseconds for a given timer instance Returns the full 64 bits of the hardware timer. The pico_time and other functions rely on the fact that this value monotonically increases from power up. As such it is expected that this value counts upwards and never wraps (we apologize for introducing a potential year 5851444 bug).
Returns the
irq_num_t
for the alarm interrupt from the given alarm on the given timer instance
cooperatively claim the use of this hardware alarm_num on the given timer instance This method hard asserts if the hardware alarm is currently claimed.
cooperatively claim the use of a hardware alarm_num on the given timer instance This method attempts to claim an unused hardware alarm
Busy wait wasting cycles for the given (32 bit) number of microseconds using the given timer instance
Busy wait wasting cycles for the given (64 bit) number of microseconds using the given timer instance
Returns the
irq_num_t
for the alarm interrupt from the given alarm on the default timer instance
cooperatively release the claim on use of this hardware alarm_num on the given timer instance
Determine if a hardware alarm has been claimed on the given timer instance
Busy wait wasting cycles for the given number of milliseconds using the given timer instance
Enable/Disable a callback for a hardware alarm for a given timer instance on this core This method enables/disables the alarm IRQ for the specified hardware alarm on the calling core, and set the specified callback to be associated with that alarm. This callback will be used for the timeout set via hardware_alarm_set_target \sa hardware_alarm_set_callback \sa timer_hardware_alarm_set_target()
Set the current target for a specific hardware alarm on the given timer instance This will replace any existing target
Cancel an existing target (if any) for a specific hardware_alarm on the given timer instance
Force and IRQ for a specific hardware alarm on the given timer instance This method will forcibly make sure the current alarm callback (if present) for the hardware alarm is called from an IRQ context after this call. If an actual callback is due at the same time then the callback may only be called once. Calling this method does not otherwise interfere with regular callback operations.
Return a 32 bit timestamp value in microseconds for a given timer instance Returns the low 32 bits of the hardware timer.
Check if the specified timestamp has been reached on the given timer instance