25#include <interfaces/arch_registers.h>
74 DIV_16 = SPI_CR1_BR_1 | SPI_CR1_BR_0,
76 DIV_64 = SPI_CR1_BR_2 | SPI_CR1_BR_0,
77 DIV_128 = SPI_CR1_BR_2 | SPI_CR1_BR_1,
90 MODE_3 = SPI_CR1_CPOL | SPI_CR1_CPHA
@ MODE_0
CPOL = 0, CPHA = 0 -> Clock low when idle, sample on first edge.
@ MODE_2
CPOL = 1, CPHA = 1 -> Clock high when idle, sample on second edge.
@ MODE_1
CPOL = 1, CPHA = 0 -> Clock high when idle, sample on first edge.
ClockDivider
SPI Clock divider.
@ DISABLED
Do not set write bit in any way.
@ NORMAL
Normal write bit settings (0 for write, 1 for reads)
@ INVERTED
Inverted write bit settings (1 for write, 0 for reads)
This file includes all the types the logdecoder script will decode.