/* This function is used to config io function.  */
void tls_io_cfg_set(enum tls_io_name name, u8 option)
/* This function is used to config io function.  */
void tls_io_cfg_set(enum tls_io_name name, u8 option)
{
    if (WM_IO_OPTION1 == option)
        io_cfg_option1(name);
    else if (WM_IO_OPTION2 == option)
        io_cfg_option2(name);
    else if (WM_IO_OPTION3 == option)
        io_cfg_option3(name);
    else if (WM_IO_OPTION4 == option)
        io_cfg_option4(name);
    else if (WM_IO_OPTION5 == option)
        io_cfg_option5(name);
    else if (WM_IO_OPTION6 == option)
        io_cfg_option6(name);
	else if (WM_IO_OPTION7 == option)
		io_cfg_option7(name);
    else
        TLS_DBGPRT_IO_ERR("invalid io option.\r\n");
}