/* param base VREF peripheral address. return 6-bit value of trim setting.  */
uint8_t VREF_GetVrefTrimVal(VREF_Type *base)
/* param base VREF peripheral address. return 6-bit value of trim setting.  */
uint8_t VREF_GetVrefTrimVal(VREF_Type *base)
{
    uint8_t trimValue;
    trimValue = (uint8_t)((base->UTRIM & VREF_UTRIM_VREFTRIM_MASK) >> VREF_UTRIM_VREFTRIM_SHIFT);
    return trimValue;
}