vex_sdk/battery.rs
//! V5 Smart Battery
#[cfg(any(target_env = "v5", target_env = "exp", doc))]
use core::ffi::c_double;
#[cfg(any(target_env = "v5", target_env = "exp", doc))]
use crate::map_jump_table;
#[cfg(any(target_env = "v5", target_env = "exp", doc))]
map_jump_table! {
0xa00 => pub fn vexBatteryVoltageGet() -> i32,
0xa04 => pub fn vexBatteryCurrentGet() -> i32,
0xa08 => pub fn vexBatteryTemperatureGet() -> c_double,
0xa0c => pub fn vexBatteryCapacityGet() -> c_double,
}