有没有大佬推荐一下嵌入式软件设计相关的书籍,比如设计模式啥的,国内国外都行。
例如我写的 Driver 是否应该采用这种结构
[C] 纯文本查看 复制代码 typedef struct sht30
{
uint16_t temp_raw;
uint8_t temp_crc;
uint16_t hum_raw;
uint8_t hum_crc;
float temp;
float hum;
(void*) ReadData(struct SHT30 sht30);
} SHT30_TypeDef;
|