He probably would want to use UART mode. The only issue would be
making sure the voltages match up.
He could do it general purpose mode, but it requires way too much CPU
time. The UART mode could trigger an interrupt when something was
ready to be read.
dennis
On Dec 22, 2005, at 8:16 PM, Keith Epstein wrote:
> Mike,
>
> I found this website to be very helpful.
> http://www.robmeerman.co.uk/project. Download the report disc
> content, and
> look for the source code for the serial interface. It tells you
> how to put
> the serial port into multi-purpose mode, and set each of the 4
> digital lines
> to the values you want. You'll need to write a function that reads
> the
> states of the digital lines.
>
> Keith
>
> On 12/22/05, mlablan1 <mrl1@...> wrote:
>>
>> I am very new to GBA programming, but would like to build an
>> application that links a GBA to a Garmin GPS that I have.
>>
>> I have found a couple of sites that present this type of application,
>> but none of them share the C code segments required for the GBA to
>> receive the NMEA packets into variables in the code.
>>
>> Can anyone help me with some example code?
>>
>> Thanks in advance for any help...
>>
>> Mike
>>
>>
>>
>>
>>
>>
>>
>> SPONSORED LINKS
>> Nintendo game boy ds<http://groups.yahoo.com/gads?t=ms&k=Nintendo
>> +game+boy+ds&w1=Nintendo+game+boy+ds&w2=Nintendo&w3=Nintendo+ds
>> +games&w4=Gameboy+advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=uDpmm3k7zlUDkHuAWjyy8A>
>> Nintendo<http://groups.yahoo.com/gads?t=ms&k=Nintendo&w1=Nintendo
>> +game+boy+ds&w2=Nintendo&w3=Nintendo+ds+games&w4=Gameboy
>> +advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=ES6mXOv2hc3dnnnK-mrIXw> Nintendo
>> ds games<http://groups.yahoo.com/gads?t=ms&k=Nintendo+ds
>> +games&w1=Nintendo+game+boy+ds&w2=Nintendo&w3=Nintendo+ds
>> +games&w4=Gameboy+advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=yL6GMkTPPqz0c8OCv5AbvA> Gameboy
>> advance<http://groups.yahoo.com/gads?t=ms&k=Gameboy
>> +advance&w1=Nintendo+game+boy+ds&w2=Nintendo&w3=Nintendo+ds
>> +games&w4=Gameboy+advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=z0etQyeQgYsT1imFS_vI_g> Gameboy
>> advance games<http://groups.yahoo.com/gads?t=ms&k=Gameboy+advance
>> +games&w1=Nintendo+game+boy+ds&w2=Nintendo&w3=Nintendo+ds
>> +games&w4=Gameboy+advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=ORIkoNHTnpaq-HTIUp1DWA> Nintendo
>> games<http://groups.yahoo.com/gads?t=ms&k=Nintendo
>> +games&w1=Nintendo+game+boy+ds&w2=Nintendo&w3=Nintendo+ds
>> +games&w4=Gameboy+advance&w5=Gameboy+advance+games&w6=Nintendo
>> +games&c=6&s=131&.sig=fxIu3FuhwbLGwAWClS6OPw>
>> ------------------------------
>> YAHOO! GROUPS LINKS
>>
>>
>> - Visit your group "gbadev <http://groups.yahoo.com/group/
>> gbadev>"
>> on the web.
>>
>> - To unsubscribe from this group, send an email to:
>> gbadev-unsubscribe@yahoogroups.com<gbadev-
>> unsubscribe@yahoogroups.com?subject=Unsubscribe>
>>
>> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service <http://docs.yahoo.com/info/terms/>.
>>
>>
>> ------------------------------
>>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------
> ~-->
> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your
> home page
> http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/cPRolB/TM
> --------------------------------------------------------------------
> ~->
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>