Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | Key Press - CCS

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.


Key Press - CCS - Tejas - 2004-04-03 17:00:00

I have a real time application running on a DSP. I want to call a
function only when a particular key is pressed. How do I do this in
CCS ?
I have tried using getch() but this pops up a dialog box everytime
this line is executed therefore interrupting my program.


Any help will be appreciated. 

Tejas
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Key Press - CCS - Tim Wescott - 2004-04-03 18:04:00



Tejas wrote:

> I have a real time application running on a DSP. I want to call a
> function only when a particular key is pressed. How do I do this in
> CCS ?
> I have tried using getch() but this pops up a dialog box everytime
> this line is executed therefore interrupting my program.
> 
> 
> Any help will be appreciated. 
> 
> Tejas

I've been down this road.  You have two choices:

(a) Spend a month figuring out how to do it within CCS.

(b) Write another task into your application, and use a GPIO pin (better 
yet an interrupt pin if you can) to trigger the function.

I chose (b), and I suggest it if you can get to the hardware.

-- 

Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.