pub fn set_dio_function_cmd(
dio_num: DioNum,
dio_func: DioFunc,
pull_drive: PullDrive,
) -> [u8; 4]Expand description
Configure the functionality of the freely configurable DIOs, as well as the pull-up/down configuration for sleep modes. On DIO5, only DIO_SLEEP_PULL_UP is accepted. DIO5/6 have pull-up by default