Function vex_rt::smart_port::smart_port_type
source · pub unsafe fn smart_port_type(port: u8) -> DeviceType
Expand description
Checks the type of device currently connected to a smart port.
Safety
This is unsafe because it may be unsequenced relative to operations on the
smart port. Prefer SmartPort::plugged_type()
instead.