Skip to content

Commit 34358a0

Browse files
committed
Add support for 52811
1 parent a240d94 commit 34358a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nrf-hal-common/src/twis.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,12 +544,14 @@ pub trait Instance: sealed::Sealed + Deref<Target = twis0::RegisterBlock> {
544544
}
545545

546546
impl Instance for TWIS0 {
547-
#[cfg(not(any(feature = "9160", feature = "52810")))]
547+
#[cfg(not(any(feature = "9160", feature = "52810", feature = "52811")))]
548548
const INTERRUPT: Interrupt = Interrupt::SPIM0_SPIS0_TWIM0_TWIS0_SPI0_TWI0;
549549
#[cfg(feature = "9160")]
550550
const INTERRUPT: Interrupt = Interrupt::UARTE0_SPIM0_SPIS0_TWIM0_TWIS0;
551551
#[cfg(feature = "52810")]
552552
const INTERRUPT: Interrupt = Interrupt::TWIM0_TWIS0_TWI0;
553+
#[cfg(feature = "52811")]
554+
const INTERRUPT: Interrupt = Interrupt::TWIM0_TWIS0_TWI0_SPIM0_SPIS0_SPI0;
553555
}
554556

555557
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]

0 commit comments

Comments
 (0)