mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-28 12:50:37 +00:00
Merge pull request #4225 from i509VCB/fix-ci-again
mspm0: add gpio handlers to l122x/l110x
This commit is contained in:
commit
7cbc9058bc
@ -10,7 +10,7 @@ use embassy_sync::waitqueue::AtomicWaker;
|
||||
|
||||
use crate::pac::gpio::vals::*;
|
||||
use crate::pac::gpio::{self};
|
||||
#[cfg(all(feature = "rt", mspm0c110x))]
|
||||
#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
|
||||
use crate::pac::interrupt;
|
||||
use crate::pac::{self};
|
||||
|
||||
@ -1120,7 +1120,7 @@ impl Iterator for BitIter {
|
||||
}
|
||||
|
||||
// C110x has a dedicated interrupt just for GPIOA, as it does not have a GROUP1 interrupt.
|
||||
#[cfg(all(feature = "rt", mspm0c110x))]
|
||||
#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
|
||||
#[interrupt]
|
||||
fn GPIOA() {
|
||||
gpioa_interrupt();
|
||||
|
@ -41,9 +41,9 @@ fn GROUP1() {
|
||||
|
||||
match group {
|
||||
Group1::GPIOA => crate::gpio::gpioa_interrupt(),
|
||||
Group1::GPIOB => todo!("implement GPIOB"),
|
||||
Group1::GPIOB => crate::gpio::gpiob_interrupt(),
|
||||
Group1::COMP0 => todo!("implement COMP0"),
|
||||
Group1::TRNG => todo!("implement TRNG"),
|
||||
Group1::GPIOC => todo!("implement GPIOC"),
|
||||
Group1::GPIOC => crate::gpio::gpioc_interrupt(),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user