no-OS
Public Attributes | List of all members
mykonosPeakDetAgcCfg_t Struct Reference

Data structure to hold peak detector settings for the AGC. More...

#include <t_mykonos.h>

Public Attributes

uint8_t apdHighThresh
 
uint8_t apdLowThresh
 
uint8_t hb2HighThresh
 
uint8_t hb2LowThresh
 
uint8_t hb2VeryLowThresh
 
uint8_t apdHighThreshExceededCnt
 
uint8_t apdLowThreshExceededCnt
 
uint8_t hb2HighThreshExceededCnt
 
uint8_t hb2LowThreshExceededCnt
 
uint8_t hb2VeryLowThreshExceededCnt
 
uint8_t apdHighGainStepAttack
 
uint8_t apdLowGainStepRecovery
 
uint8_t hb2HighGainStepAttack
 
uint8_t hb2LowGainStepRecovery
 
uint8_t hb2VeryLowGainStepRecovery
 
uint8_t apdFastAttack
 
uint8_t hb2FastAttack
 
uint8_t hb2OverloadDetectEnable
 
uint8_t hb2OverloadDurationCnt
 
uint8_t hb2OverloadThreshCnt
 

Detailed Description

Data structure to hold peak detector settings for the AGC.

Member Data Documentation

◆ apdFastAttack

uint8_t mykonosPeakDetAgcCfg_t::apdFastAttack

[1] Enables APD fast attack mode - gain decrements immediately when apdHighThreshExceededCnt is exceeded. [0] disables APD fast attack mode - gain decrements at the expiry of agcGainUpdateCounter. 1-bit field.

◆ apdHighGainStepAttack

uint8_t mykonosPeakDetAgcCfg_t::apdHighGainStepAttack

Number of gain indices to decrement gain when apdHighThreshExceededCnt is exceeded. 5-bit field.

◆ apdHighThresh

uint8_t mykonosPeakDetAgcCfg_t::apdHighThresh

APD high threshold. Must be greater than apdLowThresh. Min = apdLowThresh, Max = 0x3F. 6-bit field.

◆ apdHighThreshExceededCnt

uint8_t mykonosPeakDetAgcCfg_t::apdHighThreshExceededCnt

APD high threshold exceeded counter. Sets number of peaks to detect above apdHighThresh to cause gain decrement according to apdHighGainStepAttack. 8-bit field.

◆ apdLowGainStepRecovery

uint8_t mykonosPeakDetAgcCfg_t::apdLowGainStepRecovery

Number of gain indices to increment gain when apdLowThreshExceededCnt is exceeded. 5-bit field

◆ apdLowThresh

uint8_t mykonosPeakDetAgcCfg_t::apdLowThresh

APD low threshold. Must be less than apdHighThresh. Min = 0, Max = apdHighThresh. 6-bit field.

◆ apdLowThreshExceededCnt

uint8_t mykonosPeakDetAgcCfg_t::apdLowThreshExceededCnt

APD low threshold exceeded counter. Sets number of peaks to detect below apdLowThresh to cause gain increment according to apdLowGainStepRecovery. 8-bit field.

◆ hb2FastAttack

uint8_t mykonosPeakDetAgcCfg_t::hb2FastAttack

[1] Enables HB2 fast attack mode - gain decrements immediately when hb2HighThreshExceededCnt is exceeded. [0] disables HB2 fast attack mode - gain decrements at the expiry of agcGainUpdateCounter. 1-bit field.

◆ hb2HighGainStepAttack

uint8_t mykonosPeakDetAgcCfg_t::hb2HighGainStepAttack

Number of gain indices to decrement gain when hb2HighThreshExceededCnt is exceeded. 5-bit field

◆ hb2HighThresh

uint8_t mykonosPeakDetAgcCfg_t::hb2HighThresh

HB2 high threshold. Must be greater than hb2LowThresh. Min = hb2LowThresh, Max = 0xFF. 8-bit field.

◆ hb2HighThreshExceededCnt

uint8_t mykonosPeakDetAgcCfg_t::hb2HighThreshExceededCnt

HB2 high threshold exceeded counter. Sets number of overloads to detect above hb2HighThresh to cause gain decrement according to hb2HighGainStepAttack. 8-bit field.

◆ hb2LowGainStepRecovery

uint8_t mykonosPeakDetAgcCfg_t::hb2LowGainStepRecovery

Number of gain indices to increment gain when hb2LowThreshExceededCnt is exceeded. 5-bit field

◆ hb2LowThresh

uint8_t mykonosPeakDetAgcCfg_t::hb2LowThresh

HB2 low threshold. Must be less than hb2HighThresh. Min = 0, Max = hb2HighThresh. 8-bit field.

◆ hb2LowThreshExceededCnt

uint8_t mykonosPeakDetAgcCfg_t::hb2LowThreshExceededCnt

HB2 low threshold exceeded counter. Sets number of peaks to detect below hb2LowThresh to cause gain increment according to hb2LowGainStepRecovery. 8-bit field.

◆ hb2OverloadDetectEnable

uint8_t mykonosPeakDetAgcCfg_t::hb2OverloadDetectEnable

[1] Enables the HB2 overload detector. [0] Disables the HB2 overload detector. 1-bit field.

◆ hb2OverloadDurationCnt

uint8_t mykonosPeakDetAgcCfg_t::hb2OverloadDurationCnt

Sets the samples size window of the HB2 overload detector. If hb2OverloadThreshCnt number of overloads are detected, the hb2xxxThreshExceededCnt increments. 3-bit field. [001]=1, [001]=4, [010]=8, [011]=12, [100]=16, [101]=24, [110]=32, [111]=INVALID

◆ hb2OverloadThreshCnt

uint8_t mykonosPeakDetAgcCfg_t::hb2OverloadThreshCnt

Sets the number of individual overloads necessary within hb2OverloadDurationCnt samples to increment the hb2xxxThreshExceededCnt

◆ hb2VeryLowGainStepRecovery

uint8_t mykonosPeakDetAgcCfg_t::hb2VeryLowGainStepRecovery

Number of gain indices to increment gain when hb2VeryLowThreshExceededCnt is exceeded. 5-bit field

◆ hb2VeryLowThresh

uint8_t mykonosPeakDetAgcCfg_t::hb2VeryLowThresh

HB2 very low threshold. Must be less than hb2LowThresh. Min = 0, Max = hb2LowThresh. 8-bit field.

◆ hb2VeryLowThreshExceededCnt

uint8_t mykonosPeakDetAgcCfg_t::hb2VeryLowThreshExceededCnt

HB2 very low threshold exceeded counter. Sets number of peaks to detect below hb2VeryLowThresh to cause gain increment according to hb2VeryLowGainStepRecovery. 8-bit field.


The documentation for this struct was generated from the following file: