Hardware Abstraction Layer for FreeRTOS
counter_software.h File Reference

Go to the source code of this file.

Macros

#define ADD_COUNTER_SOFTWARE(id)
 
#define COUNTER_SOFTWARE_ID(id)   HAL_GET_ID(counter, software, counter_software_##id)
 

Functions

int32_t counter_software_connect (struct counter *c, struct gpio_pin *pin)
 

Macro Definition Documentation

◆ ADD_COUNTER_SOFTWARE

#define ADD_COUNTER_SOFTWARE (   id)
Value:
struct counter_software counter_software_##id = { \
COUNTER_INIT_DEV(software) \
HAL_NAME("Software COUNTER " #id) \
};\
COUNTER_ADDDEV(software, counter_software_##id)

◆ COUNTER_SOFTWARE_ID

#define COUNTER_SOFTWARE_ID (   id)    HAL_GET_ID(counter, software, counter_software_##id)

Function Documentation

◆ counter_software_connect()

int32_t counter_software_connect ( struct counter *  c,
struct gpio_pin *  pin 
)