Bit definitions for DCF77 transmission.
Low-level GPIO peripheral driver interface definitions.
void dcf77_set_tick_cb(dcf77_t *dev, dcf77_tick_cb_t cb, void *arg)
Set a tick callback for DCF77.
int dcf77_init(dcf77_t *dev, const dcf77_params_t *params)
Initialize a new DCF77 device.
void(* dcf77_tick_cb_t)(struct dcf77 *dev, void *arg)
Signature for tick callback.
struct dcf77 dcf77_t
Device descriptor for DCF77 sensor devices.
int dcf77_get_time(dcf77_t *dev, struct tm *time)
get a new timestamp from the device.
@ DCF77_INIT_ERROR
Initialization error.
@ DCF77_NOCSUM
checksum error
@ DCF77_TIMEOUT
communication timed out
Adds include for missing inttype definitions.
gpio_mode_t
Available pin modes.
Configuration parameters for DCF77 devices.
gpio_t pin
GPIO pin of the device's data pin.
gpio_mode_t in_mode
input pin configuration from the device, without pull resistor
Device descriptor for DCF77 sensor devices.
dcf77_bits_t last_bitseq
contains all Bits from a last cycle
void * tick_cb_args
Arguments for the tick callback.
dcf77_tick_cb_t tick_cb
Callback to be called if a new minute starts.
dcf77_params_t params
Device parameters.
dcf77_bits_t bitseq
contains all Bits from a current cycle
uint8_t bitCounter
Counter of the Bits in a Bitsequenz.
uint32_t startTime
Timestamp to measure the term of the level.
uint8_t internal_state
internal States
Timeinformation bitfields for DCF77 devices.
xtimer interface definitions