Battery reference voltage (ADC Channel 18)
Enable the internal VBat sense, remember to disable when not in use
as otherwise it will sap current from the VBat source.
Disable the internal VBat sense.
Returns if the internal VBat sense is enabled
Reads the value of VBat in milli-volts
type ID = u8
Get the specific ID that identifies this channel, for example 0_u8
for the first ADC channel, if Self::ID is u8. Read more
Formats the value using the given formatter. Read more
Returns the "default value" for a type. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static