diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-02-21 11:05:10 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-01 23:48:43 +0100 |
commit | 59265bcae1a3faf5e79c6d9051ed4a5019b0856b (patch) | |
tree | 91bdcd3015de9c3aa28829d711034aa1cf8a78ad /src/target/firmware/include/calypso/dsp.h | |
parent | dea01c5393fc53b94d5d1d9ccbf98654f2105fda (diff) |
Prepare DSP functions needed for Uplink (Tx)
* Tell DSP to properly initialize ABB(TWL3025) registers at first DSP interrupt
* Initialize the entire API RAM to zero on dsp_power_on()
* Tell DSP to initialize the APCRAM to all-zero to preven accidential Tx
* Set number of GUARD bits to 8
* Add function to configure TCH parameters: dsp_load_tch_param()
Diffstat (limited to 'src/target/firmware/include/calypso/dsp.h')
-rw-r--r-- | src/target/firmware/include/calypso/dsp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/firmware/include/calypso/dsp.h b/src/target/firmware/include/calypso/dsp.h index 24779a62..0872dadb 100644 --- a/src/target/firmware/include/calypso/dsp.h +++ b/src/target/firmware/include/calypso/dsp.h @@ -23,6 +23,8 @@ void dsp_checksum_task(void); void dsp_api_memset(uint16_t *ptr, int octets); void dsp_load_afc_dac(uint16_t afc); void dsp_load_apc_dac(uint16_t apc); +void dsp_load_tch_param(uint16_t fn, uint8_t chan_mode, uint8_t chan_type, + uint8_t subchannel, uint8_t tch_loop, uint8_t sync_tch); void dsp_end_scenario(void); void dsp_load_rx_task(uint16_t task, uint8_t burst_id, uint8_t tsc); |