123
Fork of LG by
DeviceSSP.h@149:abbf7663d27d, 2016-05-03 (annotated)
- Committer:
- Diletant
- Date:
- Tue May 03 05:12:26 2016 +0000
- Revision:
- 149:abbf7663d27d
- Child:
- 161:efd949e8d536
Device & ... update. Not final!!!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Diletant | 149:abbf7663d27d | 1 | #ifndef __DEVICE_SSP_H__ |
Diletant | 149:abbf7663d27d | 2 | #define __DEVICE_SSP_H__ |
Diletant | 149:abbf7663d27d | 3 | |
Diletant | 149:abbf7663d27d | 4 | typedef struct _DeviceSSP { |
Diletant | 149:abbf7663d27d | 5 | uint32_t in[5]; |
Diletant | 149:abbf7663d27d | 6 | uint32_t accumulator[5]; |
Diletant | 149:abbf7663d27d | 7 | uint8_t dataReady; |
Diletant | 149:abbf7663d27d | 8 | uint32_t out[2]; |
Diletant | 149:abbf7663d27d | 9 | } DeviceSSP; |
Diletant | 149:abbf7663d27d | 10 | |
Diletant | 149:abbf7663d27d | 11 | void InitSSPWithDefaults(void); |
Diletant | 149:abbf7663d27d | 12 | void InitSSP(void); |
Diletant | 149:abbf7663d27d | 13 | void DeviceSSPReceive(void); |
Diletant | 149:abbf7663d27d | 14 | void DeviceSSPTransmit(uint8_t index); |
Diletant | 149:abbf7663d27d | 15 | |
Diletant | 149:abbf7663d27d | 16 | #endif /* __DEVICE_SSP_H__ */ |