Hospital Analyser  1.0
PI4MSD5V9540.h
1 #ifndef __PI4MSD5V9540_H
2 #define __PI4MSD5V9540_H
3 
4 //#include "stm32l4xx_hal_i2c.h"
5 #include "stm32l4xx_hal.h"
6 
11 typedef enum
12 {
15  PI4MSD5V9540_NoChannel = 0b00000110,
26 typedef enum
27 {
28  PI4MSD5V9540_Status_OK = 1,
29  PI4MSD5V9540_Status_Error = 2
30 }PI4MSD5V9540_StatusTypeDef;
35 #define PI4MSD5V9540_I2C_ADDRESS (0b11100000)
36 #define PI4MSD5V9540_I2C_TIMEOUT (3200U)
38 PI4MSD5V9540_Channel_ModeTypeDef PI4MSD5V9540_GetChannelMode(I2C_HandleTypeDef *hi2c);
39 PI4MSD5V9540_StatusTypeDef PI4MSD5V9540_SetChannelMode(I2C_HandleTypeDef *hi2c, PI4MSD5V9540_Channel_ModeTypeDef mode);
40 
41 
42 #endif /* __PI4MSD5V9540_H */
PI4MSD5V9540_Channel_ModeTypeDef
Definition: PI4MSD5V9540.h:11
Definition: PI4MSD5V9540.h:16
Definition: PI4MSD5V9540.h:13
Definition: PI4MSD5V9540.h:14
Definition: PI4MSD5V9540.h:15