class io.SpiSignalDecoder

class SpiSignalDecoder {
    // fields

    uint8_t m_mosiChar;
    uint8_t m_misoChar;

    // methods

    void start(
        uint_t spiMode,
        bool isLittleEndian
    );

    io.SpiDecodeResult add(
        bool sclk,
        bool mosi,
        bool miso,
        bool ss
    );
};