UART
22.2.1.12 ROM_UARTClockSourceGet
Gets the baud clock source for the specified UART.
Prototype:
uint32_t
ROM_UARTClockSourceGet(uint32_t ui32Base)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_UARTTABLE
is an array of pointers located at
ROM_APITABLE[1]
.
ROM_UARTClockSourceGet
is a function pointer located at
ROM_UARTTABLE[32]
.
Parameters:
ui32Base
is the base address of the UART port.
Description:
This function returns the baud clock source for the specified UART. The possible baud clock
source are the system clock (
UART_CLOCK_SYSTEM
) or the precision internal oscillator
(
UART_CLOCK_PIOSC
).
Returns:
None.
22.2.1.13 ROM_UARTClockSourceSet
Sets the baud clock source for the specified UART.
Prototype:
void
ROM_UARTClockSourceSet(uint32_t ui32Base,
uint32_t ui32Source)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_UARTTABLE
is an array of pointers located at
ROM_APITABLE[1]
.
ROM_UARTClockSourceSet
is a function pointer located at
ROM_UARTTABLE[31]
.
Parameters:
ui32Base
is the base address of the UART port.
ui32Source
is the baud clock source for the UART.
Description:
This function allows the baud clock source for the UART to be selected. The possible clock
source are the system clock (
UART_CLOCK_SYSTEM
) or the precision internal oscillator
(
UART_CLOCK_PIOSC
).
Changing the baud clock source will change the baud rate generated by the UART. Therefore,
the baud rate should be reconfigured after any change to the baud clock source.
Returns:
None.
256
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...