Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
0cf0aa44aThis file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef HAL_DRIVER_H_
#define HAL_DRIVER_H_
#include <stdint.h>
int spi_init(void);
int spi_tx_frame(uint8_t* param);
int spi_rx_frame(uint8_t cmd, uint8_t* param, uint32_t len);
int spi_rd_buffer(uint16_t row, uint16_t col, uint32_t len);
int spi_wr_buffer(uint16_t col, uint16_t row, uint8_t* pBuf, uint32_t len);
float get_temperature_sensor_data(void);
#endif