Internal temperature sensor (ADC Channel 16)
Enable the internal temperature sense, this has a wake up time
tSTART which can be found in your micro's datasheet, you
must wait at least that long after enabling before taking a reading.
Remember to disable when not in use.
Disable the internal temperature sense.
Checks if the temperature sensor is enabled, does not account for the
tSTART time however.
Read the value of the internal temperature sensor and return the
result in 100ths of a degree centigrade.
Given a delay reference it will attempt to restrict to the
minimum delay needed to ensure a 10 us tSTART value.
Otherwise it will approximate the required delay using ADC reads.
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