Changes between Version 1 and Version 2 of SISOAGC
- Timestamp:
- Jul 27, 2006, 11:25:52 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SISOAGC
v1 v2 21 21 A driver abstracts register-level operations from the programming-interface; below the functions for controlling the AGC are described. 22 22 23 ''' void agc_Initialize(int noise_estimate)'''23 '''{{{void agc_Initialize(int noise_estimate)}}}''' 24 24 25 Resets and initializes the AGC peripheral with all required parameters. The calibration baseband gain is computed from the noise estimate, so an accurate guess of the noise floor is required. This value is generally near -85 dB.25 Resets and initializes the AGC peripheral with all required parameters. The calibration baseband gain is computed from the noise estimate, so an accurate guess of the noise floor is required. This value is generally near -85 dB. 26 26 27 Upon completing this routine, the AGC is enabled and online.27 Upon completing this routine, the AGC is enabled and online. 28 28 29 ''' void agc_MasterReset()'''29 '''{{{void agc_MasterReset()}}}''' 30 30 31 Resets all state in the AGC, though does not reinitialize any parameters. All averagers and other state-machines are reset, and the AGC is enabled when the routine completes.31 Resets all state in the AGC, though does not reinitialize any parameters. All averagers and other state-machines are reset, and the AGC is enabled when the routine completes. 32 32 33 ''' void agc_Reset()'''33 '''{{{void agc_Reset()}}}''' 34 34 35 Resets only the gain values, but no other state in the core.35 Resets only the gain values, but no other state in the core. 36 36 37 ''' void agc_FiltSel(unsigned int state)'''37 '''{{{void agc_FiltSel(unsigned int state)}}}''' 38 38 39 39 Choose the downsampling filter depending on the value of state. 40 40 41 state = 0 : downsampling only 41 state = 0 : downsampling only[[BR]] 42 42 state = 1 : use 32-tap decimating filter 43 43 44 ''' void agc_SetDCO(unsigned int state)'''44 '''{{{void agc_SetDCO(unsigned int state)}}}''' 45 45 46 Enable or disable DC Offset correction46 Enable or disable DC Offset correction 47 47 48 state = 0 : DCO disable 48 state = 0 : DCO disable[[BR]] 49 49 state = 1 : DCO enable 50 50 51 ''' agc_SetTarget(c)'''51 '''{{{agc_SetTarget(c)}}}''' 52 52 53 Set the target signal strength value in dB53 Set the target signal strength value in dB