Browse Source

Update SGTL5000 keywords

dds
PaulStoffregen 10 years ago
parent
commit
66bb0f0c81
2 changed files with 20 additions and 20 deletions
  1. +0
    -4
      control_sgtl5000.h
  2. +20
    -16
      keywords.txt

+ 0
- 4
control_sgtl5000.h View File

unsigned short adcHighPassFilterEnable(void); unsigned short adcHighPassFilterEnable(void);
unsigned short adcHighPassFilterFreeze(void); unsigned short adcHighPassFilterFreeze(void);
unsigned short adcHighPassFilterDisable(void); unsigned short adcHighPassFilterDisable(void);
//unsigned short adcHighPassFilterControl(uint8_t bypass, uint8_t freeze);
//unsigned short adcHighPassFilterControl(uint8_t bypass);
unsigned short audioPreProcessorEnable(void); unsigned short audioPreProcessorEnable(void);
unsigned short audioPostProcessorEnable(void); unsigned short audioPostProcessorEnable(void);
unsigned short audioProcessorDisable(void); unsigned short audioProcessorDisable(void);
bool muted; bool muted;
bool volumeInteger(unsigned int n); // range: 0x00 to 0x80 bool volumeInteger(unsigned int n); // range: 0x00 to 0x80
uint16_t ana_ctrl; uint16_t ana_ctrl;

unsigned char calcVol(float n, unsigned char range); unsigned char calcVol(float n, unsigned char range);

unsigned int read(unsigned int reg); unsigned int read(unsigned int reg);
bool write(unsigned int reg, unsigned int val); bool write(unsigned int reg, unsigned int val);
unsigned int modify(unsigned int reg, unsigned int val, unsigned int iMask); unsigned int modify(unsigned int reg, unsigned int val, unsigned int iMask);

+ 20
- 16
keywords.txt View File

micGain KEYWORD2 micGain KEYWORD2
lineInLevel KEYWORD2 lineInLevel KEYWORD2
lineOutLevel KEYWORD2 lineOutLevel KEYWORD2
lo_lvl KEYWORD2
dac_vol KEYWORD2
dap_mix_enable KEYWORD2
dap_enable KEYWORD2
dap_peqs KEYWORD2
dap_audio_eq KEYWORD2
dap_audio_eq_band KEYWORD2
dap_audio_eq_geq KEYWORD2
dap_audio_eq_tone KEYWORD2
load_peq KEYWORD2
dap_avc KEYWORD2
dap_avc_enable KEYWORD2
dap_bass_enhance KEYWORD2
dap_bass_enhance_enable KEYWORD2
dap_surround KEYWORD2
dap_surround_enable KEYWORD2
dacVolume KEYWORD2
adcHighPassFilterEnable KEYWORD2
adcHighPassFilterFreeze KEYWORD2
adcHighPassFilterDisable KEYWORD2
audioPreProcessorEnable KEYWORD2
audioPostProcessorEnable KEYWORD2
audioProcessorDisable KEYWORD2
eqFilterCount KEYWORD2
eqSelect KEYWORD2
eqBand KEYWORD2
eqBands KEYWORD2
eqFilter KEYWORD2
autoVolumeControl KEYWORD2
autoVolumeEnable KEYWORD2
autoVolumeDisable KEYWORD2
enhanceBass KEYWORD2
enhanceBassEnable KEYWORD2
enhanceBassDisable KEYWORD2
surroundSound KEYWORD2
surroundSoundEnable KEYWORD2
calcBiquad KEYWORD2 calcBiquad KEYWORD2





Loading…
Cancel
Save