1. 29 Aug, 2024 1 commit
    • robert-hh's avatar
      rp2/machine_uart: Implement a Python UART IRQ handler. · 01c046d2
      robert-hh authored
      Supported trigger names: IRQ_RXIDLE, IRQ_TXIDLE, IRQ_BREAK
      
      - IRQ_RXIDLE: The handler for IRQ_RXIDLE is called reliably 31 UART bit
        times after the last incoming data.
      
      - IRQ_TXIDLE: This IRQ is triggered after at least >5 characters are sent
        at once.  It is triggered when the TX FIFO falls below 4 elements.  At
        that time, up to 5 bytes may still be in the FIFO and output shift
        register.
      
      - IRQ_BREAK: The IRQ triggers if a BREAK state is detected at RX.
        Properties & side effects:
        - After a BREAK, a valid character must be received before another break
          can be detected.
        - Each break puts a 0xff character into the input buffer.
      
      The irq.flags() value is cleared only with a new wanted event.  Do not
      change the flags otherwise.
      Signed-off-by: default avatarrobert-hh <robert@hammelrath.com>
      01c046d2
  2. 28 Aug, 2024 14 commits
  3. 26 Aug, 2024 6 commits
  4. 22 Aug, 2024 4 commits
  5. 20 Aug, 2024 10 commits
  6. 19 Aug, 2024 4 commits
  7. 16 Aug, 2024 1 commit