libpynq
(release 5EID0-2023 version 0.3.0 of 2024-04-25 09:42 )
|
#include "pulsecounter.h"
#include "arm_shared_memory_system.h"
#include "log.h"
#include <platform.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
void | pulsecounter_init (const pulsecounter_index_t pci) |
void | pulsecounter_destroy (const pulsecounter_index_t pci) |
uint32_t | pulsecounter_get_count (const pulsecounter_index_t pci, uint32_t *timestamp) |
void | pulsecounter_set_edge (const pulsecounter_index_t pci, const gpio_level_t edge) |
gpio_level_t | pulsecounter_get_edge (const pulsecounter_index_t pci) |
void | pulsecounter_reset_count (const pulsecounter_index_t pci) |
uint8_t | pulsecounter_get_filter_length (const pulsecounter_index_t pci) |
void | pulsecounter_set_filter_length (const pulsecounter_index_t pci, uint8_t const count) |
Variables | |
const uint32_t | PULSECOUNTER_PULSES = 0 |
const uint32_t | PULSECOUNTER_COUNTER = 1 |
const uint32_t | PULSECOUNTER_EDGE = 2 |
const uint32_t | PULSECOUNTER_FILTER = 3 |
const uint32_t PULSECOUNTER_COUNTER = 1 |
Definition at line 35 of file pulsecounter.c.
const uint32_t PULSECOUNTER_EDGE = 2 |
Definition at line 36 of file pulsecounter.c.
const uint32_t PULSECOUNTER_FILTER = 3 |
Definition at line 37 of file pulsecounter.c.
const uint32_t PULSECOUNTER_PULSES = 0 |
Definition at line 34 of file pulsecounter.c.