Struct drv2605::Control4Reg[]

pub struct Control4Reg(pub u8);

Methods

impl Control4Reg

This bit sets the length of the auto calibration time. The AUTO_CAL_TIME[1:0] bit should be enough time for the motor acceleration to settle when driven at the RATED_VOLTAGE[7:0] value. 0: 150 ms (minimum), 350 ms (maximum) 1: 250 ms (minimum), 450 ms (maximum) 2: 500 ms (minimum), 700 ms (maximum) 3: 1000 ms (minimum), 1200 ms (maximum)

This bit sets the length of the auto calibration time. The AUTO_CAL_TIME[1:0] bit should be enough time for the motor acceleration to settle when driven at the RATED_VOLTAGE[7:0] value. 0: 150 ms (minimum), 350 ms (maximum) 1: 250 ms (minimum), 450 ms (maximum) 2: 500 ms (minimum), 700 ms (maximum) 3: 1000 ms (minimum), 1200 ms (maximum)

OTP Memory status 0: OTP Memory has not been programmed 1: OTP Memory has been programmed

OTP Memory status 0: OTP Memory has not been programmed 1: OTP Memory has been programmed

This bit launches the programming process for one-time programmable (OTP) memory which programs the contents of register 0x16 through 0x1A into nonvolatile memory. This process can only be executed one time per device. See the Programming On-Chip OTP Memory section for details.

This bit launches the programming process for one-time programmable (OTP) memory which programs the contents of register 0x16 through 0x1A into nonvolatile memory. This process can only be executed one time per device. See the Programming On-Chip OTP Memory section for details.

Trait Implementations

impl<T> BitRange<T> for Control4Reg where
    u8: BitRange<T>, 

Get a range of bits.

Set a range of bits.

impl Debug for Control4Reg

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Control4Reg

impl Sync for Control4Reg