Analog Comparator
4.2.1.4
ROM_ComparatorIntEnable
Enables the comparator interrupt.
Prototype:
void
ROM_ComparatorIntEnable(uint32_t ui32Base,
uint32_t ui32Comp)
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_ComparatorIntEnable
is a function pointer located at
ROM_COMPARATORTABLE[4]
.
Parameters:
ui32Base
is the base address of the comparator module.
ui32Comp
is the index of the comparator.
Description:
This function enables generation of an interrupt from the specified comparator. Only compara-
tors whose interrupts are enabled can be reflected to the processor.
Returns:
None.
4.2.1.5
ROM_ComparatorIntStatus
Gets the current interrupt status.
Prototype:
bool
ROM_ComparatorIntStatus(uint32_t ui32Base,
uint32_t ui32Comp,
bool bMasked)
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_ComparatorIntStatus
is a function pointer located at
ROM_COMPARATORTABLE[6]
.
Parameters:
ui32Base
is the base address of the comparator module.
ui32Comp
is the index of the comparator.
bMasked
is
false
if the raw interrupt status is required and
true
if the masked interrupt status
is required.
Description:
This returns the interrupt status for the comparator. Either the raw or the masked interrupt
status can be returned.
Returns:
true
if the interrupt is asserted and
false
if it is not asserted.
32
April 8, 2013
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...