We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b728198 commit fad0506Copy full SHA for fad0506
src/peripherals/spi.ts
@@ -10,10 +10,10 @@ export interface SPIConfig {
10
}
11
12
// Register bits:
13
-const SPCR_SPIE = 0x80; // SPI Interrupt Enable
+const SPCR_SPIE = 0x80; // SPI Interrupt Enable
14
const SPCR_SPE = 0x40; // SPI Enable
15
const SPCR_DORD = 0x20; // Data Order
16
-const SPCR_MSTR = 0x10; // Master/Slave Select
+const SPCR_MSTR = 0x10; // Master/Slave Select
17
const SPCR_CPOL = 0x8; // Clock Polarity
18
const SPCR_CPHA = 0x4; // Clock Phase
19
const SPCR_SPR1 = 0x2; // SPI Clock Rate Select 1
0 commit comments