Sfoglia il codice sorgente

Anther changed need to support CS on 45

Changed needed to support pin 45 on C3.5/6 as it is CS5 which encodes as 0x20...
teensy4-core
Kurt Eckhardt 7 anni fa
parent
commit
75686fe6ad
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      teensy3/kinetis.h

+ 1
- 1
teensy3/kinetis.h Vedi File

@@ -4366,7 +4366,7 @@ typedef struct {
#define SPI_MCR_FRZ ((uint32_t)0x08000000) //
#define SPI_MCR_MTFE ((uint32_t)0x04000000) //
#define SPI_MCR_ROOE ((uint32_t)0x01000000) //
#define SPI_MCR_PCSIS(n) (((n) & 0x1F) << 16) //
#define SPI_MCR_PCSIS(n) (((n) & 0x3F) << 16) //
#define SPI_MCR_DOZE ((uint32_t)0x00008000) //
#define SPI_MCR_MDIS ((uint32_t)0x00004000) //
#define SPI_MCR_DIS_TXF ((uint32_t)0x00002000) //

Loading…
Annulla
Salva