mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
update num groups definition
This commit is contained in:
parent
4bf2178de7
commit
3cd6232d43
@ -13,6 +13,11 @@ use crate::pac::tsc::Tsc as Regs;
|
||||
use crate::rcc::RccPeripheral;
|
||||
use crate::{peripherals, Peripheral};
|
||||
|
||||
#[cfg(tsc_v1)]
|
||||
const TSC_NUM_GROUPS: u32 = 6;
|
||||
#[cfg(tsc_v2)]
|
||||
const TSC_NUM_GROUPS: u32 = 7;
|
||||
#[cfg(tsc_v3)]
|
||||
const TSC_NUM_GROUPS: u32 = 8;
|
||||
|
||||
/// Error type defined for TSC
|
||||
|
Loading…
Reference in New Issue
Block a user