System Control
Prototype:
uint32_t
ROM_SysCtlADCSpeedGet(void)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_SYSCTLTABLE is an array of pointers located at ROM_APITABLE[13].
ROM_SysCtlADCSpeedGet is a function pointer located at ROM_SYSCTLTABLE[28].
Description:
This function gets the current sample rate of the ADC.
Returns:
Returns the current ADC sample rate; is one of SYSCTL_ADCSPEED_1MSPS,
SYSCTL_ADCSPEED_500KSPS, SYSCTL_ADCSPEED_250KSPS, or
SYSCTL_ADCSPEED_125KSPS.
18.2.1.2 ROM_SysCtlADCSpeedSet
Sets the sample rate of the ADC.
Prototype:
void
ROM_SysCtlADCSpeedSet(uint32_t ui32Speed)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_SYSCTLTABLE is an array of pointers located at ROM_APITABLE[13].
ROM_SysCtlADCSpeedSet is a function pointer located at ROM_SYSCTLTABLE[27].
Parameters:
ui32Speed is the desired sample rate of the ADC; must be one
of SYSCTL_ADCSPEED_1MSPS, SYSCTL_ADCSPEED_500KSPS,
SYSCTL_ADCSPEED_250KSPS, or SYSCTL_ADCSPEED_125KSPS.
Description:
This function sets the rate at which the ADC samples are captured by the ADC block. The
sampling speed may be limited by the hardware, so the sample rate may end up being slower
than requested. ROM_SysCtlADCSpeedGet() will return the actual speed in use.
Returns:
None.
18.2.1.3 ROM_SysCtlClockGet
Gets the processor clock rate.
Prototype:
uint32_t
ROM_SysCtlClockGet(void)
April 8, 2013 199