Table of Contents

Class Tea5767

Namespace
Iot.Device.RadioReceiver
Assembly
Iot.Device.RadioReceiver.dll

FM Stereo Radio TEA5767.

public class Tea5767 : RadioReceiverBase
Inheritance
Tea5767
Inherited Members

Constructors

Tea5767(I2cDevice, FrequencyRange, Frequency)

Initializes a new instance of the Tea5767 class.

public Tea5767(I2cDevice i2cDevice, FrequencyRange frequencyRange, Frequency frequency)

Parameters

i2cDevice I2cDevice

The I2C device used for communication.

frequencyRange FrequencyRange

FM frequency range.

frequency Frequency

FM frequency.

Fields

DefaultI2cAddress

TEA5767 default I2C address.

public const byte DefaultI2cAddress = 96

Field Value

byte

Properties

Frequency

TEA5767 FM frequency.

public override Frequency Frequency { get; set; }

Property Value

Frequency

FrequencyRange

Gets or sets TEA5767 FM frequency range.

public FrequencyRange FrequencyRange { get; set; }

Property Value

FrequencyRange

Mute

Gets or sets a value indicating whether TEA5767 is muted.

public bool Mute { get; set; }

Property Value

bool

Standby

Gets or sets a value indicating whether TEA5767 is in standby.

public bool Standby { get; set; }

Property Value

bool

Methods

Dispose(bool)

Releases the unmanaged resources used by the RadioReceiverBase and optionally releases the managed resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

True to release both managed and unmanaged resources; false to release only unmanaged resources.

Search(SearchDirection, int)

Automatic search for effective radio.

public void Search(SearchDirection searchDirection = SearchDirection.Up, int stopLevel = 3)

Parameters

searchDirection SearchDirection

Search up or down from the current frequency.

stopLevel int

Stop search condition (range from 1 to 3).