summaryrefslogtreecommitdiff
path: root/code/fe310/eos/spi.h
blob: 9ef374507d4270aff5eae6274761256d1b19df10 (plain)
1
2
3
4
5
6
7
8
#include <stdint.h>

#include "encoding.h"
#include "platform.h"

#include "spi_def.h"

#define SPI_IOF_MASK            (((uint32_t)1 << IOF_SPI1_SCK) | ((uint32_t)1 << IOF_SPI1_MOSI) | ((uint32_t)1 << IOF_SPI1_MISO))