Polling UART Driver
Implement a blocking transmit-byte routine for the memory-mapped UART.
Task
Use UART_DATA at base+0x0 and UART_STATUS at base+0x4. Wait while status bit 0 indicates busy, then write the byte.
Examples
- Implement the required behavior and preserve it under the stated interface/control conditions.
Constraints
- Keep the implementation deterministic and consistent with the interface contract described in the task.
Concepts to review
C, UART, polling
Open HDLForge to solve this problem in the interactive editor.
Related problems
- UART Baud Tick Generator — Easy
- UART TX Frame Shifter — Easy
- UART Transmit Controller — Medium
- UART RX Start-Bit Detector — Easy
- UART RX Data Shifter — Medium