SI4844 data representation.
More...
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++.
◆ si4844_status
Status.
Represents searching for a valid frequency data type.
◆ si4844_status.refined
struct si4844_status.refined |
Data Fields |
uint8_t |
D0: 1 |
|
uint8_t |
D1: 1 |
|
uint8_t |
D2: 1 |
|
uint8_t |
D3: 1 |
|
uint8_t |
D4: 1 |
|
uint8_t |
ERR: 1 |
1 = Error. |
uint8_t |
CTS: 1 |
0 = Wait before sending next command; 1 = Clear to send next command. |
◆ 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
Data Fields |
uint8_t |
BCFG0: 1 |
|
uint8_t |
BCFG1: 1 |
|
uint8_t |
STEREO: 1 |
|
uint8_t |
STATION: 1 |
|
uint8_t |
INFORDY: 1 |
|
uint8_t |
HOSTPWRUP: 1 |
|
uint8_t |
HOSTRST: 1 |
|
uint8_t |
CTS: 1 |
|
uint8_t |
BANDIDX: 6 |
|
uint8_t |
BANDMODE: 2 |
|
uint8_t |
d2: 4 |
|
uint8_t |
d1: 4 |
|
uint8_t |
d4: 4 |
|
uint8_t |
d3: 4 |
|
◆ si4844_status_response
union si4844_status_response |
Status response.
- See also
- See Si48XX ATDD PROGRAMMING GUIDE, pages 14 and 15
◆ si4844_firmware_info
struct si4844_firmware_info |
Firmware Information.
- See also
- Si48XX ATDD PROGRAMMING GUIDE, page 22.
Data Fields |
uint8_t |
RESERVED: 6 |
|
uint8_t |
ERR: 1 |
|
uint8_t |
CTS: 1 |
|
uint8_t |
PN |
|
uint8_t |
FWMAJOR |
|
uint8_t |
FWMINOR |
|
uint8_t |
CMPMAJOR |
|
uint8_t |
CMPMINOR |
|
uint8_t |
CHIPREV |
|
◆ si4844_audiomode
◆ si4844_audiomode_status_response
union si4844_audiomode_status_response |
◆ si4844_audiomode_status_response.status
struct si4844_audiomode_status_response.status |
Data Fields |
uint8_t |
AUDIOMODE:2 |
|
uint8_t |
FM_MONO:1 |
|
uint8_t |
ADJPT_ATTN:1 |
|
uint8_t |
ADJPT_STEO:1 |
|
uint8_t |
Reserved:1 |
|
uint8_t |
ERR:1 |
|
uint8_t |
CTS:1 |
|
◆ si4844_audiomode.arg1
struct si4844_audiomode.arg1 |
Data Fields |
uint8_t |
AUDIOMODE: 2 |
|
uint8_t |
FM_MONO: 1 |
|
uint8_t |
ADJPT_ATTN: 1 |
|
uint8_t |
ADJPT_STEO: 1 |
|
uint8_t |
Reserved: 2 |
|
uint8_t |
OPCODE: 1 |
|