#[cfg(any(target_env = "v5", target_env = "exp", doc))]
use crate::{map_jump_table, V5_DeviceT};
#[repr(C)]
#[derive(Default, Copy, Clone, Eq, PartialEq, Debug)]
pub struct V5_DevicePneumaticCtrl {
pub flags: u16,
pub m1_pwm: u8,
pub m2_pwm: u8,
pub m3_pwm: u8,
pub m4_pwm: u8,
pub m1_time: u8,
pub m2_time: u8,
pub m3_time: u8,
pub m4_time: u8,
pub comp_pwm: u8,
}
#[cfg(any(target_env = "v5", target_env = "exp", doc))]
map_jump_table! {
0xc28 => pub fn vexDevicePneumaticActuationStatusGet(device: V5_DeviceT, ac1: *mut u16, ac2: *mut u16, ac3: *mut u16, ac4: *mut u16) -> u32,
0xc08 => pub fn vexDevicePneumaticCompressorSet(device: V5_DeviceT, bState: bool),
0xc10 => pub fn vexDevicePneumaticCtrlSet(device: V5_DeviceT, pCtrl: *mut V5_DevicePneumaticCtrl),
0xc20 => pub fn vexDevicePneumaticCylinderPwmSet(device: V5_DeviceT, id: u32, bState: bool, pwm: u8),
0xc0c => pub fn vexDevicePneumaticCylinderSet(device: V5_DeviceT, id: u32, bState: bool),
0xc1c => pub fn vexDevicePneumaticPwmGet(device: V5_DeviceT) -> u32,
0xc18 => pub fn vexDevicePneumaticPwmSet(device: V5_DeviceT, pwm: u8),
0xc14 => pub fn vexDevicePneumaticStatusGet(device: V5_DeviceT) -> u32,
}