Explain how you would implement a circular buffer for a high-speed UART driver in an embedded system at 10x Genomics.