stm32wb_pac/ipcc/
hwcfgr.rs

1#[doc = "Reader of register HWCFGR"]
2pub type R = crate::R<u32, super::HWCFGR>;
3#[doc = "Reader of field `CHANNELS`"]
4pub type CHANNELS_R = crate::R<u8, u8>;
5impl R {
6    #[doc = "Bits 0:7 - Number of channels per CPU supported by the IP, range 1 to 16"]
7    #[inline(always)]
8    pub fn channels(&self) -> CHANNELS_R {
9        CHANNELS_R::new((self.bits & 0xff) as u8)
10    }
11}