UART_HAL_IsRxDataRegFull

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART_HAL_IsRxDataRegFull

ソリューションへジャンプ
651件の閲覧回数
audi_mcavoy
Contributor IV

Okay, I'll bite.

 

Using PE, if I add an fsl_debug_console component to my project, where do I find my UART's base address so I can use the UART_HAL_IsRxDataRegFull(uint32_t baseAddr) function in the inherited fsl_uart_hal component?

 

- Audi

ラベル(1)
0 件の賞賛
1 解決策
525件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Audi:

Two places I can think of:

1) Directly from the device header file. e.g for K64:

pastedImage_2.png

2) From the global array g_uartBaseAddr[], declared as extern in fsl_uart_driver.h, just provide the UART instance number as the array index (see this post):

pastedImage_12.png


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
526件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Audi:

Two places I can think of:

1) Directly from the device header file. e.g for K64:

pastedImage_2.png

2) From the global array g_uartBaseAddr[], declared as extern in fsl_uart_driver.h, just provide the UART instance number as the array index (see this post):

pastedImage_12.png


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
525件の閲覧回数
audi_mcavoy
Contributor IV

Hmm.  So what you're saying is -- it takes experience.

I'm searching through my project's generated code and folders looking for something (I don't even know what), when it's actually buried in the libraries.

Okay.  Experience gained.

Thanks for the reply!

- Audi

0 件の賞賛