Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ezfit:instrument_scratch_memory_map [2015/05/07 16:28]
ajdavis Added Sonetik scratch map for OnSemi
ezfit:instrument_scratch_memory_map [2018/01/24 16:36] (current)
ajdavis [Audiogram: Methods for Storage and Retrieval]
Line 6: Line 6:
 ^ ^Bits (Little Endian)^^^^^^^^^^^^^^^^Notes^ ^ ^Bits (Little Endian)^^^^^^^^^^^^^^^^Notes^
 ^ ^15^14^13^12^11^10^09^08^07^06^05^04^03^02^01^00| | ^ ^15^14^13^12^11^10^09^08^07^06^05^04^03^02^01^00| |
-^Word1|Autofit\\ (upper 8-bits, out of 16-bit)||||||||Audiogram\\ (top 2-bits, out of 50-bit)||Year Code used in Serial Number (6 bits)\\ Space specified by RTI||||||Clari-D only supports 8-bits| +^Word1 / MDA 0|Autofit |||| Autofit 3||||Audiogram\\ (top 2-bits, out of 50-bit)||Year Code used in Serial Number (6 bits)\\ Space specified by RTI||||||Clari-D only supports 8-bits| 
-^Word2|In Situ\\ (1 bit)|PrescriptionType\\ (4 bits)||||UserVCPos\\ (3 bits)|||Instrument Model Code (8 bits)\\ Space specified by RTI|||||||| | +^Word2 / MDA 1|In Situ\\ (1 bit)|PrescriptionType\\ (4 bits)||||UserVCPos\\ (3 bits)|||Instrument Model Code (8 bits)\\ Space specified by RTI|||||||| | 
-^Word3|Autofit\\ (lower 8-bits, out of 16-bit)||||||||Serial Number - 1st part (upper 8-bits, out of 24-bit)\\ Space specified by RTI||||||||Clari-D only supports 8-bits| +^Word3 / MDA 2|Autofit |||| Autofit 1||||Serial Number - 1st part (upper 8-bits, out of 24-bit)\\ Space specified by RTI||||||||Clari-D only supports 8-bits| 
-^Word4|Serial Number - 2nd part (lower 16-bits, out of 24-bit)\\ Space specified by RTI|||||||||||||||| | +^Word4 / MDA 3|Serial Number - 2nd part (lower 16-bits, out of 24-bit)\\ Space specified by RTI|||||||||||||||| | 
-^Word5|Audiogram\\ (upper 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| +^Word5 / MDA 4|Audiogram\\ (upper 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| 
-^Word6|Audiogram\\ (mid 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| +^Word6 / MDA 5|Audiogram\\ (mid 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| 
-^Word7|Audiogram\\ (lower 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| +^Word7 / MDA 6|Audiogram\\ (lower 16-bits, out of 50-bit)||||||||||||||||N/A in Intuition2 & Clari-D| 
-^Word8|Company code\\ (7 bits) ||||||| Vent Size\\ (5-bits) |||||Tubing Type (OTE)\\ (upper 2-bits, out of 3-bit) ||Has Directional Mic\\ (1-bit)|Tubing Type (OTE)\\ (former BTE Earhook)\\ (lower 1-bit, out of 3-bit)|N/A in Intuition2 & Clari-D| +^Word8 / MDA 7|Company code\\ (7 bits) ||||||| Vent Size\\ (5-bits) |||||Tubing Type (OTE)\\ (upper 2-bits, out of 3-bit) ||Has Directional Mic\\ (1-bit)|Tubing Type (OTE)\\ (former BTE Earhook)\\ (lower 1-bit, out of 3-bit)|N/A in Intuition2 & Clari-D| 
-^Word8\\ (Deprecated)|<del>Company code</del>\\ (7bits) ||||||| <del>Clarujust fitted</del>\\ (bits, one for each memory)</del>|||| <del>Clarujust enabled</del>\\ (1-bit)|<del>Tubing Type (OTE)</del>\\ (upper 2-bits, out of 3-bit) ||<del>Has Directional Mic</del>\\ (1-bit)|<del>Tubing Type (OTE)</del>\\ <del>(former BTE Earhook)</del>\\ (lower 1-bit, out of 3-bit)|N/A in Intuition2 & Clari-D| +^Word8 / MDA 7\\ (Sonetik only)| PGM file loaded\\ (16 bits) |||||||||||||||| Sonetik only| 
-^Word8\\ (Sonetik only)| | | | | | | | | | | | | PGM file loaded\\ (4 bits) |||| Sonetik only| +^Word9 / MDA 8|Acclimatization\\ (2-bits)||Dome Size\\ (4-bits)||||Tubing Length\\ (4-bits)||||Has Push Button/\\ Toggle Switch/None\\ (lower 2-bits) ||Has Auto-TCoil\\ (1-bit)|Has TCoil\\ (1-bit)|Has Digital VC\\ (1-bit) |Has External VC\\ (1-bit) |N/A in Intuition2 & Clari-D| 
-^Word9|Acclimatization\\ (2-bits)||Dome Size\\ (4-bits)||||Tubing Length\\ (4-bits)||||Has Push Button/\\ Toggle Switch/None\\ (lower 2-bits) ||Has Auto-TCoil\\ (1-bit)|Has TCoil\\ (1-bit)|Has Digital VC\\ (1-bit) |Has External VC\\ (1-bit) |N/A in Intuition2 & Clari-D| +^Word9 / MDA 8\\ (Sonetik only)| Work order number\\ (upper 16-bits, out of 32-bit)||||||||||||||||Sonetik only| 
-^Word9\\ (Sonetik only)| Work order number\\ (upper 16-bits, out of 32-bit)||||||||||||||||Sonetik only| +^Word10 / MDA 9| [[ezfit:SoftTouch]] (1 bit) | | | | | | | | | | | |Has Rocker VC\\ (1-bit) |Circuit Compatibility\\ Version\\ (3-bits)|||N/A in Intuition2 & Clari-D| 
-^Word10| [[ezfit:SoftTouch]] (1 bit) | | | | | | | | | | | |Has Rocker VC\\ (1-bit) |Circuit Compatibility\\ Version\\ (3-bits)|||N/A in Intuition2 & Clari-D| +^Word10 / MDA 9\\ (Sonetik only)| Work order number\\ (lower 16-bits, out of 32-bit)||||||||||||||||Sonetik only|
-^Word10\\ (Sonetik only)| Work order number\\ (lower 16-bits, out of 32-bit)||||||||||||||||Sonetik only|+
  
-==OnSemi (former Sound Design Technologies, former Gennum) Circuits==+==OnSemi (formerly Sound Design Technologies/Gennum) Circuits==
 ===Map of Scratch Memory (128-bit)=== ===Map of Scratch Memory (128-bit)===
  
Line 37: Line 36:
 ^Byte 80 | | | | | | | | | ^Byte 80 | | | | | | | | |
 ^Byte 88 | Sonetik - Stored Stock Program <code>Byte 88</code> | Sonetik - Order Number <code>Bytes 89-92</code> |||| | | | ^Byte 88 | Sonetik - Stored Stock Program <code>Byte 88</code> | Sonetik - Order Number <code>Bytes 89-92</code> |||| | | |
-^Byte 96 |flag ''isAutofitSaved'' (boolean) <code>Byte 96</code> |Autofit Mem 1 (integer) <code>Byte 97</code> |Autofit Mem 2 (integer) <code>Byte 98</code> |Autofit Mem 3 (integer) <code>Byte 99</code> |Autofit Mem (integer) <code>Byte 100</code> |Audiogram\\ (11 bytes: 1 byte for length, 10 bytes for data) <code>Bytes 101 - 111</code> |||+^Byte 96 |flag ''isAutofitSaved'' (boolean) <code>Byte 96</code> |Autofit Mem 1 (integer) <code>Byte 97</code> |Autofit Mem 2 (integer) <code>Byte 98</code> |Autofit Mem 3 (integer) <code>Byte 99</code> |Autofit Mem (integer) <code>Byte 100</code> |Audiogram\\ (11 bytes: 1 byte for length, 10 bytes for data) <code>Bytes 101 - 111</code> |||
 ^Byte 104 |Audiogram <code>Bytes 101 - 111</code> |||||||| ^Byte 104 |Audiogram <code>Bytes 101 - 111</code> ||||||||
 ^Byte 112 |In Situ Audiogram (11 bytes: 1 byte for length, 10 bytes for data) <code>Bytes 112 - 122</code> |||||||| ^Byte 112 |In Situ Audiogram (11 bytes: 1 byte for length, 10 bytes for data) <code>Bytes 112 - 122</code> ||||||||
Line 367: Line 366:
 </code> </code>
 === Audiogram: Methods for Storage and Retrieval === === Audiogram: Methods for Storage and Retrieval ===
-Set the audiogram data in the scratch memory:+Set the audiogram data in the scratch memory. 10 frequencies are stored in 50 bits, representing each value as a 5 bit number. The value stored is the hearing threshold divided by 5. This is rounded to the nearest 5, so 26 becomes 5 and 48 becomes 10. The minimum stored value is 0, the maximum stored value is 150.
 <code delphi> <code delphi>
 //------------------------------------------------------------------------------ //------------------------------------------------------------------------------
Line 562: Line 561:
 | Music                             | autofit_Music                      | 5  | Music or other pure tones.       | | Music                             | autofit_Music                      | 5  | Music or other pure tones.       |
 | Television                        | autofit_HomeOfficeTV               | 6  | Television. | | Television                        | autofit_HomeOfficeTV               | 6  | Television. |
-Theater / Place of Worship        | autofit_TheaterPlaceWorship        | 7  | Automatic Gain Control - Output. |+Theatre / Place of Worship        | autofit_TheatrePlaceWorship        | 7  | Automatic Gain Control - Output. |
 | Intense Noise                     | autofit_IntenseNoise               | 8  | Intense Noise. | | Intense Noise                     | autofit_IntenseNoise               | 8  | Intense Noise. |
 | AutoAdapt                         | autofit_AutoAdapt                  | 9  | Auto adapt with Adaptive Directionality technology. | | AutoAdapt                         | autofit_AutoAdapt                  | 9  | Auto adapt with Adaptive Directionality technology. |
Line 575: Line 574:
 | Music                             | autofit_Music                      | 5  | Music or other pure tones.       | | Music                             | autofit_Music                      | 5  | Music or other pure tones.       |
 | Home / Office / TV                | autofit_HomeOfficeTV               | 6  | Home, Office, or TV. | | Home / Office / TV                | autofit_HomeOfficeTV               | 6  | Home, Office, or TV. |
-Theater / Place of Worship        | autofit_TheaterPlaceWorship        | 7  | Theater, or Place of Worship. |+Theatre / Place of Worship        | autofit_TheatrePlaceWorship        | 7  | Theatre, or Place of Worship. |
 | Intense Noise                     | autofit_IntenseNoise               | 8  | Intense Noise. | | Intense Noise                     | autofit_IntenseNoise               | 8  | Intense Noise. |
 | AutoAdapt                         | autofit_AutoAdapt                  | 9  | Auto adapt with Adaptive Directionality technology. | | AutoAdapt                         | autofit_AutoAdapt                  | 9  | Auto adapt with Adaptive Directionality technology. |