softspim: allow phase mode 2 (safe phase)
This commit is contained in:
parent
50d233fdf7
commit
36cc688479
2 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ class SpiMaster
|
|||
private:
|
||||
|
||||
static constexpr uint8_t CLOCK_POLARITY = 0;
|
||||
static constexpr uint8_t CLOCK_PHASE = 0;
|
||||
static constexpr uint8_t CLOCK_PHASE = 2;
|
||||
static constexpr uint8_t BIT_ORDER = 1;
|
||||
|
||||
volatile uint8_t * const _port = &PORTB;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue