diff options
Diffstat (limited to 'firmware/export/rds.h')
| -rw-r--r-- | firmware/export/rds.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/firmware/export/rds.h b/firmware/export/rds.h new file mode 100644 index 0000000..990f9b4 --- /dev/null +++ b/firmware/export/rds.h @@ -0,0 +1,33 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (c) 2011 by Bertrik Sikken + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ +#include <stdint.h> +#include <stdbool.h> + +void rds_init(void); + +void rds_reset(void); +bool rds_process(uint16_t data[4]); + +uint16_t rds_get_pi(void); +char* rds_get_ps(void); +char* rds_get_rt(void); + + |