123
Fork of LG by
DeviceSSP.h@161:efd949e8d536, 2016-05-15 (annotated)
- Committer:
- Diletant
- Date:
- Sun May 15 19:12:12 2016 +0000
- Revision:
- 161:efd949e8d536
- Parent:
- 149:abbf7663d27d
- Child:
- 166:c3c0b8a90d81
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 | 161:efd949e8d536 | 5 | uint32_t out[5]; |
Diletant | 149:abbf7663d27d | 6 | uint32_t accumulator[5]; |
Diletant | 149:abbf7663d27d | 7 | uint8_t dataReady; |
Diletant | 161:efd949e8d536 | 8 | uint32_t in[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__ */ |