|
Re: Accessing GPIO pins: msg#00096windows.ce.devel
On Thu, 17 Nov 2005 17:05:23 -0000, conventag <conventag@xxxxxxxxx> wrote: > hello friends, > > Iam new to CE 5.0 and Iam using intelPXA270 processor. I want to write > bytes to processor GPIO control register. it is possible to write > directly, for example I defined > #define GAFR2 (*((volatile unsigned long *) 0x40E00068)) > GAFR2 = 0x64000000; > > unfortunately I cannot see my GPIO pins acts accordingly. It is > possible to write directly or there are some functions in Windows CE > 5.0 to control processor registers. I appreciate if someone just pass > hints on how to access processor register under CE 5.0 > > thanks > > Do a search of VirtualAlloc and VirtualCopy in your MSDN for WinCE. Basically, you need to obtain a handle to physical memory mapped to the virtual address space before you can use it. Once you have a handle, you'll have fun toggling your GPIO pins by the dozens... Take Care. Rob! ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Windows WM5.0 Development: 00096, Marko Palikko |
|---|---|
| Next by Date: | Re: Accessing GPIO pins: 00096, Tom Convent |
| Previous by Thread: | Accessing GPIO pinsi: 00096, conventag |
| Next by Thread: | Re: Accessing GPIO pins: 00096, Tom Convent |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |