FRDM-K64F UART Control Problems...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FRDM-K64F UART Control Problems...

1,041 次查看
leocaporalini
Contributor I

Currently I am using the FRDM-K64F board with kds and KSDK and I need to use a serial port.
I can transmit and receive data, but when I want to control, I can't find the necessary functions:
1- I need to know how many bytes were received at a reception in the data block (UART_DRV_ReceiveData function) and
2- I need to know how many bytes are available in the receive buffer before reading data block from the reception buffer.


Thanks in advance


LeoCaporalini

标签 (1)
0 项奖励
回复
1 回复

651 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Leocaporatini,

You can refer to the Kinetis SDK API Reference Manual  "C:\Freescale\KSDK_1.0.0\doc"  about  "25.2.3.9  uart_status_t UART_DRV_ReceiveData() "

the "rxSize" is the number of bytes of receive .

Hope it hepls

Alice