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
19
#ifndef ATA8520E_INTERNALS_H
20
#define ATA8520E_INTERNALS_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
30
#define ATA8520E_SYSTEM_RESET (0x01)
31
#define ATA8520E_IO_INIT (0x02)
32
#define ATA8520E_IO_WRITE (0x03)
33
#define ATA8520E_IO_READ (0x04)
34
#define ATA8520E_OFF_MODE (0x05)
35
#define ATA8520E_ATMEL_VERSION (0x06)
36
#define ATA8520E_WRITE_TX_BUFFER (0x07)
37
#define ATA8520E_TEST_MODE (0x08)
38
#define ATA8520E_SIGFOX_VERSION (0x09)
39
#define ATA8520E_GET_STATUS (0x0A)
40
#define ATA8520E_SEND_BIT (0x0B)
41
#define ATA8520E_SEND_FRAME (0x0D)
42
#define ATA8520E_SEND_RECEIVE_FRAME (0x0E)
43
#define ATA8520E_GET_PAC (0x0F)
44
#define ATA8520E_READ_RX_BUFFER (0x10)
45
#define ATA8520E_WRITE_SYS_CONF (0x11)
46
#define ATA8520E_GET_ID (0x12)
47
#define ATA8520E_READ_SUP_TEMP (0x13)
48
#define ATA8520E_START_MEASUREMENT (0x14)
49
#define ATA8520E_TX_TEST_MODE (0x15)
50
#define ATA8520E_SEND_CW (0x17)
51
#define ATA8520E_SET_TX_FREQUENCY (0x1B)
52
58
#define ATA8520E_ATMEL_SYSTEM_READY_MASK (0x20)
59
#define ATA8520E_ATMEL_FRAME_SENT_MASK (0x10)
60
#define ATA8520E_ATMEL_PA_MASK (0x01)
61
67
#define ATA8520E_SIGFOX_NO_ERROR (0x00)
68
#define ATA8520E_SIGFOX_TX_LEN_TOO_LONG (0x30)
69
#define ATA8520E_SIGFOX_RX_TIMEOUT (0x3E)
70
#define ATA8520E_SIGFOX_RX_BIT_TIMEOUT (0x4E)
71
77
#define ATA8520E_SIGFOX2_INIT_ERROR (0x10)
78
#define ATA8520E_SIGFOX2_TX_ERROR (0x18)
79
#define ATA8520E_SIGFOX2_RF_ERROR (0x40)
80
#define ATA8520E_SIGFOX2_DF_WAIT_ERROR (0x68)
81
83
#ifdef __cplusplus
84
}
85
#endif
86
87
#endif
/* ATA8520E_INTERNALS_H */
Generated on Tue Nov 24 2020 19:46:50 by
1.8.17