/* Change Logs: Date Author Notes  勤为本 first version   */
void reg_set_one_bit(volatile unsigned int *reg, unsigned int bit)
/* Change Logs: Date Author Notes  勤为本 first version   */
void reg_set_one_bit(volatile unsigned int *reg, unsigned int bit)
{
    unsigned int temp, mask;
    mask = 1 << bit;
    temp = *reg;
    temp |= mask;
    *reg = temp;
    return ;
}