logiUART

logiUART - What is the Timeout interrupt and how to use it
KBA-01073-G7VMVR
Question
What is the Timeout interrupt and how to use it?
Answer

When no characters are received for certain amount of time (value written in the timeout register), interrupt controller generates interrupt signals for CPU. Timeout value is given in a number of bit rate periods and represents a time between the last received character and timeout interrupt.

This interrupt is useful for some protocols. For example, if logiUART receives some characters, but not enough for water level interrupt, software can use timeout interrupt instead of rx_int or polling RX FIFO status register.

Additional Comments

Copyright © 2024 Xylon d.o.o.