Hardware Abstraction Layer for FreeRTOS
|
Data Structures | |
struct | counter_generic |
Enumerations | |
enum | counter_mode { COUNTER_FALLING, COUNTER_RISING, COUNTER_EITHER } |
Functions | |
struct counter * | counter_init (uint32_t index, enum counter_mode mode) |
int32_t | counter_deinit (struct counter *counter) |
int64_t | counter_getValue (struct counter *counter) |
int32_t | counter_reset (struct counter *counter) |
enum counter_mode |
int32_t counter_deinit | ( | struct counter * | counter | ) |
Deinit Driver Instants
counter | Instant |
int64_t counter_getValue | ( | struct counter * | counter | ) |
Get Counter Value
counter | Instant |
struct counter* counter_init | ( | uint32_t | index, |
enum counter_mode | mode | ||
) |
Init Function
index | in counters Array |
mode |
int32_t counter_reset | ( | struct counter * | counter | ) |
counter | Instant |