![]() |
firmware
v0.1.2
Chromation Spectrometer Dev-Kit
|
Go to the source code of this file.
Functions | |
| void | _SignalDataReady (void) |
| void | _SignalDataNotReady (void) |
| void | DisableSpiInterrupt (void) |
| void | EnableSpiInterrupt (void) |
| void | SpiSlaveInit (void) |
| void | SpiSlaveTxByte (uint8_t input_byte) |
| void | SpiSlaveTx (uint8_t const *input_buffer, uint16_t nbytes) |
void DisableSpiInterrupt(void);
void EnableSpiInterrupt(void);
void SpiSlaveInit(void);
void SpiSlaveTxByte(uint8_t input_byte);
void SpiSlaveTx(uint8_t const *input_buffer, uint16_t nbytes);
Definition in file SpiSlave.h.
|
inline |
Drive Data Ready HIGH.
Definition at line 31 of file SpiSlave.h.
|
inline |
_SignalDataReady behavior:
SPI Slave outputs signal Data Ready.
Definition at line 14 of file SpiSlave.h.
|
inline |
Clear SPIE bit in SPCR to disable the SPI ISR.
DisableSpiInterrupt behavior:
Note:
SPIF in register SPSR is still set when a serial transfer completes._SpiTransferIsDone()SPIF manually by calling ClearSpiInterruptFlag()Definition at line 48 of file SpiSlave.h.
|
inline |
EnableSpiInterrupt behavior:
Set SPIE bit in SPCR to execute the SPI ISR when:
Definition at line 77 of file SpiSlave.h.
|
inline |
SpiSlaveInit behavior:
Definition at line 118 of file SpiSlave.h.
|
inline |
SpiSlaveTx behavior:
Definition at line 202 of file SpiSlave.h.
|
inline |
Transmit a byte and ignore byte received.
SpiSlaveTxByte behavior:
Definition at line 150 of file SpiSlave.h.