Loading...
Searching...
No Matches

Internal addresses, registers and constants. More...

Detailed Description

Internal addresses, registers and constants.

Author
Bas Stottelaar basst.nosp@m.otte.nosp@m.laar@.nosp@m.gmai.nosp@m.l.com

Definition in file amg88xx_constants.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define AMG88XX_I2C_ADDRESS   (0x69)
 AMG88xx chip addresses.
 

AMG88xx device registers.

#define AMG88XX_REG_PCTL   (0x00)
 Power control register.
 
#define AMG88XX_REG_RST   (0x01)
 Reset register.
 
#define AMG88XX_REG_FPSC   (0x02)
 Frame rate register.
 
#define AMG88XX_REG_INTC   (0x03)
 Interrupt control register.
 
#define AMG88XX_REG_STAT   (0x04)
 Status register.
 
#define AMG88XX_REG_SCLR   (0x05)
 Status clear register.
 
#define AMG88XX_REG_AVE   (0x07)
 Average register.
 
#define AMG88XX_REG_INTHL   (0x08)
 Interrupt upper level low byte.
 
#define AMG88XX_REG_INTHH   (0x09)
 Interrupt upper level high byte.
 
#define AMG88XX_REG_INTLL   (0x0A)
 Interrupt lower level low byte.
 
#define AMG88XX_REG_INTLH   (0x0B)
 Interrupt lower level high byte.
 
#define AMG88XX_REG_INYSL   (0x0C)
 Interrupt hysteresis low byte.
 
#define AMG88XX_REG_INYSH   (0x0D)
 Interrupt hysteresis high byte.
 
#define AMG88XX_REG_TTHL   (0x0E)
 Thermistor temperature low byte.
 
#define AMG88XX_REG_TTHH   (0x0F)
 Thermistor temperature high byte.
 
#define AMG88XX_REG_INT0   (0x10)
 Interrupt table byte 0 (pixels 0-7)
 
#define AMG88XX_REG_INT1   (0x11)
 Interrupt table byte 1 (pixels 8-15)
 
#define AMG88XX_REG_INT2   (0x12)
 Interrupt table byte 2 (pixels 16-23)
 
#define AMG88XX_REG_INT3   (0x13)
 Interrupt table byte 3 (pixels 24-31)
 
#define AMG88XX_REG_INT4   (0x14)
 Interrupt table byte 4 (pixels 32-39)
 
#define AMG88XX_REG_INT5   (0x15)
 Interrupt table byte 5 (pixels 40-47)
 
#define AMG88XX_REG_INT6   (0x16)
 Interrupt table byte 6 (pixels 48-55)
 
#define AMG88XX_REG_INT7   (0x17)
 Interrupt table byte 7 (pixels 56-63)
 
#define AMG88XX_REG_T01L   (0x80)
 Pixel 0 temperature low byte (start of pixel data)
 

Power control register values

#define AMG88XX_PCTL_NORMAL_MODE   (0x00)
 Normal operating mode.
 
#define AMG88XX_PCTL_SLEEP_MODE   (0x10)
 Sleep mode.
 
#define AMG88XX_PCTL_STANDBY_MODE_60S   (0x20)
 Standby with 60s intermittence.
 
#define AMG88XX_PCTL_STANDBY_MODE_10S   (0x21)
 Standby with 10s intermittence.
 

Reset register values

#define AMG88XX_RST_FLAG_RESET   (0x30)
 Flag reset (clear status/interrupt flags)
 
#define AMG88XX_RST_INITIAL_RESET   (0x3F)
 Initial reset (return to defaults)
 

Frame rate register values

#define AMG88XX_FPSC_FPS   (0x01)
 Frame rate 1 FPS bit.
 

Interrupt control register bit masks

#define AMG88XX_INTC_INTEN   (0x00)
 Interrupt control: interrupt disabled.
 
#define AMG88XX_INTC_INTMOD   (0x01)
 Interrupt control: difference mode.
 
#define AMG88XX_INTC_INTEN_BIT   (0x01)
 Interrupt enable bit.
 
#define AMG88XX_INTC_INTMOD_BIT   (0x02)
 Interrupt mode bit (0=difference, 1=absolute)
 

Status register bit masks

#define AMG88XX_STAT_INTF   (0x02)
 Interrupt occurrence flag.
 
#define AMG88XX_STAT_OVF_THS   (0x04)
 Thermistor temperature overflow flag.
 
#define AMG88XX_STAT_OVF_IRS   (0x08)
 Pixel temperature overflow flag.
 

Status clear register bit masks

#define AMG88XX_SCLR_INT_CLR   (0x02)
 Clear interrupt flag.
 
#define AMG88XX_SCLR_OVS_CLR   (0x04)
 Clear thermistor overflow flag.
 
#define AMG88XX_SCLR_OVT_CLR   (0x08)
 Clear pixel overflow flag.
 

Average register bit masks

#define AMG88XX_AVE_MAMOD_BIT   (0x20)
 Twice moving average mode enable bit.
 

Macro Definition Documentation

◆ AMG88XX_AVE_MAMOD_BIT

#define AMG88XX_AVE_MAMOD_BIT   (0x20)

Twice moving average mode enable bit.

Definition at line 114 of file amg88xx_constants.h.

◆ AMG88XX_FPSC_FPS

#define AMG88XX_FPSC_FPS   (0x01)

Frame rate 1 FPS bit.

Definition at line 79 of file amg88xx_constants.h.

◆ AMG88XX_I2C_ADDRESS

#define AMG88XX_I2C_ADDRESS   (0x69)

AMG88xx chip addresses.

Default I2C address

Definition at line 25 of file amg88xx_constants.h.

◆ AMG88XX_INTC_INTEN

#define AMG88XX_INTC_INTEN   (0x00)

Interrupt control: interrupt disabled.

Definition at line 86 of file amg88xx_constants.h.

◆ AMG88XX_INTC_INTEN_BIT

#define AMG88XX_INTC_INTEN_BIT   (0x01)

Interrupt enable bit.

Definition at line 88 of file amg88xx_constants.h.

◆ AMG88XX_INTC_INTMOD

#define AMG88XX_INTC_INTMOD   (0x01)

Interrupt control: difference mode.

Definition at line 87 of file amg88xx_constants.h.

◆ AMG88XX_INTC_INTMOD_BIT

#define AMG88XX_INTC_INTMOD_BIT   (0x02)

Interrupt mode bit (0=difference, 1=absolute)

Definition at line 89 of file amg88xx_constants.h.

◆ AMG88XX_PCTL_NORMAL_MODE

#define AMG88XX_PCTL_NORMAL_MODE   (0x00)

Normal operating mode.

Definition at line 61 of file amg88xx_constants.h.

◆ AMG88XX_PCTL_SLEEP_MODE

#define AMG88XX_PCTL_SLEEP_MODE   (0x10)

Sleep mode.

Definition at line 62 of file amg88xx_constants.h.

◆ AMG88XX_PCTL_STANDBY_MODE_10S

#define AMG88XX_PCTL_STANDBY_MODE_10S   (0x21)

Standby with 10s intermittence.

Definition at line 64 of file amg88xx_constants.h.

◆ AMG88XX_PCTL_STANDBY_MODE_60S

#define AMG88XX_PCTL_STANDBY_MODE_60S   (0x20)

Standby with 60s intermittence.

Definition at line 63 of file amg88xx_constants.h.

◆ AMG88XX_REG_AVE

#define AMG88XX_REG_AVE   (0x07)

Average register.

Definition at line 37 of file amg88xx_constants.h.

◆ AMG88XX_REG_FPSC

#define AMG88XX_REG_FPSC   (0x02)

Frame rate register.

Definition at line 33 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT0

#define AMG88XX_REG_INT0   (0x10)

Interrupt table byte 0 (pixels 0-7)

Definition at line 46 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT1

#define AMG88XX_REG_INT1   (0x11)

Interrupt table byte 1 (pixels 8-15)

Definition at line 47 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT2

#define AMG88XX_REG_INT2   (0x12)

Interrupt table byte 2 (pixels 16-23)

Definition at line 48 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT3

#define AMG88XX_REG_INT3   (0x13)

Interrupt table byte 3 (pixels 24-31)

Definition at line 49 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT4

#define AMG88XX_REG_INT4   (0x14)

Interrupt table byte 4 (pixels 32-39)

Definition at line 50 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT5

#define AMG88XX_REG_INT5   (0x15)

Interrupt table byte 5 (pixels 40-47)

Definition at line 51 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT6

#define AMG88XX_REG_INT6   (0x16)

Interrupt table byte 6 (pixels 48-55)

Definition at line 52 of file amg88xx_constants.h.

◆ AMG88XX_REG_INT7

#define AMG88XX_REG_INT7   (0x17)

Interrupt table byte 7 (pixels 56-63)

Definition at line 53 of file amg88xx_constants.h.

◆ AMG88XX_REG_INTC

#define AMG88XX_REG_INTC   (0x03)

Interrupt control register.

Definition at line 34 of file amg88xx_constants.h.

◆ AMG88XX_REG_INTHH

#define AMG88XX_REG_INTHH   (0x09)

Interrupt upper level high byte.

Definition at line 39 of file amg88xx_constants.h.

◆ AMG88XX_REG_INTHL

#define AMG88XX_REG_INTHL   (0x08)

Interrupt upper level low byte.

Definition at line 38 of file amg88xx_constants.h.

◆ AMG88XX_REG_INTLH

#define AMG88XX_REG_INTLH   (0x0B)

Interrupt lower level high byte.

Definition at line 41 of file amg88xx_constants.h.

◆ AMG88XX_REG_INTLL

#define AMG88XX_REG_INTLL   (0x0A)

Interrupt lower level low byte.

Definition at line 40 of file amg88xx_constants.h.

◆ AMG88XX_REG_INYSH

#define AMG88XX_REG_INYSH   (0x0D)

Interrupt hysteresis high byte.

Definition at line 43 of file amg88xx_constants.h.

◆ AMG88XX_REG_INYSL

#define AMG88XX_REG_INYSL   (0x0C)

Interrupt hysteresis low byte.

Definition at line 42 of file amg88xx_constants.h.

◆ AMG88XX_REG_PCTL

#define AMG88XX_REG_PCTL   (0x00)

Power control register.

Definition at line 31 of file amg88xx_constants.h.

◆ AMG88XX_REG_RST

#define AMG88XX_REG_RST   (0x01)

Reset register.

Definition at line 32 of file amg88xx_constants.h.

◆ AMG88XX_REG_SCLR

#define AMG88XX_REG_SCLR   (0x05)

Status clear register.

Definition at line 36 of file amg88xx_constants.h.

◆ AMG88XX_REG_STAT

#define AMG88XX_REG_STAT   (0x04)

Status register.

Definition at line 35 of file amg88xx_constants.h.

◆ AMG88XX_REG_T01L

#define AMG88XX_REG_T01L   (0x80)

Pixel 0 temperature low byte (start of pixel data)

Definition at line 54 of file amg88xx_constants.h.

◆ AMG88XX_REG_TTHH

#define AMG88XX_REG_TTHH   (0x0F)

Thermistor temperature high byte.

Definition at line 45 of file amg88xx_constants.h.

◆ AMG88XX_REG_TTHL

#define AMG88XX_REG_TTHL   (0x0E)

Thermistor temperature low byte.

Definition at line 44 of file amg88xx_constants.h.

◆ AMG88XX_RST_FLAG_RESET

#define AMG88XX_RST_FLAG_RESET   (0x30)

Flag reset (clear status/interrupt flags)

Definition at line 71 of file amg88xx_constants.h.

◆ AMG88XX_RST_INITIAL_RESET

#define AMG88XX_RST_INITIAL_RESET   (0x3F)

Initial reset (return to defaults)

Definition at line 72 of file amg88xx_constants.h.

◆ AMG88XX_SCLR_INT_CLR

#define AMG88XX_SCLR_INT_CLR   (0x02)

Clear interrupt flag.

Definition at line 105 of file amg88xx_constants.h.

◆ AMG88XX_SCLR_OVS_CLR

#define AMG88XX_SCLR_OVS_CLR   (0x04)

Clear thermistor overflow flag.

Definition at line 106 of file amg88xx_constants.h.

◆ AMG88XX_SCLR_OVT_CLR

#define AMG88XX_SCLR_OVT_CLR   (0x08)

Clear pixel overflow flag.

Definition at line 107 of file amg88xx_constants.h.

◆ AMG88XX_STAT_INTF

#define AMG88XX_STAT_INTF   (0x02)

Interrupt occurrence flag.

Definition at line 96 of file amg88xx_constants.h.

◆ AMG88XX_STAT_OVF_IRS

#define AMG88XX_STAT_OVF_IRS   (0x08)

Pixel temperature overflow flag.

Definition at line 98 of file amg88xx_constants.h.

◆ AMG88XX_STAT_OVF_THS

#define AMG88XX_STAT_OVF_THS   (0x04)

Thermistor temperature overflow flag.

Definition at line 97 of file amg88xx_constants.h.