28 static void SPI1_ISR(
void) __attribute__((naked));
30 #define PINSEL1_SCK (2 << 2)
31 #define PINSEL1_MOSI (2 << 6)
32 #define PINSEL1_SSEL (2 << 8)
35 #define SSP_DSS 0x07 << 0
36 #define SSP_FRF 0x00 << 4
37 #define SSP_CPOL 0x01 << 6
38 #define SSP_CPHA 0x01 << 7
39 #define SSP_SCR 0x1F << 8
42 #define SSP_LBM 0x00 << 0
43 #define SSP_SSE 0x00 << 1
44 #define SSP_MS 0x00 << 2
45 #define SSP_SOD 0x00 << 3
48 #define SSPCPSR_VAL 0x04
51 #warning "This driver should be updated to use the new SPI peripheral"
54 #define SPI1_VIC_SLOT 7
static void SpiClearRti(struct spi_periph *p)
static void SpiEnableRti(struct spi_periph *p)
void lcd_dogm_init_hw(void)
void lcd_spi_tx(uint8_t data)
#define lcddogmUnselect()
static void SpiDisableRti(struct spi_periph *p)
static void SPI1_ISR(void)