Setting the IFLS.RXCLR and IFLS.TXCLR
register bits clears the contents of each of the respective FIFOs. Follow the below
sequence:
- Write a 1 to the RXCLR or TXCLR bit in the IFLS peripheral-specific
register.
- Wait until the RXCLR or TXCLR status bit in the STAT register is set to 1.
- Write a 0 to the RXCLR or TXCLR bit in the IFLS peripheral-specific
register.
Note: Performing the above clear sequence before changing the FIFO level configuration in
the RXIFSEL or TXIFSEL fields is recommended.
Note: Avoid performing step 1 repeatedly before full sequence is complete.