xyz549040622:
1.在.lib库中有的
2.C:\ti\TivaWare_C_Series-2.1.4.178\driverlib下的uart.c中也是有原型的,原型函数如下所示:
//***************************************************************************** // //! Enables internal loopback mode for a UART port //! //! \param ui32Base is the base address of the UART port. //! //! This function configures a UART port in internal loopback mode to help with //! diagnostics and debug.In this mode, the transmit and receive terminals of //! the same UART port are internally connected.Hence, the data transmitted //! on the UnTx output is received on the UxRx input, without having to go //! through I/O's.UARTCharPut(), UARTCharGet() functions can be used along//! with this function. //! //! \return None. // //***************************************************************************** void UARTLoopbackEnable(uint32_t ui32Base) {//// Check the arguments.//ASSERT(_UARTBaseValid(ui32Base));//// Write the Loopback Enable bit to register.//HWREG(ui32Base + UART_O_CTL) |= UART_CTL_LBE; }3.楼主你的图片挂了,图片需要以附件方式上传,不能直接粘贴的。
Susan Yang:
谢谢楼上的回答
另外您也可以在 TI Resource Explorer 内查看
http://dev.ti.com/tirex/explore/node?node=AG7Ca9JTFbbddKCFBzVSOQ__mic1X5.__LATEST