[][src]Function mraa_sys::mraa_pin_mode_test

pub unsafe extern "C" fn mraa_pin_mode_test(
    pin: c_int,
    mode: mraa_pinmodes_t
) -> mraa_boolean_t

Checks if a pin is able to use the passed in mode.

@param pin Physical Pin to be checked. @param mode the mode to be tested. @return boolean if the mode is supported, 0=false.