Skip to main content

Class Tea5767

Represents a TEA5767 radio

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

Implements:
Meadow.Hardware.II2cPeripheral

Properties

IsMuted

Is the audio muted

View Source
Declaration
public bool IsMuted { get; set; }

DefaultI2cAddress

The default I2C address for the peripheral

View Source
Declaration
public byte DefaultI2cAddress { get; }

Fields

i2cComms

I2C Communication bus used to communicate with the peripheral

View Source
Declaration
protected readonly II2cCommunications i2cComms

Methods

Mute()

Mute audio if not muted

View Source
Declaration
public void Mute()

SelectFrequency(Frequency)

Select radio frequency

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

GetFrequency()

Get the current radio frequency

View Source
Declaration
public Frequency GetFrequency()
Returns

Meadow.Units.Frequency

SearchNextSilent()

Search to next station and mute while seeking

View Source
Declaration
public bool SearchNextSilent()
Returns

System.Boolean

SearchNext()

Search to next station

View Source
Declaration
public bool SearchNext()
Returns

System.Boolean

SearchFromBeginningMuted()

Start searching for station from lowest frequency (87Mhz)

View Source
Declaration
public bool SearchFromBeginningMuted()
Returns

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

View Source
Declaration
public bool SearchFromEndMuted()
Returns

System.Boolean

StartSearchFromBeginning()

Start searching for station from lowest frequency (87Mhz)

View Source
Declaration
public bool StartSearchFromBeginning()
Returns

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

View Source
Declaration
public bool StartSearchFromEnd()
Returns

System.Boolean

GetSignalLevel()

Get Signal Level

View Source
Declaration
public byte GetSignalLevel()
Returns

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

View Source
Declaration
public bool IsStereo()
Returns

System.Boolean

IsReady()

Is the radio ready for operation

View Source
Declaration
public bool IsReady()
Returns

System.Boolean

IsSearchUp()

Is search mode up

View Source
Declaration
public bool IsSearchUp()
Returns

System.Boolean

IsSearchDown()

Is search mode down

View Source
Declaration
public bool IsSearchDown()
Returns

System.Boolean

IsStandby()

Is the radio in standby mode

View Source
Declaration
public bool IsStandby()
Returns

System.Boolean

EnableStereo(bool)

Enable stereo if set to mono

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

SetSoftMuteOn()

Enable soft mute

View Source
Declaration
public void SetSoftMuteOn()

SetSoftMuteOff()

Turn soft mute off if enabled

View Source
Declaration
public void SetSoftMuteOff()

MuteRight()

Mute the right channel

View Source
Declaration
public void MuteRight()

UnmuteRight()

Unmute the right channel

View Source
Declaration
public void UnmuteRight()

MuteLeft()

Mute the left channel

View Source
Declaration
public void MuteLeft()

UnmuteLeft()

Unmute the left channel

View Source
Declaration
public void UnmuteLeft()

EnableStandby(bool)

Enable standby mode

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

SetHighCutControlOn()

Enable high cut control

View Source
Declaration
public void SetHighCutControlOn()

SetHighCutControlOff()

Disable high cut control

View Source
Declaration
public void SetHighCutControlOff()

SetStereoNoiseCancellingOn()

Enable stereo noise canceling

View Source
Declaration
public void SetStereoNoiseCancellingOn()

SetStereoNoiseCancellingOff()

Disable stereo noise canceling

View Source
Declaration
public void SetStereoNoiseCancellingOff()

Implements

  • Meadow.Hardware.II2cPeripheral