comparison src/cs/drivers/drv_app/spi/spi_env.h @ 260:34b7059b9337

drv_app/spi/*: code readability fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 May 2021 02:13:47 +0000
parents 4e78acac3d88
children
comparison
equal deleted inserted replaced
259:365833d1d186 260:34b7059b9337
33 #define SPI_MB_PRIM_WATERMARK (SPI_MB_PRIM_SIZE - 56) 33 #define SPI_MB_PRIM_WATERMARK (SPI_MB_PRIM_SIZE - 56)
34 #define SPI_MB_PRIM_INC_SIZE 0 34 #define SPI_MB_PRIM_INC_SIZE 0
35 #define SPI_MB_PRIM_INC_WATERMARK 0 35 #define SPI_MB_PRIM_INC_WATERMARK 0
36 36
37 37
38
39 typedef struct SPI_GBL_INFO 38 typedef struct SPI_GBL_INFO
40 { 39 {
41 T_RVF_MB_ID prim_id; 40 T_RVF_MB_ID prim_id;
42 T_RVF_ADDR_ID addr_id; 41 T_RVF_ADDR_ID addr_id;
43 UINT16 adc_result[MADC_NUMBER_OF_MEAS]; 42 UINT16 adc_result[MADC_NUMBER_OF_MEAS];
67 T_RVM_RETURN spi_stop (void); 66 T_RVM_RETURN spi_stop (void);
68 67
69 T_RVM_RETURN spi_kill (void); 68 T_RVM_RETURN spi_kill (void);
70 69
71 #endif /*__SPI_ENV_H_*/ 70 #endif /*__SPI_ENV_H_*/
72