mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-24 23:40:12 +00:00
18 lines
423 B
C
18 lines
423 B
C
|
#ifndef __arha_dcf77util_h
|
||
|
#define __arha_dcf77util_h
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
#include <stdint.h>
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
void set_dcf_message(uint8_t* dest, uint8_t minute, uint8_t hour,
|
||
|
uint8_t day, uint8_t month, uint8_t year, uint8_t dow,
|
||
|
bool dst, bool predst, bool abnormal, bool leap, uint16_t civbits);
|
||
|
|
||
|
#ifndef BBIT
|
||
|
#define BBIT(B,shift) (!!(B & (1 << shift)))
|
||
|
#endif
|
||
|
|
||
|
|
||
|
|
||
|
#endif
|