75 float high_level,
float low_level,
76 float hysteresis_level,
77 void (*callback)(uint8_t type)
driver amg8833 interrupt header file
amg8833_address_t
amg8833 address enumeration definition
uint8_t amg8833_set_interrupt(amg8833_handle_t *handle, amg8833_bool_t enable)
enable or disable the interrupt
struct amg8833_handle_s amg8833_handle_t
amg8833 handle structure definition
uint8_t amg8833_set_addr_pin(amg8833_handle_t *handle, amg8833_address_t addr_pin)
set the iic address pin
uint8_t amg8833_get_interrupt_table(amg8833_handle_t *handle, uint8_t table[8][1])
get the interrupt table
uint8_t amg8833_deinit(amg8833_handle_t *handle)
close the chip
uint8_t amg8833_reset(amg8833_handle_t *handle, amg8833_reset_type_t type)
reset the chip
uint8_t amg8833_set_interrupt_low_level(amg8833_handle_t *handle, int16_t level)
set the interrupt low level
uint8_t amg8833_set_interrupt_mode(amg8833_handle_t *handle, amg8833_interrupt_mode_t mode)
set the interrupt mode
uint8_t amg8833_read_temperature_array(amg8833_handle_t *handle, int16_t raw[8][8], float temp[8][8])
read the temperature array
uint8_t amg8833_set_mode(amg8833_handle_t *handle, amg8833_mode_t mode)
set the mode
amg8833_interrupt_mode_t
amg8833 interrupt mode enumeration definition
uint8_t amg8833_set_average_mode(amg8833_handle_t *handle, amg8833_average_mode_t mode)
set the average_mode
uint8_t amg8833_set_interrupt_high_level(amg8833_handle_t *handle, int16_t level)
set the interrupt high level
uint8_t amg8833_read_temperature(amg8833_handle_t *handle, int16_t *raw, float *temp)
read the temperature
uint8_t amg8833_irq_handler(amg8833_handle_t *handle)
irq handler
uint8_t amg8833_set_frame_rate(amg8833_handle_t *handle, amg8833_frame_rate_t rate)
set the frame rate
uint8_t amg8833_interrupt_level_convert_to_register(amg8833_handle_t *handle, float temp, int16_t *reg)
convert the interrupt level to the register raw data
uint8_t amg8833_set_interrupt_hysteresis_level(amg8833_handle_t *handle, int16_t level)
set the interrupt hysteresis level
uint8_t amg8833_init(amg8833_handle_t *handle)
initialize the chip
@ AMG8833_RESET_TYPE_FLAG
uint8_t amg8833_interrupt_get_table(uint8_t table[8][1])
interrupt example get interrupt table
uint8_t amg8833_interrupt_irq_handler(void)
interrupt irq callback
uint8_t amg8833_interrupt_read_temperature(float *temp)
interrupt example read temperature
uint8_t amg8833_interrupt_init(amg8833_address_t addr_pin, amg8833_interrupt_mode_t mode, float high_level, float low_level, float hysteresis_level, void(*callback)(uint8_t type))
interrupt example init
#define AMG8833_INTERRUPT_DEFAULT_AVERAGE_MODE
uint8_t amg8833_interrupt_deinit(void)
interrupt example deinit
#define AMG8833_INTERRUPT_DEFAULT_FRAME_RATE
amg8833 interrupt example default definition
uint8_t amg8833_interrupt_read_temperature_array(float temp[8][8])
interrupt example read temperature array
uint8_t amg8833_interface_iic_deinit(void)
interface iic bus deinit
void amg8833_interface_delay_ms(uint32_t ms)
interface delay ms
uint8_t amg8833_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus write
void amg8833_interface_debug_print(const char *const fmt,...)
interface print format data
uint8_t amg8833_interface_iic_init(void)
interface iic bus init
uint8_t amg8833_interface_iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
interface iic bus read
#define DRIVER_AMG8833_LINK_IIC_READ(HANDLE, FUC)
link iic_read function
#define DRIVER_AMG8833_LINK_IIC_WRITE(HANDLE, FUC)
link iic_write function
#define DRIVER_AMG8833_LINK_IIC_INIT(HANDLE, FUC)
link iic_init function
#define DRIVER_AMG8833_LINK_INIT(HANDLE, STRUCTURE)
initialize amg8833_handle_t structure
#define DRIVER_AMG8833_LINK_RECEIVE_CALLBACK(HANDLE, FUC)
link receive_callback function
#define DRIVER_AMG8833_LINK_IIC_DEINIT(HANDLE, FUC)
link iic_deinit function
#define DRIVER_AMG8833_LINK_DELAY_MS(HANDLE, FUC)
link delay_ms function
#define DRIVER_AMG8833_LINK_DEBUG_PRINT(HANDLE, FUC)
link debug_print function