Flipper Developer Docs
Loading...
Searching...
No Matches
fsk_osc.h
1
#pragma once
2
#include <stdint.h>
3
#include <stdbool.h>
4
5
#ifdef __cplusplus
6
extern
"C"
{
7
#endif
8
9
typedef
struct
FSKOsc
FSKOsc
;
10
20
FSKOsc
* fsk_osc_alloc(uint32_t freq_low, uint32_t freq_hi, uint32_t osc_phase_max);
21
27
void
fsk_osc_free(
FSKOsc
* osc);
28
34
void
fsk_osc_reset(
FSKOsc
* osc);
35
44
bool
fsk_osc_next(
FSKOsc
* osc,
bool
bit, uint32_t* period);
45
56
bool
fsk_osc_next_half(
FSKOsc
* osc,
bool
bit,
bool
* level, uint32_t* duration);
57
58
#ifdef __cplusplus
59
}
60
#endif
FSKOsc
Definition
fsk_ocs.c:4
lib
lfrfid
tools
fsk_osc.h
Generated by
1.12.0