PU2CLR AKC695X Arduino Library  1.0.1
This is an Arduino Library to control the AKC695X / M695X DSP radio devices
Basic Methods

Functions

void AKC695X::reset ()
 Resets the system.
 
void AKC695X::setI2CBusAddress (int deviceAddress)
 Sets the I2C bus device address. More...
 
void AKC695X::setup (int reset_pin)
 Receiver startup. More...
 
void AKC695X::powerOn (uint8_t fm_en, uint8_t tune, uint8_t mute, uint8_t seek, uint8_t seekup)
 Power the device on. More...
 
void AKC695X::setRegister (uint8_t reg, uint8_t parameter)
 Sets a given register with a given value. More...
 
uint8_t AKC695X::getRegister (uint8_t reg)
 Gets a given register content. More...
 

Detailed Description

SI47XX Arduino Library implementation

This Library is under construction......

This is an Arduino library for the AKC695X, BROADCAST RECEIVER, IC family.
It works with I2C protocol and can provide an easier interface for controlling the AKC695X devices.

This library was built based on AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio document from "AKC technology". It also intend to be used on all members of the AKC695X family respecting, of course, the features available for each IC version.

This library can be freely distributed using the MIT Free Software model. Copyright (c) 2019 Ricardo Lima Caratti.
Contact: pu2cl.nosp@m.r@gm.nosp@m.ail.c.nosp@m.om

Basic

Function Documentation

◆ getRegister()

uint8_t AKC695X::getRegister ( uint8_t  reg)

Gets a given register content.

It is a basic function to get a value from a given AKC695X device register

Parameters
regregister number to be read (0 ~ 26)
Returns
the register content

◆ powerOn()

void AKC695X::powerOn ( uint8_t  fm_en,
uint8_t  tune,
uint8_t  mute,
uint8_t  seek,
uint8_t  seekup 
)

Power the device on.

Starts the AKC695X with some parameters.

Parameters
fm_en1 = FM mode; 0 = AM mode
tuneIf 1 Trigger tune process. The STC bit is set high when the tune operation completes
muteIf 1 mute L/R audio
seekIf 1 Trigger tune process. The STC bit is set high when the tune operation completes
seekupSeek direction control bit. 0 = Seek down; 1 = Seek up

◆ setI2CBusAddress()

void AKC695X::setI2CBusAddress ( int  deviceAddress)

Sets the I2C bus device address.

You do not need use this function if your i2c device address is 0x10 (default value)

Parameters
deviceAddress

◆ setRegister()

void AKC695X::setRegister ( uint8_t  reg,
uint8_t  parameter 
)

Sets a given register with a given value.

It is a basic function to deal with the AKC695X devices

Parameters
regregister number to be written (only for RW type registers)
parametervalue to be written in the register

◆ setup()

void AKC695X::setup ( int  resetPin)

Receiver startup.

Parameters
resetPinif >= 0, then you control the RESET. if -1, you are using ths MCU RST pin.