opentitanlib::test_utils::bitbanging

Module uart

Source

Structs§

  • UART frame configuration to use for UART bitbanging. Assumes LSB first.
  • A decoder for decoding UART samples. RX is the bit in the input sample bitfield to use for RX transmissions.
  • An encoder for creating UART bitbanging samples for transmission. TX is the bit in the output sample bitfield to use for TX transmissions.

Enums§

Functions§

  • Count the number of 1s in the data (& an optional parity bit). Return true if there is an even number of 1s, and false otherwise.