EasyManuals Logo

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #199 background imageLoading...
Page #199 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals