Function rc_pinmux_set#
Defined in File pinmux.h
Function Documentation#
-
int rc_pinmux_set(int pin, rc_pinmux_mode_t mode)#
sets once of the pins defined in this header to a particular mode
- Parameters:
pin – [in] The pin
mode – [in] The mode
- Returns:
0 on success, -1 on failure