123456789101112131415161718192021 |
- #ifndef _CONFIG_H
- #define _CONFIG_H
- #define ADC_CHAN_MSK 0b0000001001011111
- #define ADC_CHAN_CNT 7
- #define ADC_OVRSAMPL 16
- #define ADC_CALLBACK adc_ready
- #define SM4_DEFDELAY 500
- #define TMC2130_SPI_RATE 0
- #define TMC2130_SPCR SPI_SPCR(TMC2130_SPI_RATE, 1, 1, 1, 0)
- #define TMC2130_SPSR SPI_SPSR(TMC2130_SPI_RATE)
- #endif
|