/* colreset the 7816 device obey the 7816-3 timing  */
void wm_sc_colreset(void)
/* colreset the 7816 device obey the 7816-3 timing  */
void wm_sc_colreset(void)
{
	wm_sc_poweroff();
	wm_sc_io_clk_config(1);
	tls_gpio_write(sc_io.clk_pin_num, 0);
	tls_gpio_write(sc_io.io_pin_num, 0);
	wm_sc_rst_low();
	wm_sc_poweron();
	wm_sc_7816_mode(1);
	wm_sc_io_clk_config(0);
	wm_sc_set_frequency(5000000);
	wm_sc_set_etu(WM_SC_DEFAULT_FD);
	wm_sc_rst_high();
}