pub struct OTG_GUSBCFG_SPEC;
Expand description

This register can be used to configure the core after power-on or a changing to host mode or device mode. It contains USB and USB-PHY related configuration parameters. The application must program this register before starting any transactions on either the AHB or the USB. Do not make changes to this register after the initial programming.

This register you can read, write_with_zero, reset, write, modify. See API.

For information about available fields see otg_gusbcfg module

Trait Implementations

read() method returns otg_gusbcfg::R reader structure

Result from a call to read and argument to modify.

Raw register type (u8, u16, u32, …).

reset() method sets OTG_GUSBCFG to value 0x1400

Reset value of the register.

write(|w| ..) method takes otg_gusbcfg::W writer structure

Writer type argument to write, et al.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.