Struct stm32mp1::stm32mp157::fdcan1::fdcan_test::FDCAN_TEST_SPEC
source · [−]pub struct FDCAN_TEST_SPEC;
Expand description
Write access to this register has to be enabled by setting bit FDCAN_CCCR.TEST to 1. All register functions are set to their reset values when bit FDCAN_CCCR.TEST is reset. Loop back mode and software control of Tx pin FDCANx_TX are hardware test modes. Programming TX differently from 00 may disturb the message transfer on the CAN bus.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see fdcan_test module
Trait Implementations
sourceimpl Readable for FDCAN_TEST_SPEC
impl Readable for FDCAN_TEST_SPEC
read()
method returns fdcan_test::R reader structure
sourceimpl RegisterSpec for FDCAN_TEST_SPEC
impl RegisterSpec for FDCAN_TEST_SPEC
sourceimpl Resettable for FDCAN_TEST_SPEC
impl Resettable for FDCAN_TEST_SPEC
reset()
method sets FDCAN_TEST to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for FDCAN_TEST_SPEC
impl Writable for FDCAN_TEST_SPEC
write(|w| ..)
method takes fdcan_test::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for FDCAN_TEST_SPEC
impl Send for FDCAN_TEST_SPEC
impl Sync for FDCAN_TEST_SPEC
impl Unpin for FDCAN_TEST_SPEC
impl UnwindSafe for FDCAN_TEST_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more