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.
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
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...