#[repr(C)]pub struct twai_general_config_t__bindgen_ty_1 {
pub sleep_allow_pd: u32,
}Fields§
§sleep_allow_pd: u32< Set to allow power down. When this flag set, the driver will backup/restore the TWAI registers before/after entering/exist sleep mode. By this approach, the system can power off TWAI’s power domain. This can save power, but at the expense of more RAM being consumed.
Trait Implementations§
Source§impl Clone for twai_general_config_t__bindgen_ty_1
impl Clone for twai_general_config_t__bindgen_ty_1
Source§fn clone(&self) -> twai_general_config_t__bindgen_ty_1
fn clone(&self) -> twai_general_config_t__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for twai_general_config_t__bindgen_ty_1
impl Debug for twai_general_config_t__bindgen_ty_1
Source§impl Default for twai_general_config_t__bindgen_ty_1
impl Default for twai_general_config_t__bindgen_ty_1
Source§fn default() -> twai_general_config_t__bindgen_ty_1
fn default() -> twai_general_config_t__bindgen_ty_1
Returns the “default value” for a type. Read more
impl Copy for twai_general_config_t__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for twai_general_config_t__bindgen_ty_1
impl RefUnwindSafe for twai_general_config_t__bindgen_ty_1
impl Send for twai_general_config_t__bindgen_ty_1
impl Sync for twai_general_config_t__bindgen_ty_1
impl Unpin for twai_general_config_t__bindgen_ty_1
impl UnsafeUnpin for twai_general_config_t__bindgen_ty_1
impl UnwindSafe for twai_general_config_t__bindgen_ty_1
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)