Example: Receive Data using the Polling Method - Example: Receive Data using the Polling Method - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document_ID
UG585
Release_Date
2026-02-06
Version
1.15 English
  1. Wait until the RxFIFO is filled up to the trigger level. Check to see if uart.Channel_sts_reg0[RTRIG] = 1 or uart.Chnl_int_sts_reg0 [TIMEOUT] = 1.
  2. Read data from the RxFIFO. Read data from the uart.TX_RX_FIFO0 register.
  3. Repeat step 2 until FIFO is empty. Check that uart.Channel_sts_reg0 [REMPTY] = 1.
  4. Clear if RX timeout interrupt status bit is set. Write 1 to Chnl_int_sts_reg0 [TIMEOUT].