Crate vcgencmd

Source
Expand description

§Bindings for the RaspberryPi’s vcgencmd cli utility

Structs§

ThrottledStatus
This struct represents the possible information in a bit-pattern you would get from the get_throttled command.

Enums§

ClockSrc
Cmd
ExecutionError
MemSrc
Src
VoltSrc

Functions§

exec_command
Execute the given command and capture its std_output without modifying it
get_mem
get_throttled
interpret_bit_pattern
Interprets a bit pattern obtained from get_throttled in the following way:
measure_clock
Measure the clock of the selected ClockSrc, returning the frequency as an isize
measure_temp
measure_volts