A mbed Port of 'Sparkfun Si4703 Arduino Library'.

Files at this revision

API Documentation at this revision

Comitter:
mzcs
Date:
Fri Nov 30 03:39:48 2018 +0000
Parent:
4:651f1a1b639e
Commit message:
.

Changed in this revision

SparkFun-Si4703.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SparkFun-Si4703.cpp	Fri Nov 30 00:03:39 2018 +0000
+++ b/SparkFun-Si4703.cpp	Fri Nov 30 03:39:48 2018 +0000
@@ -20,13 +20,14 @@
 // a Minimal Power-Down Sequence - According To SI AN230 (rev. 0.9), p.13 - Table 4
 
 readRegisters();
-
 si4703_registers[POWERCFG] &= ~(1<<DMUTE); // 'Enable Mute'
 updateRegisters();
 
+readRegisters();
 si4703_registers[POWERCFG] |= (1<<ENABLE); // 'Enable IC'
 updateRegisters();
 
+readRegisters();
 si4703_registers[POWERCFG] |= (1<<DISABLE); // & 'Disable IC'
 updateRegisters();