Skip to main content

Class Tea5767

Represents a TEA5767 radio

Assembly: Tea5767.dll
View Source
public class Tea5767 : II2cPeripheral

Implements:
Meadow.Hardware.II2cPeripheral

Properties

IsMuted

Is the audio muted

View Source
public bool IsMuted { get; set; }

DefaultI2cAddress

The default I2C address for the peripheral

View Source
public byte DefaultI2cAddress { get; }

Fields

i2cComms

I2C Communication bus used to communicate with the peripheral

View Source
protected readonly II2cCommunications i2cComms

Methods

Mute()

Mute audio if not muted

View Source
public void Mute()

SelectFrequency(Frequency)

Select radio frequency

View Source
public void SelectFrequency(Frequency frequency)
Parameters
TypeNameDescription
Meadow.Units.Frequencyfrequencythe frequency

GetFrequency()

Get the current radio frequency

View Source
public Frequency GetFrequency()
Returns

Meadow.Units.Frequency

SearchNextSilent()

Search to next station and mute while seeking

View Source
public bool SearchNextSilent()
Returns

System.Boolean

SearchNext()

Search to next station

View Source
public bool SearchNext()
Returns

System.Boolean

SearchFromBeginningMuted()

Start searching for station from lowest frequency (87Mhz)

View Source
public bool SearchFromBeginningMuted()
Returns

System.Boolean: true if station found### SearchFromEndMuted() Start searching for station from highest frequency (108Mhz)

View Source
public bool SearchFromEndMuted()
Returns

System.Boolean

StartSearchFromBeginning()

Start searching for station from lowest frequency (87Mhz)

View Source
public bool StartSearchFromBeginning()
Returns

System.Boolean: true if station found### StartSearchFromEnd() Start searching for station from highest frequency (108Mhz)

View Source
public bool StartSearchFromEnd()
Returns

System.Boolean

GetSignalLevel()

Get Signal Level

View Source
public byte GetSignalLevel()
Returns

System.Byte: level as a byte (0-255)### IsStereo() Is the current station stereo

View Source
public bool IsStereo()
Returns

System.Boolean

IsReady()

Is the radio ready for operation

View Source
public bool IsReady()
Returns

System.Boolean

IsSearchUp()

Is search mode up

View Source
public bool IsSearchUp()
Returns

System.Boolean

IsSearchDown()

Is search mode down

View Source
public bool IsSearchDown()
Returns

System.Boolean

IsStandby()

Is the radio in standby mode

View Source
public bool IsStandby()
Returns

System.Boolean

EnableStereo(bool)

Enable stereo if set to mono

View Source
public void EnableStereo(bool enable)
Parameters
TypeName
System.Booleanenable

SetSoftMuteOn()

Enable soft mute

View Source
public void SetSoftMuteOn()

SetSoftMuteOff()

Turn soft mute off if enabled

View Source
public void SetSoftMuteOff()

MuteRight()

Mute the right channel

View Source
public void MuteRight()

UnmuteRight()

Unmute the right channel

View Source
public void UnmuteRight()

MuteLeft()

Mute the left channel

View Source
public void MuteLeft()

UnmuteLeft()

Unmute the left channel

View Source
public void UnmuteLeft()

EnableStandby(bool)

Enable standby mode

View Source
public void EnableStandby(bool enable)
Parameters
TypeName
System.Booleanenable

SetHighCutControlOn()

Enable high cut control

View Source
public void SetHighCutControlOn()

SetHighCutControlOff()

Disable high cut control

View Source
public void SetHighCutControlOff()

SetStereoNoiseCancellingOn()

Enable stereo noise canceling

View Source
public void SetStereoNoiseCancellingOn()

SetStereoNoiseCancellingOff()

Disable stereo noise canceling

View Source
public void SetStereoNoiseCancellingOff()

Implements

  • Meadow.Hardware.II2cPeripheral