Solaris Software
Toggle main menu visibility
Loading...
Searching...
No Matches
sx1262.h
Go to the documentation of this file.
1
#ifndef SPP_SX1262_H
2
#define SPP_SX1262_H
3
4
#include "
spp/core/types.h
"
5
#include "
spp/core/returnTypes.h
"
6
7
8
/* -----------------------------------------
9
DEFINES
10
--------------------------------------------*/
11
12
#define SX1262_OPCODE_SET_STANDBY 0x80
13
#define SX1262_OPCODE_SET_TX 0x83
14
#define SX1262_OPCODE_SET_PACKET_TYPE 0x8A
15
#define SX1262_OPCODE_SET_RF_FRECUENCY 0x86
16
#define SX1262_OPCODE_SET_PA_CONFIG 0x95
17
#define SX1262_OPCODE_SET_TX_PARAMS 0x8E
18
#define SX1262_OPCODE_SET_BUFFER_BASE_ADDRESS 0x8F
19
#define SX1262_OPCODE_WRITE_BUFFER 0x0E
20
#define SX1262_OPCODE_SET_MODULATION_PARAMS 0x8B
21
#define SX1262_OPCODE_SET_PACKET_PARAMS 0x8C
22
#define SX1262_OPCODE_SET_DIO_IRQ_PARAMS 0x08
23
#define SX1262_OPCODE_CLEAR_IRQ_STATUS 0x02
24
#define SX1262_OPCODE_CALIBRATE_IMAGE 0x98
25
26
#define SX1262_BUSY_PIN 4
// hay que ver en que PIN estara el BUSY del SX1262
27
#define SX126X_DIO1_PIN 5
// hay que ver en que PIN estara el DIO1
28
29
30
31
32
33
#endif
/* SPP_SX1262_H */
returnTypes.h
Standard return-value type used across all SPP modules.
types.h
Portable integer types and SPI/storage configuration types for SPP.
solaris-v2
spp
services
sx1262
sx1262.h
Generated by
1.18.0