PU2CLR AKC695X Arduino Library  1.0.2
This is an Arduino Library to control the AKC695X / M695X DSP radio devices
Union, Structure and Defined Data Types

AKC695X Defined Data Types. More...

Data Structures

union  akc595x_reg0
 Reg0 (type 0x00 / RW): configures register 0 (default: 0x4c) Address. More...
 
struct  akc595x_reg0.refined
 
union  akc595x_reg1
 Reg1 (type 0x01 / RW): configures register 1 (default: 0x10) Address. More...
 
struct  akc595x_reg1.refined
 
union  akc595x_reg2
 Reg2 (type 0x02 / RW): configure register 2 (default: 0x4A) Address. More...
 
struct  akc595x_reg2.refined
 
union  akc595x_reg6
 Reg6 (type 0x06 / RW): configures register 0 (default: 0xA1) Address. More...
 
struct  akc595x_reg6.refined
 
union  akc595x_reg7
 Reg7 (type 0x07 / RW): configures register 0 (default: 0xA1) Address. More...
 
struct  akc595x_reg7.refined
 
union  akc595x_reg8
 Reg8 (type 0x08 / RW): configures register 8 (default: 0x58) Address. More...
 
struct  akc595x_reg8.refined
 
union  akc595x_reg9
 Reg9 (type 0x09 / RW): configure register 9 (default: 0x07) Address. More...
 
struct  akc595x_reg9.refined
 
union  akc595x_reg11
 Reg11 (type 0x0B / RW): configure register 9 (default: 0xE0) Address. More...
 
struct  akc595x_reg11.refined
 
union  akc595x_reg12
 Reg12 (type 0x0C / RW): configure register 11 (default: 0x??) Address. More...
 
struct  akc595x_reg12.refined
 
union  akc595x_reg13
 Reg13 (type 0x0D / RW): configure register 11 (default: 0x??) Address. More...
 
struct  akc595x_reg13.refined
 
union  akc595x_reg20
 Reg20 (type 0x14 / R) More...
 
struct  akc595x_reg20.refined
 
union  akc595x_reg22
 Reg22 (type 0x16 / R) More...
 
struct  akc595x_reg22.refined
 
union  akc595x_reg23
 Reg23 (type 0x17 / R) More...
 
struct  akc595x_reg23.refined
 
union  akc595x_reg24
 Reg24 (type 0x18 / R) More...
 
struct  akc595x_reg24.refined
 
union  akc595x_reg25
 Reg25 (type 0x19 / R) More...
 
struct  akc595x_reg25.refined
 
union  akc595x_reg27
 Reg27 (type 0x1B / R) More...
 
struct  akc595x_reg27.refined
 

Typedefs

typedef uint8_t akc595x_reg3
 Reg3 (type 0x03 / RW): configures register 3 (default: 0xC8) Address. More...
 
typedef uint8_t akc595x_reg4
 Reg4 (type 0x04 / RW): configures register 4 (default: 0x19) Address. More...
 
typedef uint8_t akc595x_reg5
 Reg5 (type 0x05 / RW): configures register 5 (default: 0x32) Address. More...
 
typedef uint8_t akc595x_reg21
 Reg21 (type 0x15 / R) More...
 
typedef uint8_t akc595x_reg26
 Reg26 (type 0x1A / R) More...
 

Detailed Description

AKC695X Defined Data Types.

Defined Data Types is a way to represent the AKC695X registers information

Some information appears to be inaccurate due to translation problems from Chinese to English.

The information shown here was extracted from Datasheet:

AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation.

Other information seems incomplete even in the original Chinese Datasheet.

For example: Reg 10 (0x0A). There is no information about it. The Reg11 and 12 seem wrong


Data Structure Documentation

◆ akc595x_reg0

union akc595x_reg0

Reg0 (type 0x00 / RW): configures register 0 (default: 0x4c) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 11
Data Fields
struct akc595x_reg0 refined
uint8_t raw

◆ akc595x_reg0.refined

struct akc595x_reg0.refined
Data Fields
uint8_t rsv: 2 Reserved - Debug use, do not change this value using.
uint8_t mute: 1 1 - Mute L / R channel 0 - Normal operation
uint8_t seekup: 1 Seek direction control bit. 0 = Seek down; 1 = Seek up.
uint8_t seek: 1 0-> 1 Trigger tune process The STC bit is set high when the tune operation completes.
uint8_t tune: 1 0-> 1 Trigger tune process The STC bit is set high when the tune operation completes.
uint8_t fm_en: 1 1 = FM mode; 0 = AM mode
uint8_t power_on: 1 1 = Chip on; 0 = Chip off

◆ akc595x_reg1

union akc595x_reg1

Reg1 (type 0x01 / RW): configures register 1 (default: 0x10) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 12
Data Fields
struct akc595x_reg1 refined
uint8_t raw

◆ akc595x_reg1.refined

struct akc595x_reg1.refined
Data Fields
uint8_t fmband: 3
uint8_t amband: 4

◆ akc595x_reg2

union akc595x_reg2

Reg2 (type 0x02 / RW): configure register 2 (default: 0x4A) Address.

High channel number 5, the channel number and frequencies related as follows:

FM mode: Channel Freq = 25kHz * CHAN + 30MHz AM mode, when 5K channel number pattern:.

Channel Freq = 5kHz * CHAN AM mode, 3K channel number pattern. when: Channel Freq = 3kHz * CHAN.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 12
Data Fields
struct akc595x_reg2 refined
uint8_t raw

◆ akc595x_reg2.refined

struct akc595x_reg2.refined
Data Fields
uint8_t channel: 5 (0:4) - 5 most significant bits that represents the channel (see reg3)
uint8_t mode3k: 1 (5) - 1 = 3K; 0 = 5K
uint8_t ref_32k_mode: 1 (6) - 1 = 32K ref. crystal clock; 0 = 12MHz ref crystal clock
uint8_t rsv: 1 (7) - Reserved - Debug use, do not change this value using

◆ akc595x_reg6

union akc595x_reg6

Reg6 (type 0x06 / RW): configures register 0 (default: 0xA1) Address.

Data Fields
struct akc595x_reg6 refined
uint8_t raw

◆ akc595x_reg6.refined

struct akc595x_reg6.refined
Data Fields
uint8_t phase_inv: 1 0 = audio output inphase, 1 = opposite phase, for single speaker
uint8_t line: 1 0 = Radio mode; 1 = Line Mode
uint8_t volume: 6 Volume: 0 ~ 63 (<24 = mute; 24 ~ 63)

◆ akc595x_reg7

union akc595x_reg7

Reg7 (type 0x07 / RW): configures register 0 (default: 0xA1) Address.

stereo and mono: "00" the auto stereo, there Stereo_th control threshold ; "10" long as the pilot is forced stereo "x1" forced mono demodulator

Data Fields
struct akc595x_reg7 refined
uint8_t raw

◆ akc595x_reg7.refined

struct akc595x_reg7.refined
Data Fields
uint8_t bw: 2 00 = 150K; 01 = 200K; 10 = 50K; 11 = 100K
uint8_t stereo_mono: 2 "00" the auto stereo, there Stereo_th control threshold ; "10" long as the pilot is forced stereo "x1" forced mono demodulator
uint8_t bben: 1 Base boost enable 0; Close bass 1.
uint8_t de: 1 De-emphasis mode. 1 = 75 μ s (USA); 0 = 50 μ s (China)
uint8_t rsv: 2 Measured using, set to "0" during normal use.

◆ akc595x_reg8

union akc595x_reg8

Reg8 (type 0x08 / RW): configures register 8 (default: 0x58) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14
Data Fields
struct akc595x_reg8 refined
uint8_t raw

◆ akc595x_reg8.refined

struct akc595x_reg8.refined
Data Fields
uint8_t stereo_th: 2 FM stereo demodulation start CNR threshold - 00=4, 01=8, 10=12,11=16.
uint8_t fd_th: 2
uint8_t am_cnr_th: 2 When AM mode, chip sets and lighting sentence carrier to noise ratio threshold.
uint8_t fm_cnr_th: 2 When the FM mode, chip sets and lighting sentence carrier to noise. Ratio limit 00-2dB 01-3dB 10-4dB 11-5dB door.

◆ akc595x_reg9

union akc595x_reg9

Reg9 (type 0x09 / RW): configure register 9 (default: 0x07) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14
Data Fields
struct akc595x_reg9 refined
uint8_t raw

◆ akc595x_reg9.refined

struct akc595x_reg9.refined
Data Fields
uint8_t iv_en: 1 When low voltage power supply, whether to enter the low-voltage operation mode can.
uint8_t rsv1: 1 Reserved. Measured using, do not change this value.
uint8_t osc_en: 1 Oscillator source selection. 0 = 0-External XO; 1 = 1-Crystal.
uint8_t pd_adc_vol: 1 0 = volume potentiometer mode
uint8_t rsv2: 4 Reserved. Measured using, do not change this value.

◆ akc595x_reg11

union akc595x_reg11

Reg11 (type 0x0B / RW): configure register 9 (default: 0xE0) Address.

Sets FM seek step.

spece step
00 25 kHz
01 50 kHz
10 100 kHz
11 200 kHz
See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 14
Data Fields
struct akc595x_reg11 refined
uint8_t raw

◆ akc595x_reg11.refined

struct akc595x_reg11.refined
Data Fields
uint8_t rsv1: 2 Reserved. Measured using, do not change this value.
uint8_t space: 2 00 = 25kHz; 01 = 50kHz; 10 = 100kHz; 11 = 200kHz
uint8_t rsv2: 4 Reserved. Measured using, do not change this value.

◆ akc595x_reg12

union akc595x_reg12

Reg12 (type 0x0C / RW): configure register 11 (default: 0x??) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg12 refined
uint8_t raw

◆ akc595x_reg12.refined

struct akc595x_reg12.refined
Data Fields
uint8_t rsv2: 5 Reserved. Measured using, do not change this value.
uint8_t pd_rx: 1 0 = analog and RF; 1 = closed channel
uint8_t res: 1
uint8_t pd_adc: 1 Signal channel ADC signal path; 0 = Close; 1 = Open.

◆ akc595x_reg13

union akc595x_reg13

Reg13 (type 0x0D / RW): configure register 11 (default: 0x??) Address.

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg13 refined
uint8_t raw

◆ akc595x_reg13.refined

struct akc595x_reg13.refined
Data Fields
uint8_t rsv3: 2 Measured using, do not change this value.
uint8_t vol_pre: 2 Adjusting the output volume of the entire values: 00: 0dB 01: 3.5dB.
uint8_t rsv2: 2 Measured using, do not change this value.
uint8_t st_led: 1 0 = tund pin is tuned lamp; When 1-FM and non wtmode, tund indicator pin is stereo demodulation, tuning lamp remainder
uint8_t rsv1: 1 Measured using, do not change this value.

◆ akc595x_reg20

union akc595x_reg20

Reg20 (type 0x14 / R)

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg20 refined
uint8_t raw

◆ akc595x_reg20.refined

struct akc595x_reg20.refined
Data Fields
uint8_t readchan: 5 Current Channel number (high 5bit). See Reg21.
uint8_t tuned: 1 When transferred to station 1, station search software can use this determination bit table.
uint8_t stc: 1 0 = Not complete; 1 = Complete during Seek and Tune in the register 0.
uint8_t st: 1 ??? 0 to the current situation other FM stereo radio ????

◆ akc595x_reg22

union akc595x_reg22

Reg22 (type 0x16 / R)

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg22 refined
uint8_t raw

◆ akc595x_reg22.refined

struct akc595x_reg22.refined
Data Fields
uint8_t cnram: 7 Carrier to noise ratio of the AM signal format, in dB.
uint8_t mode3k_f: 1 1 = AM 3K channel spacing; 0 = AM 5K channel spacing

◆ akc595x_reg23

union akc595x_reg23

Reg23 (type 0x17 / R)

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg23 refined
uint8_t raw

◆ akc595x_reg23.refined

struct akc595x_reg23.refined
Data Fields
uint8_t cnrfm: 7 Carrier to noise ratio of the FM signal format, in dB.
uint8_t st_dem: 1 Only the demodulated FM stereo (Stereo ratio is greater than 30%) show only one.

◆ akc595x_reg24

union akc595x_reg24

Reg24 (type 0x18 / R)

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg24 refined
uint8_t raw

◆ akc595x_reg24.refined

struct akc595x_reg24.refined
Data Fields
uint8_t lvmode: 1 Low voltage maximum volume limit mode indication bit.
uint8_t rsv: 1 Reserved.
uint8_t pgalevel_if: 3 RF power control loop gain level, the greater the level, a high gain of approximately.
uint8_t pgalevel_rf: 3 RF power control loop gain level, the greater the level, a high gain of approximately.

◆ akc595x_reg25

union akc595x_reg25

Reg25 (type 0x19 / R)

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg25 refined
uint8_t raw

◆ akc595x_reg25.refined

struct akc595x_reg25.refined
Data Fields
uint8_t vbat: 6 6 bits indicating the supply voltage ( unsigned number )
uint8_t rsv: 2 Reserved.

◆ akc595x_reg27

union akc595x_reg27

Reg27 (type 0x1B / R)

Antenna aperture can be calculated using signal levels rssi, pgalevel_rf, pgalevel_if

FM / SW : Pin (dBuV) = 103 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if

MW / LW : Pin (dBuV) = 123 - rssi - 6 * pgalevel_rf - 6 * pgalevel_if

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15
Data Fields
struct akc595x_reg27 refined
uint8_t raw

◆ akc595x_reg27.refined

struct akc595x_reg27.refined
Data Fields
uint8_t rssi: 7 Antenna aperture can be calculated using signal levels rssi.
uint8_t rsv: 1 Reserved.

Typedef Documentation

◆ akc595x_reg3

typedef uint8_t akc595x_reg3

Reg3 (type 0x03 / RW): configures register 3 (default: 0xC8) Address.

8 least significant bits representing the channel value (see reg2)

◆ akc595x_reg4

typedef uint8_t akc595x_reg4

Reg4 (type 0x04 / RW): configures register 4 (default: 0x19) Address.

Custom channel band start number chan = 32 * usr_chan_start

◆ akc595x_reg5

typedef uint8_t akc595x_reg5

Reg5 (type 0x05 / RW): configures register 5 (default: 0x32) Address.

Custom end-band channel number chan = 32 * usr_chan_stop

◆ akc595x_reg21

typedef uint8_t akc595x_reg21

Reg21 (type 0x15 / R)

Reg21 is the Current Channel number (low 8bit). See Reg 20.

◆ akc595x_reg26

typedef uint8_t akc595x_reg26

Reg26 (type 0x1A / R)

When the frequency offset indicated, complement format, greater than 127, 256 can be reduced to normal values, attention here to 1kHz units FM, AM in units of 100Hz

See also
AKC6955 stereo FM / TV / MW / SW / LW digital tuning radio documentation; page 15 When the frequency offset indicated, complement format, greater than 127, 256 can be