SX1262 LoRa telemetry consumer interface and configuration. More...
Go to the source code of this file.
Data Structures | |
| struct | SX1262_Ctx_t |
Enumerations | |
| enum | SX1262_TxState_t { SX1262_TX_STATE_IDLE , SX1262_TX_STATE_WRITE_BUFFER , SX1262_TX_STATE_SET_PARAMS , SX1262_TX_STATE_SET_TX , SX1262_TX_STATE_WAIT_TX_DONE } |
Functions | |
| const SPP_SERVICE_ConsumerContract_t * | SPP_SERVICES_SX1262_getConsumerContract (void) |
| Returns the SX1262 consumer contract for PUBSUB registration. | |
SX1262 LoRa telemetry consumer interface and configuration.
Definition in file sx1262.h.
| #define K_SX1262_MAILBOX_SIZE 100U |
Definition at line 16 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData(), and SPP_SERVICES_SX1262_deliverToMailbox().
| #define SX1262_OPCODE_SET_STANDBY 0x80 |
Definition at line 19 of file sx1262.h.
Referenced by SX1262_SetStandby().
| #define SX1262_OPCODE_SET_TX 0x83 |
Definition at line 20 of file sx1262.h.
Referenced by SX1262_SetTx().
| #define SX1262_OPCODE_SET_PACKET_TYPE 0x8A |
Definition at line 21 of file sx1262.h.
Referenced by SX1262_SetPacketType().
| #define SX1262_OPCODE_SET_RF_FRECUENCY 0x86 |
Definition at line 22 of file sx1262.h.
Referenced by SX1262_SetRfFrequency().
| #define SX1262_OPCODE_SET_PA_CONFIG 0x95 |
Definition at line 23 of file sx1262.h.
Referenced by SX1262_SetPaConfig().
| #define SX1262_OPCODE_SET_TX_PARAMS 0x8E |
Definition at line 24 of file sx1262.h.
Referenced by SX1262_SetTxParams().
| #define SX1262_OPCODE_SET_BUFFER_BASE_ADDRESS 0x8F |
Definition at line 25 of file sx1262.h.
Referenced by SX1262_SetBufferBaseAddress().
| #define SX1262_OPCODE_WRITE_BUFFER 0x0E |
Definition at line 26 of file sx1262.h.
Referenced by SX1262_WriteBuffer().
| #define SX1262_OPCODE_SET_MODULATION_PARAMS 0x8B |
Definition at line 27 of file sx1262.h.
Referenced by SX1262_SetModulationParams().
| #define SX1262_OPCODE_SET_PACKET_PARAMS 0x8C |
Definition at line 28 of file sx1262.h.
Referenced by SX1262_SetPacketParams().
| #define SX1262_OPCODE_SET_DIO_IRQ_PARAMS 0x08 |
Definition at line 29 of file sx1262.h.
Referenced by SX1262_SetDioIrqParams().
| #define SX1262_OPCODE_CLEAR_IRQ_STATUS 0x02 |
Definition at line 30 of file sx1262.h.
Referenced by SX1262_ClearIrqStatus().
| #define SX1262_OPCODE_CALIBRATE_IMAGE 0x98 |
Definition at line 31 of file sx1262.h.
Referenced by SX1262_CalibrateImage().
| #define K_SX1262_MAX_PACKETS_TO_TRANSMIT 50U |
Definition at line 33 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData().
| #define SX1262_MAX_BUSY_TIMEOUT_MS 1000U |
Definition at line 34 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData(), and SX1262_WaitBusy().
| #define SX1262_MAX_DONE_TIMEOUT_MS 2000U |
Definition at line 35 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData().
| #define SX1262_BUSY_PIN 5 |
Definition at line 37 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData(), SPP_SERVICES_SX1262_init(), and SX1262_WaitBusy().
| #define SX1262_DIO1_PIN 6 |
Definition at line 38 of file sx1262.h.
Referenced by SX1262_InitInterrupts().
| #define SX126X_NRESET_PIN 7 |
Definition at line 39 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_init().
| #define K_SX1262_SPI 2U |
Definition at line 40 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_init().
| #define SX1262_OPCODE_GET_IRQ_STATUS 0x12 |
Definition at line 43 of file sx1262.h.
Referenced by SX1262_GetIrqStatus().
| #define SX1262_IRQ_TX_DONE 0x0001U |
Definition at line 44 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData().
| #define SX1262_IRQ_TIMEOUT 0x0200U |
Definition at line 45 of file sx1262.h.
Referenced by SPP_SERVICES_SX1262_consumeData().
| #define SX1262_OPCODE_SET_REGULATOR_MODE 0x96U |
Definition at line 47 of file sx1262.h.
Referenced by SX1262_SetRegulatorMode().
| #define SX1262_REGULATOR_DC_DC 0x01U |
Definition at line 48 of file sx1262.h.
Referenced by SX1262_SetRegulatorMode().
| #define SX1262_OPCODE_SET_DIO3_AS_TCXO_CTRL 0x97U |
Definition at line 49 of file sx1262.h.
Referenced by SX1262_SetDio3AsTcxoCtrl().
| #define SX1262_TCXO_VOLTAGE_1V7 0x01U |
Definition at line 50 of file sx1262.h.
Referenced by SX1262_SetDio3AsTcxoCtrl().
| #define SX1262_TCXO_STARTUP_DELAY 0x000140UL |
Definition at line 51 of file sx1262.h.
Referenced by SX1262_SetDio3AsTcxoCtrl().
| #define SX1262_OPCODE_CALIBRATE 0x89U |
Definition at line 52 of file sx1262.h.
Referenced by SX1262_Calibrate().
| #define SX1262_CALIBRATE_ALL 0x7FU |
Definition at line 53 of file sx1262.h.
Referenced by SX1262_Calibrate().
| #define SX1262_OPCODE_CLEAR_DEVICE_ERRORS 0x07U |
Definition at line 54 of file sx1262.h.
Referenced by SX1262_ClearDeviceErrors().
| #define SX1262_OPCODE_GET_DEVICE_ERRORS 0x17U |
Definition at line 55 of file sx1262.h.
Referenced by SX1262_GetDeviceErrors().
| enum SX1262_TxState_t |
| const SPP_SERVICE_ConsumerContract_t * SPP_SERVICES_SX1262_getConsumerContract | ( | void | ) |
Returns the SX1262 consumer contract for PUBSUB registration.
Definition at line 80 of file sx1262.c.
References SPP_SERVICES_SX1262_getConsumerContract(), and sx1262Contract.
Referenced by CUSTOM_registerConsumerProducer(), guard_startInitializationOfModules(), and SPP_SERVICES_SX1262_getConsumerContract().