Arduino Radio Library  0.9
A set of Arduino libraries to control diverse FM radio receiver chips in Arduino projects.
Macros
TEA5767.cpp File Reference

Implementation for the radio library to control the TEA5767 radio chip. More...

#include <Arduino.h>
#include <Wire.h>
#include <RADIO.h>
#include <TEA5767.h>

Macros

#define TEA5767_ADR   0x60
 
#define QUARTZ   32768
 
#define FILTER   225000
 
#define REG_1   0x00
 
#define REG_1_MUTE   0x80
 
#define REG_1_SM   0x40
 
#define REG_1_PLL   0x3F
 
#define REG_2   0x01
 
#define REG_2_PLL   0xFF
 
#define REG_3   0x02
 
#define REG_3_MS   0x08
 
#define REG_3_SSL   0x60
 
#define REG_3_SUD   0x80
 
#define REG_4   0x03
 
#define REG_4_SMUTE   0x08
 
#define REG_4_XTAL   0x10
 
#define REG_4_BL   0x20
 
#define REG_4_STBY   0x40
 
#define REG_5   0x04
 
#define REG_5_PLLREF   0x80
 
#define REG_5_DTC   0x40
 
#define STAT_3   0x02
 
#define STAT_3_STEREO   0x80
 
#define STAT_4   0x03
 
#define STAT_4_ADC   0xF0
 
#define IN_EUROPE
 

Detailed Description

Implementation for the radio library to control the TEA5767 radio chip.

Author
Matthias Hertel, http://www.mathertel.de

This library enables the use of the Radio Chip TEA5767.

More documentation and source code is available at http://www.mathertel.de/Arduino

good links for hints how to implement this chip: http://www.sparkfun.com/datasheets/Wireless/General/TEA5767.pdf http://www.rockbox.org/wiki/pub/Main/DataSheets/application_note_tea5767-8.pdf https://raw.githubusercontent.com/mroger/TEA5767/master/TEA5767N.cpp http://www.electronicsblog.net https://github.com/andykarpov/TEA5767/blob/master/TEA5767.cpp

ChangeLog see TEA5767.h:

Macro Definition Documentation

#define FILTER   225000
#define IN_EUROPE
#define QUARTZ   32768
#define REG_1   0x00
#define REG_1_MUTE   0x80
#define REG_1_PLL   0x3F
#define REG_1_SM   0x40
#define REG_2   0x01
#define REG_2_PLL   0xFF
#define REG_3   0x02
#define REG_3_MS   0x08
#define REG_3_SSL   0x60
#define REG_3_SUD   0x80
#define REG_4   0x03
#define REG_4_BL   0x20
#define REG_4_SMUTE   0x08
#define REG_4_STBY   0x40
#define REG_4_XTAL   0x10
#define REG_5   0x04
#define REG_5_DTC   0x40
#define REG_5_PLLREF   0x80
#define STAT_3   0x02
#define STAT_3_STEREO   0x80
#define STAT_4   0x03
#define STAT_4_ADC   0xF0
#define TEA5767_ADR   0x60