PU2CLR SI470X Arduino Library  1.0.1
Arduino Library for Si470X Devices - By Ricardo Lima Caratti
SI470X.h File Reference
#include <Arduino.h>
#include <Wire.h>

Go to the source code of this file.

Data Structures

union  si470x_reg00
 Device ID. More...
 
union  si470x_reg01
 Chip ID. More...
 
union  si470x_reg02
 Power Configuratio. More...
 
union  si470x_reg03
 Channe. More...
 
union  si470x_reg04
 System Configuration 1. More...
 
union  si470x_reg05
 System Configuration 2. More...
 
union  si470x_reg06
 System Configuration 3. More...
 
union  si470x_reg07
 Test 1. More...
 
union  si470x_reg08
 Test 2. More...
 
union  si470x_reg09
 Boot Configuration. More...
 
union  si470x_reg0a
 Status RSSI. More...
 
union  si470x_reg0b
 Read Channel. More...
 
union  si470x_rds_blockb
 RDS Block B data type. More...
 
union  si470x_rds_date_time
 
union  word16_to_bytes
 Converts 16 bits word to two bytes. More...
 
class  SI470X
 KT0915 Class. More...
 
struct  si470x_reg00.refined
 
struct  si470x_reg01.refined
 
struct  si470x_reg02.refined
 
struct  si470x_reg03.refined
 
struct  si470x_reg04.refined
 
struct  si470x_reg05.refined
 
struct  si470x_reg06.refined
 
struct  si470x_reg07.refined
 
struct  si470x_reg08.refined
 
struct  si470x_reg09.refined
 
struct  si470x_reg0a.refined
 
struct  si470x_reg0b.refined
 
struct  si470x_rds_blockb.group0
 
struct  si470x_rds_blockb.group2
 
struct  si470x_rds_blockb.refined
 
struct  si470x_rds_date_time.refined
 
struct  word16_to_bytes.refined
 

Macros

#define MAX_DELAY_AFTER_OSCILLATOR   500
 
#define I2C_DEVICE_ADDR   0x10
 
#define OSCILLATOR_TYPE_CRYSTAL   1
 
#define OSCILLATOR_TYPE_REFCLK   0
 
#define RDS_STANDARD   0
 RDS Mode. More...
 
#define RDS_VERBOSE   1
 RDS Mode. More...
 
#define SI470X_SEEK_DOWN   0
 Seek Down Direction. More...
 
#define SI470X_SEEK_UP   1
 Seek Up Direction. More...
 
#define SI470X_SEEK_WRAP   0
 
#define SI470X_SEEK_STOP   1
 
#define FM_BAND_USA_EU   0
 87.5–108 MHz (US / Europe, Default) More...
 
#define FM_BAND_JAPAN_WIDE   1
 76–108 MHz (Japan wide band) More...
 
#define FM_BAND_JAPAN   2
 76–90 MHz (Japan) More...
 
#define FM_BAND_RESERVED   3
 Reserved. More...
 
#define REG00   0x00
 
#define REG01   0x01
 
#define REG02   0x02
 
#define REG03   0x03
 
#define REG04   0x04
 
#define REG05   0x05
 
#define REG06   0x06
 
#define REG07   0x07
 
#define REG08   0x08
 
#define REG09   0x09
 
#define REG0A   0x0A
 
#define REG0B   0x0B
 
#define REG0C   0x0C
 
#define REG0D   0x0D
 
#define REG0E   0x0E
 
#define REG0F   0x0F
 

Typedefs

typedef uint16_t si470x_reg0c
 RDS Block A. More...
 
typedef uint16_t si470x_reg0d
 RDS Block B. More...
 
typedef uint16_t si470x_reg0e
 RDS Block C. More...
 
typedef uint16_t si470x_reg0f
 RDS Block D. More...
 

Macro Definition Documentation

◆ MAX_DELAY_AFTER_OSCILLATOR

#define MAX_DELAY_AFTER_OSCILLATOR   500

◆ I2C_DEVICE_ADDR

#define I2C_DEVICE_ADDR   0x10

◆ OSCILLATOR_TYPE_CRYSTAL

#define OSCILLATOR_TYPE_CRYSTAL   1

◆ OSCILLATOR_TYPE_REFCLK

#define OSCILLATOR_TYPE_REFCLK   0

◆ RDS_STANDARD

#define RDS_STANDARD   0

RDS Mode.

◆ RDS_VERBOSE

#define RDS_VERBOSE   1

RDS Mode.

◆ SI470X_SEEK_DOWN

#define SI470X_SEEK_DOWN   0

Seek Down Direction.

◆ SI470X_SEEK_UP

#define SI470X_SEEK_UP   1

Seek Up Direction.

◆ SI470X_SEEK_WRAP

#define SI470X_SEEK_WRAP   0

◆ SI470X_SEEK_STOP

#define SI470X_SEEK_STOP   1

◆ FM_BAND_USA_EU

#define FM_BAND_USA_EU   0

87.5–108 MHz (US / Europe, Default)

◆ FM_BAND_JAPAN_WIDE

#define FM_BAND_JAPAN_WIDE   1

76–108 MHz (Japan wide band)

◆ FM_BAND_JAPAN

#define FM_BAND_JAPAN   2

76–90 MHz (Japan)

◆ FM_BAND_RESERVED

#define FM_BAND_RESERVED   3

Reserved.

◆ REG00

#define REG00   0x00

◆ REG01

#define REG01   0x01

◆ REG02

#define REG02   0x02

◆ REG03

#define REG03   0x03

◆ REG04

#define REG04   0x04

◆ REG05

#define REG05   0x05

◆ REG06

#define REG06   0x06

◆ REG07

#define REG07   0x07

◆ REG08

#define REG08   0x08

◆ REG09

#define REG09   0x09

◆ REG0A

#define REG0A   0x0A

◆ REG0B

#define REG0B   0x0B

◆ REG0C

#define REG0C   0x0C

◆ REG0D

#define REG0D   0x0D

◆ REG0E

#define REG0E   0x0E

◆ REG0F

#define REG0F   0x0F