diff --git a/_arduino_hal_8h_source.html b/_arduino_hal_8h_source.html
index 665f3fb0..6d54f601 100644
--- a/_arduino_hal_8h_source.html
+++ b/_arduino_hal_8h_source.html
@@ -107,53 +107,53 @@ $(document).ready(function(){initNavTree('_arduino_hal_8h_source.html',''); init
- 36 ArduinoHal(SPIClass& spi, SPISettings spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS);
-
-
- 39 void pinMode(uint32_t pin, uint32_t mode)
override;
- 40 void digitalWrite(uint32_t pin, uint32_t value)
override;
-
- 42 void attachInterrupt(uint32_t interruptNum,
void (*interruptCb)(
void), uint32_t mode)
override;
-
- 44 void delay(
unsigned long ms)
override;
-
- 46 unsigned long millis()
override;
- 47 unsigned long micros()
override;
- 48 long pulseIn(uint32_t pin, uint32_t state,
unsigned long timeout)
override;
-
-
-
-
-
-
-
-
-
- 58 void tone(uint32_t pin,
unsigned int frequency,
unsigned long duration = 0)
override;
- 59 void noTone(uint32_t pin)
override;
- 60 void yield()
override;
-
-
- 63 #if !defined(RADIOLIB_GODMODE)
-
-
- 66 SPIClass* _spi = NULL;
- 67 SPISettings _spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS;
- 68 bool _initInterface =
false;
-
- 70 #if defined(RADIOLIB_MBED_TONE_OVERRIDE)
- 71 mbed::PwmOut *pwmPin = NULL;
-
-
-
-
-
-
-
-
+ 38 ArduinoHal(SPIClass& spi, SPISettings spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS);
+
+
+ 41 void pinMode(uint32_t pin, uint32_t mode)
override;
+ 42 void digitalWrite(uint32_t pin, uint32_t value)
override;
+
+ 44 void attachInterrupt(uint32_t interruptNum,
void (*interruptCb)(
void), uint32_t mode)
override;
+
+ 46 void delay(
unsigned long ms)
override;
+
+ 48 unsigned long millis()
override;
+ 49 unsigned long micros()
override;
+ 50 long pulseIn(uint32_t pin, uint32_t state,
unsigned long timeout)
override;
+
+
+
+
+
+
+
+
+
+ 60 void tone(uint32_t pin,
unsigned int frequency,
unsigned long duration = 0)
override;
+ 61 void noTone(uint32_t pin)
override;
+ 62 void yield()
override;
+
+
+ 65 #if !defined(RADIOLIB_GODMODE)
+
+
+ 68 SPIClass* _spi = NULL;
+ 69 SPISettings _spiSettings = RADIOLIB_DEFAULT_SPI_SETTINGS;
+ 70 bool _initInterface =
false;
+
+ 72 #if defined(RADIOLIB_MBED_TONE_OVERRIDE)
+ 73 mbed::PwmOut *pwmPin = NULL;
+
+
+
+
+
+
-
+
+
+
virtual uint32_t digitalRead(uint32_t pin)=0
Digital read method. Must be implemented by the platform-specific hardware abstraction!
virtual uint8_t spiTransfer(uint8_t b)=0
Method to transfer one byte over SPI.
virtual void yield()
Yield method, called from long loops in multi-threaded environment (to prevent blocking other threads...
Definition: Hal.cpp:29
diff --git a/_external_radio_8h_source.html b/_external_radio_8h_source.html
index ed4337ce..1099f58f 100644
--- a/_external_radio_8h_source.html
+++ b/_external_radio_8h_source.html
@@ -113,7 +113,7 @@ $(document).ready(function(){initNavTree('_external_radio_8h_source.html',''); i
Definition: ExternalRadio.h:12
Implements all common low-level methods to control the wireless module. Every module class contains o...
Definition: Module.h:29
Provides common interface for protocols that run on LoRa/FSK modules, such as RTTY or LoRaWAN....
Definition: PhysicalLayer.h:14
-
+
diff --git a/_hal_8h_source.html b/_hal_8h_source.html
index d697fbee..80a0302f 100644
--- a/_hal_8h_source.html
+++ b/_hal_8h_source.html
@@ -92,94 +92,94 @@ $(document).ready(function(){initNavTree('_hal_8h_source.html',''); initResizabl
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 56 RadioLibHal(
const uint32_t input,
const uint32_t output,
const uint32_t low,
const uint32_t high,
const uint32_t rising,
const uint32_t falling);
-
-
-
- 66 virtual void pinMode(uint32_t pin, uint32_t mode) = 0;
-
-
-
-
-
- 91 virtual void attachInterrupt(uint32_t interruptNum,
void (*interruptCb)(
void), uint32_t mode) = 0;
-
-
-
- 105 virtual void delay(
unsigned long ms) = 0;
-
-
-
-
-
-
-
- 136 virtual long pulseIn(uint32_t pin, uint32_t state,
unsigned long timeout) = 0;
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 63 RadioLibHal(
const uint32_t input,
const uint32_t output,
const uint32_t low,
const uint32_t high,
const uint32_t rising,
const uint32_t falling);
+
+
+
+ 75 virtual void pinMode(uint32_t pin, uint32_t mode) = 0;
+
+
+
+
+
+ 107 virtual void attachInterrupt(uint32_t interruptNum,
void (*interruptCb)(
void), uint32_t mode) = 0;
+
+
+
+ 123 virtual void delay(
unsigned long ms) = 0;
+
+
+
+
+
+
+
+ 161 virtual long pulseIn(uint32_t pin, uint32_t state,
unsigned long timeout) = 0;
+
+
-
-
-
+
+
+
- 188 virtual void tone(uint32_t pin,
unsigned int frequency,
unsigned long duration = 0);
-
- 194 virtual void noTone(uint32_t pin);
-
- 199 virtual void yield();
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-const uint32_t GpioInterruptFalling
Value to be used as the "falling" GPIO level change direction.
Definition: Hal.h:45
+ 218 virtual void tone(uint32_t pin,
unsigned int frequency,
unsigned long duration = 0);
+
+ 225 virtual void noTone(uint32_t pin);
+
+ 230 virtual void yield();
+
+
+
+
+
+
+const uint32_t GpioInterruptFalling
Value to be used as the "falling" GPIO level change direction.
Definition: Hal.h:46
virtual uint32_t digitalRead(uint32_t pin)=0
Digital read method. Must be implemented by the platform-specific hardware abstraction!
virtual uint8_t spiTransfer(uint8_t b)=0
Method to transfer one byte over SPI.
-const uint32_t GpioModeOutput
Value to be used as the "output" GPIO direction.
Definition: Hal.h:25
+const uint32_t GpioModeOutput
Value to be used as the "output" GPIO direction.
Definition: Hal.h:26
virtual void yield()
Yield method, called from long loops in multi-threaded environment (to prevent blocking other threads...
Definition: Hal.cpp:29
virtual unsigned long millis()=0
Get number of milliseconds since start. Must be implemented by the platform-specific hardware abstrac...
-const uint32_t GpioModeInput
Value to be used as the "input" GPIO direction.
Definition: Hal.h:20
+const uint32_t GpioModeInput
Value to be used as the "input" GPIO direction.
Definition: Hal.h:21
virtual void detachInterrupt(uint32_t interruptNum)=0
Method to detach function from an external interrupt. Must be implemented by the platform-specific ha...
virtual uint32_t pinToInterrupt(uint32_t pin)
Function to convert from pin number to interrupt number.
Definition: Hal.cpp:33
virtual long pulseIn(uint32_t pin, uint32_t state, unsigned long timeout)=0
Measure the length of incoming digital pulse in microseconds. Must be implemented by the platform-spe...
-const uint32_t GpioLevelLow
Value to be used as the "low" GPIO level.
Definition: Hal.h:30
-const uint32_t GpioLevelHigh
Value to be used as the "high" GPIO level.
Definition: Hal.h:35
+const uint32_t GpioLevelLow
Value to be used as the "low" GPIO level.
Definition: Hal.h:31
+const uint32_t GpioLevelHigh
Value to be used as the "high" GPIO level.
Definition: Hal.h:36
virtual void spiEnd()=0
SPI termination method.
virtual void init()
Module initialization method. This will be called by all radio modules at the beginning of startup....
Definition: Hal.cpp:11
virtual void digitalWrite(uint32_t pin, uint32_t value)=0
Digital write method. Must be implemented by the platform-specific hardware abstraction!
virtual void spiEndTransaction()=0
Method to end SPI transaction.
virtual void noTone(uint32_t pin)
Method to stop producing a tone.
Definition: Hal.cpp:25
-const uint32_t GpioInterruptRising
Value to be used as the "rising" GPIO level change direction.
Definition: Hal.h:40
+const uint32_t GpioInterruptRising
Value to be used as the "rising" GPIO level change direction.
Definition: Hal.h:41
virtual void delay(unsigned long ms)=0
Blocking wait function. Must be implemented by the platform-specific hardware abstraction!
virtual void spiBegin()=0
SPI initialization method.
virtual void term()
Module termination method. This will be called by all radio modules when the desctructor is called....
Definition: Hal.cpp:15
diff --git a/_module_8h_source.html b/_module_8h_source.html
index 04204e18..bc708945 100644
--- a/_module_8h_source.html
+++ b/_module_8h_source.html
@@ -290,7 +290,7 @@ $(document).ready(function(){initNavTree('_module_8h_source.html',''); initResiz
void SPIwriteRegisterBurst(uint16_t reg, uint8_t *data, size_t numBytes)
SPI burst write method.
Definition: Module.cpp:118
SPIparseStatusCb_t SPIparseStatusCb
Callback to function that will parse the module-specific status codes to RadioLib status codes....
Definition: Module.h:182
void setRfSwitchState(uint8_t mode)
Set RF switch state.
Definition: Module.cpp:501
-
+
#define RADIOLIB_ERR_UNKNOWN
There was an unexpected, unknown error. If you see this, something went incredibly wrong....
Definition: TypeDef.h:110
diff --git a/class_radio_lib_hal.html b/class_radio_lib_hal.html
index 7e17bd17..26ef4d85 100644
--- a/class_radio_lib_hal.html
+++ b/class_radio_lib_hal.html
@@ -248,11 +248,11 @@ const uint32_t Default constructor.
- Parameters
-
- input | Value to be used as the "input" GPIO direction. |
- output | Value to be used as the "output" GPIO direction. |
- low | Value to be used as the "low" GPIO level. |
- high | Value to be used as the "high" GPIO level. |
- rising | Value to be used as the "rising" GPIO level change direction. |
+ input | Value to be used as the "input" GPIO direction. |
+ output | Value to be used as the "output" GPIO direction. |
+ low | Value to be used as the "low" GPIO level. |
+ high | Value to be used as the "high" GPIO level. |
+ rising | Value to be used as the "rising" GPIO level change direction. |
falling | Value to be used as the "falling" GPIO level change direction. |
@@ -304,8 +304,8 @@ const uint32_t
| Method to attach function to an external interrupt. Must be implemented by the platform-specific hardware abstraction!
- Parameters
-
- interruptNum | Interrupt number to attach to (platform-specific). |
- interruptCb | Interrupt service routine to execute. |
+ interruptNum | Interrupt number to attach to (platform-specific). |
+ interruptCb | Interrupt service routine to execute. |
mode | Rising/falling mode (platform-specific). |
@@ -442,7 +442,7 @@ const uint32_t
| Digital read method. Must be implemented by the platform-specific hardware abstraction!
- Parameters
-
- pin | Pin to be changed (platform-specific). |
+ pin | Pin to be changed (platform-specific). |
@@ -487,7 +487,7 @@ const uint32_t | Digital write method. Must be implemented by the platform-specific hardware abstraction!
- Parameters
-
- pin | Pin to be changed (platform-specific). |
+ pin | Pin to be changed (platform-specific). |
value | Value to set (platform-specific). |
@@ -622,7 +622,7 @@ const uint32_t
| GPIO pin mode (input/output/...) configuration method. Must be implemented by the platform-specific hardware abstraction!
- Parameters
-
- pin | Pin to be changed (platform-specific). |
+ pin | Pin to be changed (platform-specific). |
mode | Mode to be set (platform-specific). |
@@ -657,7 +657,7 @@ const uint32_t
| Function to convert from pin number to interrupt number.
- Parameters
-
- pin | Pin to convert from. |
+ pin | Pin to convert from. |
@@ -708,9 +708,9 @@ const uint32_t | Measure the length of incoming digital pulse in microseconds. Must be implemented by the platform-specific hardware abstraction!
- Parameters
-
- pin | Pin to measure on (platform-specific). |
- state | Pin level to monitor (platform-specific). |
- timeout | Timeout in microseconds. |
+ pin | Pin to measure on (platform-specific). |
+ state | Pin level to monitor (platform-specific). |
+ timeout | Timeout in microseconds. |
@@ -745,7 +745,7 @@ const uint32_t | Method to transfer one byte over SPI.
- Parameters
-
- b | Byte to send. |
+ b | Byte to send. |
@@ -796,8 +796,8 @@ const uint32_t | Method to produce a square-wave with 50% duty cycle ("tone") of a given frequency at some pin.
- Parameters
-
- pin | Pin to be used as the output. |
- frequency | Frequency of the square wave. |
+ pin | Pin to be used as the output. |
+ frequency | Frequency of the square wave. |
duration | Duration of the tone in ms. When set to 0, the tone will be infinite. |
|