THT_REG_RST_PRT
if (!tht_wait_set(sc, THT_REG_RST_PRT, THT_REG_RST_PRT_ACTIVE, 1000))
tht_swrst_set(sc, THT_REG_RST_PRT);
tht_swrst_clr(sc, THT_REG_RST_PRT);