moondancer_pac/generated/
advertiser.rs1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 control: CONTROL,
5}
6impl RegisterBlock {
7 #[doc = "0x00 - Control register enable : Set this bit to '1' to start ApolloAdvertiser and disconnect the Cynthion USB control port from Apollo."]
8 #[inline(always)]
9 pub const fn control(&self) -> &CONTROL {
10 &self.control
11 }
12}
13#[doc = "control (rw) register accessor: Control register enable : Set this bit to '1' to start ApolloAdvertiser and disconnect the Cynthion USB control port from Apollo.\n\nYou can [`read`](crate::Reg::read) this register and get [`control::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`control::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@control`]
14module"]
15#[doc(alias = "control")]
16pub type CONTROL = crate::Reg<control::CONTROL_SPEC>;
17#[doc = "Control register enable : Set this bit to '1' to start ApolloAdvertiser and disconnect the Cynthion USB control port from Apollo."]
18pub mod control;