Uart

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

Uart

1,150件の閲覧回数
netra
Contributor IV

Can anyone provide me sample code to use  cts and rts in internal uart of mcf52259Cag80 controller??

Thanks in advance

1 返信

937件の閲覧回数
Martin_
NXP Employee
NXP Employee

The UART module can use RTS and CTS automatically. You just enable the functionality. Example for this is given in MQX:

_bsp_serial_io_init() function in gpio_init.c to enable pin functions.

_mcf52xx_uart_serial_polled_ioctl(), case IO_IOCTL_SERIAL_SET_FLAGS, to enable transmitter CTS checking and receiver RTS assertion/deassertion.