mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
parent
6bf5d9bf7d
commit
105a2b89d5
1 changed files with 1 additions and 1 deletions
|
|
@ -773,7 +773,7 @@ static inline uint32_t pwm_get_irq1_status_mask(void) {
|
|||
* \return Bitmask of all PWM interrupts currently set
|
||||
*/
|
||||
static inline uint32_t pwm_irqn_get_status_mask(uint irq_index) {
|
||||
invalid_params_if(HARDWARE_PWM, irq_index >= NUM_DMA_IRQS);
|
||||
invalid_params_if(HARDWARE_PWM, irq_index >= NUM_PWM_IRQS);
|
||||
return pwm_hw->irq_ctrl[irq_index].ints;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue