MG32F10x Standard Peripherals Firmware Library
drv_max1617a.h
1 /* Define to prevent recursive inclusion -------------------------------------*/
2 #ifndef __DRV_MAX1617A_H
3 #define __DRV_MAX1617A_H
4 
5 /* Includes ------------------------------------------------------------------*/
6 #include "mg32f10x.h"
7 
8 /* Exported types ------------------------------------------------------------*/
9 /* Exported constants --------------------------------------------------------*/
10 /* Exported macro ------------------------------------------------------------*/
11 /* Exported functions --------------------------------------------------------*/
12 
13 void max1617a_init(void);
14 uint32_t max1617a_smbus_read_byte(uint8_t command, uint8_t* pdata);
15 uint32_t max1617a_smbus_write_byte(uint8_t command, uint8_t data);
16 uint32_t max1617a_smbus_alert_response_address(uint8_t* pdata);
17 
18 #endif /* __DRV_MAX1617A_H */