PU2CLR RDA5807 Arduino Library
1.0.1
Arduino Library for RDA5807 Devices - By Ricardo Lima Caratti
|
#include <Arduino.h>
#include <Wire.h>
Go to the source code of this file.
Data Structures | |
union | rda_reg00 |
Register 0x00. More... | |
union | rda_reg01 |
Register 0x01 - Dummy. More... | |
union | rda_reg02 |
Register 0x02 - Basic setup: RESET configuration;. More... | |
union | rda_reg03 |
Register 0x03. More... | |
union | rda_reg04 |
Register 0x04. More... | |
union | rda_reg05 |
Register 0x05. More... | |
union | rda_reg06 |
Register 0x06. More... | |
union | rda_reg07 |
Register 0x07. More... | |
union | rda_reg08 |
Register 0x08 - Direct Frequency. More... | |
union | rda_reg0a |
Register 0x0A - Device current status. More... | |
union | rda_reg0b |
Register 0x0B. More... | |
union | rda_reg0c |
Register 0x0C. More... | |
union | rda_reg0d |
Register 0x0D. More... | |
union | rda_reg0e |
Register 0x0E. More... | |
union | rda_reg0f |
Register 0x0F. More... | |
union | rds_blockb |
RDS Block B data type. More... | |
union | rds_date_time |
union | word16_to_bytes |
Converts 16 bits word to two bytes. More... | |
class | RDA5807 |
KT0915 Class. More... | |
struct | rda_reg00.refined |
struct | rda_reg01.refined |
struct | rda_reg02.refined |
struct | rda_reg03.refined |
struct | rda_reg04.refined |
struct | rda_reg05.refined |
struct | rda_reg06.refined |
struct | rda_reg07.refined |
struct | rda_reg08.refined |
struct | rda_reg0a.refined |
struct | rda_reg0b.refined |
struct | rda_reg0c.refined |
struct | rda_reg0d.refined |
struct | rda_reg0e.refined |
struct | rda_reg0f.refined |
struct | rds_blockb.group0 |
struct | rds_blockb.group2 |
struct | rds_blockb.refined |
struct | rds_date_time.refined |
struct | word16_to_bytes.refined |
Macros | |
#define | MAX_DELAY_AFTER_OSCILLATOR 500 |
#define | I2C_ADDR_DIRECT_ACCESS 0x11 |
Can be used to access a given register at a time. More... | |
#define | I2C_ADDR_FULL_ACCESS 0x10 |
Can be used to access a set of register at a time. More... | |
#define | OSCILLATOR_TYPE_CRYSTAL 0 |
Crystal. More... | |
#define | OSCILLATOR_TYPE_REFCLK 1 |
Reference clock. More... | |
#define | CLOCK_32K 0 |
32.768kHz More... | |
#define | CLOCK_12M 1 |
12Mhz More... | |
#define | CLOCK_13M 2 |
13Mhz More... | |
#define | CLOCK_19_2M 3 |
19.2Mhz More... | |
#define | CLOCK_24M 5 |
24Mhz More... | |
#define | CLOCK_26M 6 |
26Mhz More... | |
#define | CLOCK_38_4M 7 |
38.4Mhz More... | |
#define | RDS_STANDARD 0 |
RDS Mode. More... | |
#define | RDS_VERBOSE 1 |
RDS Mode. More... | |
#define | RDA_FM_BAND_USA_EU 0 |
87.5–108 MHz (US / Europe, Default) More... | |
#define | RDA_FM_BAND_JAPAN_WIDE 1 |
76–91 MHz (Japan wide band) More... | |
#define | RDA_FM_BAND_WORLD 2 |
76–108 MHz (world wide) More... | |
#define | RDA_FM_BAND_SPECIAL 3 |
65 –76 MHz(East Europe) or 50 - 65MHz(see bit 9 of gegister 0x06) More... | |
#define | RDA_SEEK_WRAP 0 |
Wrap at the upper or lower band limit and continue seeking. More... | |
#define | RDA_SEEK_STOP 1 |
Stop seeking at the upper or lower band limit. More... | |
#define | RDA_SEEK_DOWN 0 |
Seek Up. More... | |
#define | RDA_SEEK_UP 1 |
Seek Down. More... | |
#define | REG00 0x00 |
#define | REG02 0x02 |
#define | REG03 0x03 |
#define | REG04 0x04 |
#define | REG05 0x05 |
#define | REG06 0x06 |
#define | REG07 0x07 |
#define | REG0A 0x0A |
#define | REG0B 0x0B |
#define | REG0C 0x0C |
#define | REG0D 0x0D |
#define | REG0E 0x0E |
#define | REG0F 0x0F |
#define | SH_REG0A 0 |
#define | SH_REG0B 1 |
#define | SH_REG0C 2 |
#define | SH_REG0D 3 |
#define | SH_REG0E 4 |
#define | SH_REG0F 5 |
#define MAX_DELAY_AFTER_OSCILLATOR 500 |
#define I2C_ADDR_DIRECT_ACCESS 0x11 |
Can be used to access a given register at a time.
#define I2C_ADDR_FULL_ACCESS 0x10 |
Can be used to access a set of register at a time.
#define OSCILLATOR_TYPE_CRYSTAL 0 |
Crystal.
#define OSCILLATOR_TYPE_REFCLK 1 |
Reference clock.
#define CLOCK_32K 0 |
32.768kHz
#define CLOCK_12M 1 |
12Mhz
#define CLOCK_13M 2 |
13Mhz
#define CLOCK_19_2M 3 |
19.2Mhz
#define CLOCK_24M 5 |
24Mhz
#define CLOCK_26M 6 |
26Mhz
#define CLOCK_38_4M 7 |
38.4Mhz
#define RDS_STANDARD 0 |
RDS Mode.
#define RDS_VERBOSE 1 |
RDS Mode.
#define RDA_FM_BAND_USA_EU 0 |
87.5–108 MHz (US / Europe, Default)
#define RDA_FM_BAND_JAPAN_WIDE 1 |
76–91 MHz (Japan wide band)
#define RDA_FM_BAND_WORLD 2 |
76–108 MHz (world wide)
#define RDA_FM_BAND_SPECIAL 3 |
65 –76 MHz(East Europe) or 50 - 65MHz(see bit 9 of gegister 0x06)
#define RDA_SEEK_WRAP 0 |
Wrap at the upper or lower band limit and continue seeking.
#define RDA_SEEK_STOP 1 |
Stop seeking at the upper or lower band limit.
#define RDA_SEEK_DOWN 0 |
Seek Up.
#define RDA_SEEK_UP 1 |
Seek Down.
#define REG00 0x00 |
#define REG02 0x02 |
#define REG03 0x03 |
#define REG04 0x04 |
#define REG05 0x05 |
#define REG06 0x06 |
#define REG07 0x07 |
#define REG0A 0x0A |
#define REG0B 0x0B |
#define REG0C 0x0C |
#define REG0D 0x0D |
#define REG0E 0x0E |
#define REG0F 0x0F |
#define SH_REG0A 0 |
#define SH_REG0B 1 |
#define SH_REG0C 2 |
#define SH_REG0D 3 |
#define SH_REG0E 4 |
#define SH_REG0F 5 |