PU2CLR SI4844 Arduino Library 1.1.8
Arduino Library for Si4844 Devices - By Ricardo Lima Caratti
Loading...
Searching...
No Matches
Union and Structures

SI4844 data representation. More...

Classes

union  SI4844_arg_band
 Configures all SI48XX parameters. More...
 
struct  SI4844_arg_band.refined
 
union  si4844_arg_band_index
 Configures band parameter. More...
 
struct  si4844_arg_band_index.refined
 
union  si4844_audiomode
 Audio Mode. More...
 
struct  si4844_audiomode.arg1
 
union  si4844_audiomode_status_response
 Audio Status Response. More...
 
struct  si4844_audiomode_status_response.status
 
struct  si4844_firmware_info
 Firmware Information. More...
 
struct  si4844_get_status
 Device Status. More...
 
union  si4844_status
 Status. More...
 
struct  si4844_status.refined
 
union  si4844_status_response
 Status response. More...
 

Detailed Description

SI4844 data representation.

GA1

The goal of this approach is separating data from code. The SI4844 works with many internal data that can be represented by data structure or defined data type in C/C++.


Class Documentation

◆ SI4844_arg_band

union SI4844_arg_band

Configures all SI48XX parameters.

Represents searching for a valid frequency data type.

See also
Page 18 of the Si48XX ATDD PROGRAMMING GUIDE - AN610
Class Members
uint8_t raw[7]
struct SI4844_arg_band.refined refined

◆ SI4844_arg_band.refined

struct SI4844_arg_band.refined
Class Members
uint8_t BANDBOT_HIGH
uint8_t BANDBOT_LOW
uint8_t BANDIDX: 6
uint8_t BANDTOP_HIGH
uint8_t BANDTOP_LOW
uint8_t CHSPC
uint8_t DFBAND: 1
uint8_t DUMMY: 5
uint8_t TVFREQ: 1
uint8_t UNI_AM: 1
uint8_t XOSCEN: 1
uint8_t XOWAIT: 1

◆ si4844_arg_band_index

union si4844_arg_band_index

Configures band parameter.

Represents searching for a valid frequency data type.

See also
Page 18 of the Si48XX ATDD PROGRAMMING GUIDE - AN610
Class Members
uint8_t raw
struct si4844_arg_band_index.refined refined

◆ si4844_arg_band_index.refined

struct si4844_arg_band_index.refined
Class Members
uint8_t BANDIDX:6
uint8_t XOSCEN: 1
uint8_t XOWAIT: 1

◆ si4844_audiomode

union si4844_audiomode

Audio Mode.

Class Members
struct si4844_audiomode.arg1 arg1
uint8_t raw

◆ si4844_audiomode.arg1

struct si4844_audiomode.arg1
Class Members
uint8_t ADJPT_ATTN: 1
uint8_t ADJPT_STEO: 1
uint8_t AUDIOMODE: 2
uint8_t FM_MONO: 1
uint8_t OPCODE: 1
uint8_t Reserved: 2

◆ si4844_audiomode_status_response

union si4844_audiomode_status_response

Audio Status Response.

Class Members
uint8_t raw
struct si4844_audiomode_status_response.status status

◆ si4844_audiomode_status_response.status

struct si4844_audiomode_status_response.status
Class Members
uint8_t ADJPT_ATTN:1
uint8_t ADJPT_STEO:1
uint8_t AUDIOMODE:2
uint8_t CTS:1
uint8_t ERR:1
uint8_t FM_MONO:1
uint8_t Reserved:1

◆ si4844_firmware_info

struct si4844_firmware_info

Firmware Information.

See also
Si48XX ATDD PROGRAMMING GUIDE, page 22.
Class Members
uint8_t CHIPREV
uint8_t CMPMAJOR
uint8_t CMPMINOR
uint8_t CTS: 1
uint8_t ERR: 1
uint8_t FWMAJOR
uint8_t FWMINOR
uint8_t PN
uint8_t RESERVED: 6

◆ si4844_get_status

struct si4844_get_status

Device Status.

The structure below represents the four bytes response got by command ATDD_GET_STATUS

See also
PROGRAMMING GUIDE, pages 14 and 15
Class Members
uint8_t BANDIDX: 6
uint8_t BANDMODE: 2
uint8_t BCFG0: 1
uint8_t BCFG1: 1
uint8_t CTS: 1
uint8_t d1: 4
uint8_t d2: 4
uint8_t d3: 4
uint8_t d4: 4
uint8_t HOSTPWRUP: 1
uint8_t HOSTRST: 1
uint8_t INFORDY: 1
uint8_t STATION: 1
uint8_t STEREO: 1

◆ si4844_status

union si4844_status

Status.

Represents searching for a valid frequency data type.

Class Members
uint8_t raw
struct si4844_status.refined refined

◆ si4844_status.refined

struct si4844_status.refined
Class Members
uint8_t CTS: 1 0 = Wait before sending next command; 1 = Clear to send next command.
uint8_t D_0: 1
uint8_t D_1: 1
uint8_t D_2: 1
uint8_t D_3: 1
uint8_t D_4: 1
uint8_t ERR: 1 1 = Error.

◆ si4844_status_response

union si4844_status_response

Status response.

See also
See Si48XX ATDD PROGRAMMING GUIDE, pages 14 and 15
Class Members
uint8_t raw[4]
si4844_get_channel_frequency rawStatus
si4844_get_status refined