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 | How to use GPIO?

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.


How to use GPIO? - Jonathan - 2004-11-11 19:42:00

Does anyone have more information about GPIO? How to use it?
(The TI's documents spru401g.pdf and spru584.pdf do not explain clearly.)
Thank you.



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

Re: How to use GPIO? - Wolfgang - 2004-11-12 05:20:00



Hello Jonathan,

Take a look at:

// Include:
#include <csl_gpio.h>
// Variable:
GPIO_Handle hGpio;
// somewhere in your main:
unsigned b=0;

 hGpio = GPIO_open(GPIO_DEV0,GPIO_OPEN_RESET);
 GPIO_pinEnable(hGpio,GPIO_PIN0);
 GPIO_pinDirection(hGpio, GPIO_PIN0,GPIO_OUTPUT);

GPIO_pinWrite(hGpio,GPIO_PIN0,b);

            That should help,
                                Regards Wolfgang

"Jonathan" <j...@camels.com.tw> schrieb im Newsbeitrag news:cn10r0$454$1...@netnews.hinet.net...
> Does anyone have more information about GPIO? How to use it?
> (The TI's documents spru401g.pdf and spru584.pdf do not explain clearly.)
> Thank you.
> 
> 
> 
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.