firmware  v0.1.2
Chromation Spectrometer Dev-Kit
VisCmd-ReplyCommandInvalid.h
1 #ifndef _VISCMD_H
2 #define _VISCMD_H
3 #include "StatusCode.h"
4 #include "SpiSlave.h"
5 
6 #ifdef USE_FAKES
7 #define SpiSlaveTxByte SpiSlaveTxByte_fake
8 #endif
9 inline void ReplyCommandInvalid(void)
10 {
15  SpiSlaveTxByte(INVALID_CMD);
16 }
17 #ifdef USE_FAKES
18 #undef SpiSlaveTxByte
19 #endif
20 
21 #endif
void SpiSlaveTxByte(uint8_t input_byte)
Definition: SpiSlave.h:150
See cfg/microspec.json in the Python API repository.