Analog Comparator
4.2.1.6
ROM_ComparatorRefSet
Sets the internal reference voltage.
Prototype:
void
ROM_ComparatorRefSet(uint32_t ui32Base,
uint32_t ui32Ref)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_COMPARATORTABLE
is an array of pointers located at
ROM_APITABLE[6]
.
ROM_ComparatorRefSet
is a function pointer located at
ROM_COMPARATORTABLE[2]
.
Parameters:
ui32Base
is the base address of the comparator module.
ui32Ref
is the desired reference voltage.
Description:
This function sets the internal reference voltage value. The voltage is specified as one of the
following values:
COMP_REF_OFF
to turn off the reference voltage
COMP_REF_0V
to set the reference voltage to 0 V
COMP_REF_0_1375V
to set the reference voltage to 0.1375 V
COMP_REF_0_275V
to set the reference voltage to 0.275 V
COMP_REF_0_4125V
to set the reference voltage to 0.4125 V
COMP_REF_0_55V
to set the reference voltage to 0.55 V
COMP_REF_0_6875V
to set the reference voltage to 0.6875 V
COMP_REF_0_825V
to set the reference voltage to 0.825 V
COMP_REF_0_928125V
to set the reference voltage to 0.928125 V
COMP_REF_0_9625V
to set the reference voltage to 0.9625 V
COMP_REF_1_03125V
to set the reference voltage to 1.03125 V
COMP_REF_1_134375V
to set the reference voltage to 1.134375 V
COMP_REF_1_1V
to set the reference voltage to 1.1 V
COMP_REF_1_2375V
to set the reference voltage to 1.2375 V
COMP_REF_1_340625V
to set the reference voltage to 1.340625 V
COMP_REF_1_375V
to set the reference voltage to 1.375 V
COMP_REF_1_44375V
to set the reference voltage to 1.44375 V
COMP_REF_1_5125V
to set the reference voltage to 1.5125 V
COMP_REF_1_546875V
to set the reference voltage to 1.546875 V
COMP_REF_1_65V
to set the reference voltage to 1.65 V
COMP_REF_1_753125V
to set the reference voltage to 1.753125 V
COMP_REF_1_7875V
to set the reference voltage to 1.7875 V
COMP_REF_1_85625V
to set the reference voltage to 1.85625 V
COMP_REF_1_925V
to set the reference voltage to 1.925 V
COMP_REF_1_959375V
to set the reference voltage to 1.959375 V
COMP_REF_2_0625V
to set the reference voltage to 2.0625 V
COMP_REF_2_165625V
to set the reference voltage to 2.165625 V
April 8, 2013
33
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...