use crate::svd::create_cluster;
use crate::Result;
pub mod adp_ramp_time;
pub mod anasts;
pub mod capabilities;
pub mod cmd;
pub mod ctrl;
pub mod did;
pub mod int;
pub mod over;
pub mod phyrst_cfg;
pub mod refclk;
pub mod rid;
pub mod simulate;
pub mod state;
pub mod sts;
pub mod susp_ctrl;
pub mod tmr;
pub fn create(offset: u32) -> Result<svd::RegisterCluster> {
Ok(svd::RegisterCluster::Cluster(create_cluster(
"otg",
"USB3 OTG registers",
offset,
&[
did::create()?,
rid::create()?,
capabilities::create()?,
cmd::create()?,
sts::create()?,
state::create()?,
int::create()?,
refclk::create()?,
tmr::create()?,
simulate::create()?,
over::create()?,
susp_ctrl::create()?,
phyrst_cfg::create()?,
anasts::create()?,
adp_ramp_time::create()?,
ctrl::create()?,
],
None,
)?))
}