Loading...
Searching...
No Matches
ata8520e_internals.h File Reference

Internal addresses, registers, constants for the ATA8520E device. More...

Detailed Description

Internal addresses, registers, constants for the ATA8520E device.

Internal addresses, registers, constants for the ATA8520E device

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file ata8520e_internals.h.

Go to the source code of this file.

SPI commands for ATA8520E

#define ATA8520E_SYSTEM_RESET   (0x01)
 
#define ATA8520E_IO_INIT   (0x02)
 
#define ATA8520E_IO_WRITE   (0x03)
 
#define ATA8520E_IO_READ   (0x04)
 
#define ATA8520E_OFF_MODE   (0x05)
 
#define ATA8520E_ATMEL_VERSION   (0x06)
 
#define ATA8520E_WRITE_TX_BUFFER   (0x07)
 
#define ATA8520E_TEST_MODE   (0x08)
 
#define ATA8520E_SIGFOX_VERSION   (0x09)
 
#define ATA8520E_GET_STATUS   (0x0A)
 
#define ATA8520E_SEND_BIT   (0x0B)
 
#define ATA8520E_SEND_FRAME   (0x0D)
 
#define ATA8520E_SEND_RECEIVE_FRAME   (0x0E)
 
#define ATA8520E_GET_PAC   (0x0F)
 
#define ATA8520E_READ_RX_BUFFER   (0x10)
 
#define ATA8520E_WRITE_SYS_CONF   (0x11)
 
#define ATA8520E_GET_ID   (0x12)
 
#define ATA8520E_READ_SUP_TEMP   (0x13)
 
#define ATA8520E_START_MEASUREMENT   (0x14)
 
#define ATA8520E_TX_TEST_MODE   (0x15)
 
#define ATA8520E_SEND_CW   (0x17)
 
#define ATA8520E_SET_TX_FREQUENCY   (0x1B)
 

Constants for ATA8520E

#define ATA8520E_ATMEL_SYSTEM_READY_MASK   (0x20)
 
#define ATA8520E_ATMEL_FRAME_SENT_MASK   (0x10)
 
#define ATA8520E_ATMEL_PA_MASK   (0x01)
 

Sigfox errors codes

#define ATA8520E_SIGFOX_NO_ERROR   (0x00)
 
#define ATA8520E_SIGFOX_TX_LEN_TOO_LONG   (0x30)
 
#define ATA8520E_SIGFOX_RX_TIMEOUT   (0x3E)
 
#define ATA8520E_SIGFOX_RX_BIT_TIMEOUT   (0x4E)
 

Sigfox2 errors codes

#define ATA8520E_SIGFOX2_INIT_ERROR   (0x10)
 
#define ATA8520E_SIGFOX2_TX_ERROR   (0x18)
 
#define ATA8520E_SIGFOX2_RF_ERROR   (0x40)
 
#define ATA8520E_SIGFOX2_DF_WAIT_ERROR   (0x68)
 

Macro Definition Documentation

◆ ATA8520E_ATMEL_FRAME_SENT_MASK

#define ATA8520E_ATMEL_FRAME_SENT_MASK   (0x10)

Definition at line 59 of file ata8520e_internals.h.

◆ ATA8520E_ATMEL_PA_MASK

#define ATA8520E_ATMEL_PA_MASK   (0x01)

Definition at line 60 of file ata8520e_internals.h.

◆ ATA8520E_ATMEL_SYSTEM_READY_MASK

#define ATA8520E_ATMEL_SYSTEM_READY_MASK   (0x20)

Definition at line 58 of file ata8520e_internals.h.

◆ ATA8520E_ATMEL_VERSION

#define ATA8520E_ATMEL_VERSION   (0x06)

Definition at line 35 of file ata8520e_internals.h.

◆ ATA8520E_GET_ID

#define ATA8520E_GET_ID   (0x12)

Definition at line 46 of file ata8520e_internals.h.

◆ ATA8520E_GET_PAC

#define ATA8520E_GET_PAC   (0x0F)

Definition at line 43 of file ata8520e_internals.h.

◆ ATA8520E_GET_STATUS

#define ATA8520E_GET_STATUS   (0x0A)

Definition at line 39 of file ata8520e_internals.h.

◆ ATA8520E_IO_INIT

#define ATA8520E_IO_INIT   (0x02)

Definition at line 31 of file ata8520e_internals.h.

◆ ATA8520E_IO_READ

#define ATA8520E_IO_READ   (0x04)

Definition at line 33 of file ata8520e_internals.h.

◆ ATA8520E_IO_WRITE

#define ATA8520E_IO_WRITE   (0x03)

Definition at line 32 of file ata8520e_internals.h.

◆ ATA8520E_OFF_MODE

#define ATA8520E_OFF_MODE   (0x05)

Definition at line 34 of file ata8520e_internals.h.

◆ ATA8520E_READ_RX_BUFFER

#define ATA8520E_READ_RX_BUFFER   (0x10)

Definition at line 44 of file ata8520e_internals.h.

◆ ATA8520E_READ_SUP_TEMP

#define ATA8520E_READ_SUP_TEMP   (0x13)

Definition at line 47 of file ata8520e_internals.h.

◆ ATA8520E_SEND_BIT

#define ATA8520E_SEND_BIT   (0x0B)

Definition at line 40 of file ata8520e_internals.h.

◆ ATA8520E_SEND_CW

#define ATA8520E_SEND_CW   (0x17)

Definition at line 50 of file ata8520e_internals.h.

◆ ATA8520E_SEND_FRAME

#define ATA8520E_SEND_FRAME   (0x0D)

Definition at line 41 of file ata8520e_internals.h.

◆ ATA8520E_SEND_RECEIVE_FRAME

#define ATA8520E_SEND_RECEIVE_FRAME   (0x0E)

Definition at line 42 of file ata8520e_internals.h.

◆ ATA8520E_SET_TX_FREQUENCY

#define ATA8520E_SET_TX_FREQUENCY   (0x1B)

Definition at line 51 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX2_DF_WAIT_ERROR

#define ATA8520E_SIGFOX2_DF_WAIT_ERROR   (0x68)

Definition at line 80 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX2_INIT_ERROR

#define ATA8520E_SIGFOX2_INIT_ERROR   (0x10)

Definition at line 77 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX2_RF_ERROR

#define ATA8520E_SIGFOX2_RF_ERROR   (0x40)

Definition at line 79 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX2_TX_ERROR

#define ATA8520E_SIGFOX2_TX_ERROR   (0x18)

Definition at line 78 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX_NO_ERROR

#define ATA8520E_SIGFOX_NO_ERROR   (0x00)

Definition at line 67 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX_RX_BIT_TIMEOUT

#define ATA8520E_SIGFOX_RX_BIT_TIMEOUT   (0x4E)

Definition at line 70 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX_RX_TIMEOUT

#define ATA8520E_SIGFOX_RX_TIMEOUT   (0x3E)

Definition at line 69 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX_TX_LEN_TOO_LONG

#define ATA8520E_SIGFOX_TX_LEN_TOO_LONG   (0x30)

Definition at line 68 of file ata8520e_internals.h.

◆ ATA8520E_SIGFOX_VERSION

#define ATA8520E_SIGFOX_VERSION   (0x09)

Definition at line 38 of file ata8520e_internals.h.

◆ ATA8520E_START_MEASUREMENT

#define ATA8520E_START_MEASUREMENT   (0x14)

Definition at line 48 of file ata8520e_internals.h.

◆ ATA8520E_SYSTEM_RESET

#define ATA8520E_SYSTEM_RESET   (0x01)

Definition at line 30 of file ata8520e_internals.h.

◆ ATA8520E_TEST_MODE

#define ATA8520E_TEST_MODE   (0x08)

Definition at line 37 of file ata8520e_internals.h.

◆ ATA8520E_TX_TEST_MODE

#define ATA8520E_TX_TEST_MODE   (0x15)

Definition at line 49 of file ata8520e_internals.h.

◆ ATA8520E_WRITE_SYS_CONF

#define ATA8520E_WRITE_SYS_CONF   (0x11)

Definition at line 45 of file ata8520e_internals.h.

◆ ATA8520E_WRITE_TX_BUFFER

#define ATA8520E_WRITE_TX_BUFFER   (0x07)

Definition at line 36 of file ata8520e_internals.h.