#6569 - OrangyTang - Thu May 29, 2003 11:10 am
What do I need to do to be able to receive input via the communication port? I know I have to use UART mode since the sender will be a PC via a MBv2 cable, but how do i get at the data in the GBA code?
Do I need to bother setting interupts (rest of the app is very minimal, so cpu usage will probably not be a problem) or can I do some sort of poll every frame? All i've managed to find so far is that i need to set the RCNT register to 0 to set UART mode - then what? The SCCNT_L seems to contain all the needed setting and state flags, but where does the actual data end up?
Thanks.
Do I need to bother setting interupts (rest of the app is very minimal, so cpu usage will probably not be a problem) or can I do some sort of poll every frame? All i've managed to find so far is that i need to set the RCNT register to 0 to set UART mode - then what? The SCCNT_L seems to contain all the needed setting and state flags, but where does the actual data end up?
Thanks.