Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
ata8520e_internals.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#pragma once
10
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#define ATA8520E_SYSTEM_RESET (0x01)
30
#define ATA8520E_IO_INIT (0x02)
31
#define ATA8520E_IO_WRITE (0x03)
32
#define ATA8520E_IO_READ (0x04)
33
#define ATA8520E_OFF_MODE (0x05)
34
#define ATA8520E_ATMEL_VERSION (0x06)
35
#define ATA8520E_WRITE_TX_BUFFER (0x07)
36
#define ATA8520E_TEST_MODE (0x08)
37
#define ATA8520E_SIGFOX_VERSION (0x09)
38
#define ATA8520E_GET_STATUS (0x0A)
39
#define ATA8520E_SEND_BIT (0x0B)
40
#define ATA8520E_SEND_FRAME (0x0D)
41
#define ATA8520E_SEND_RECEIVE_FRAME (0x0E)
42
#define ATA8520E_GET_PAC (0x0F)
43
#define ATA8520E_READ_RX_BUFFER (0x10)
44
#define ATA8520E_WRITE_SYS_CONF (0x11)
45
#define ATA8520E_GET_ID (0x12)
46
#define ATA8520E_READ_SUP_TEMP (0x13)
47
#define ATA8520E_START_MEASUREMENT (0x14)
48
#define ATA8520E_TX_TEST_MODE (0x15)
49
#define ATA8520E_SEND_CW (0x17)
50
#define ATA8520E_SET_TX_FREQUENCY (0x1B)
57
#define ATA8520E_ATMEL_SYSTEM_READY_MASK (0x20)
58
#define ATA8520E_ATMEL_FRAME_SENT_MASK (0x10)
59
#define ATA8520E_ATMEL_PA_MASK (0x01)
66
#define ATA8520E_SIGFOX_NO_ERROR (0x00)
67
#define ATA8520E_SIGFOX_TX_LEN_TOO_LONG (0x30)
68
#define ATA8520E_SIGFOX_RX_TIMEOUT (0x3E)
69
#define ATA8520E_SIGFOX_RX_BIT_TIMEOUT (0x4E)
76
#define ATA8520E_SIGFOX2_INIT_ERROR (0x10)
77
#define ATA8520E_SIGFOX2_TX_ERROR (0x18)
78
#define ATA8520E_SIGFOX2_RF_ERROR (0x40)
79
#define ATA8520E_SIGFOX2_DF_WAIT_ERROR (0x68)
82
#ifdef __cplusplus
83
}
84
#endif
85
Generated on Fri Jun 20 2025 21:02:36 by
1.9.1