pub struct W(_);
Expand description

Register FLASH_SUS_CMD writer

Implementations§

Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable.

Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable.

Bit 2 - Set this bit to add delay time after program erase resume(PER) is sent.

Bit 3 - Set this bit to add delay time after program erase suspend(PES) command is sent.

Bit 4 - Set this bit to enable PES transfer trigger PES transfer option.

Bit 5 - 1: Separate PER flash wait idle and PES flash wait idle. 0: Not separate.

Writes raw bits to the register.

Methods from Deref<Target = W<FLASH_SUS_CMD_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

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.