defined REF_VOLTAGE magic number