Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
ulp.cpp File Reference
#include <driver/rtc_io.h>
#include "driver/gpio.h"
#include "esp32/ulp.h"
#include "../ulp/ulp_main.h"
#include "ulp.h"
#include "DeviceConfig.h"
Include dependency graph for ulp.cpp:

Macros

#define TAG   "ulp"
 
#define ULPSLEEP_uS   2000
 
#define RTC_ULP_PIN   GPIO_NUM_27
 

Functions

const uint8_t ulp_main_bin_start[] asm ("_binary_ulp_main_bin_start")
 
const uint8_t ulp_main_bin_end[] asm ("_binary_ulp_main_bin_end")
 
void initULP (void)
 
uint32_t get_pulse_count (void)
 
uint32_t get_shortest_pulse (void)
 

Macro Definition Documentation

◆ RTC_ULP_PIN

#define RTC_ULP_PIN   GPIO_NUM_27

◆ TAG

#define TAG   "ulp"

◆ ULPSLEEP_uS

#define ULPSLEEP_uS   2000

Function Documentation

◆ asm() [1/2]

const uint8_t ulp_main_bin_end[] asm ( "_binary_ulp_main_bin_end"  )

◆ asm() [2/2]

const uint8_t ulp_main_bin_start[] asm ( "_binary_ulp_main_bin_start"  )

◆ get_pulse_count()

uint32_t get_pulse_count ( void  )

◆ get_shortest_pulse()

uint32_t get_shortest_pulse ( void  )

◆ initULP()

void initULP ( void  )