On Tue, Sep 15, 2026 at 12:57:42PM +0200, Laura Nao wrote:
>          io.write_reg(MCU_CONTROL::zeroed().with_req(McuControlMode::Auto));
>  
>          if let Err(e) = poll::read_poll_timeout(
> -            || Ok((io.read(MCU_STATUS), io.read(JOB_IRQ_RAWSTAT))),
> -            |(mcu_status, irq_rawstat)| {
> -                mcu_status.value() == McuStatus::Enabled && irq_rawstat.glb()
> -            },
> +            || Ok(io.read(MCU_STATUS)),
> +            |status| status.value() == McuStatus::Enabled,
>              time::Delta::from_millis(1),
>              time::Delta::from_millis(100),
>          ) {

Does the io.write_reg(JOB_IRQ_CLEAR::zeroed().with_glb(true)) line after
this read_poll_timeout() also need to be removed?

Alice

Reply via email to