DSPRelated.com
Forums

GPIO Macro

Started by Jacob Christ October 7, 2002
Does anyone know the official channel for SDK feature enhancment?

I added the following macro to help with initalization of my gpio
port a port at a time... Its a variant of the gpioPin macro it would
might be a reasonable addition to the SDK.

#define gpioPort(Port) (((int)(GPIOPORT_##Port) << 4) | (0x00FF))

Or I was thinking that gpioPins(Port,Pins) would be nice as well...

Jacob




If you have SDK feature enhancements requests, you can submit them to our technical helpline (http://e-www.motorola.com/support/index.html ), and it will be forwarded to the appropriate engineers on the SDK team.

 

Leonard N. Elevich

Motorola DSPO

 

-----Original Message-----
From: Jacob Christ [mailto:j...@pontech.com]
Sent: Monday, October 07, 2002 12:07 PM
To: m...@yahoogroups.com
Subject: [motoroladsp] GPIO Macro

 

Does anyone know the official channel for SDK feature enhancment?

I added the following macro to help with initalization of my gpio
port a port at a time...  Its a variant of the gpioPin macro it would
might be a reasonable addition to the SDK.

#define gpioPort(Port)  (((int)(GPIOPORT_##Port) << 4) | (0x00FF))

Or I was thinking that gpioPins(Port,Pins) would be nice as well...

Jacob


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.


What I would suggest is to go to Motorola's DSP website at:
http://e-www.motorola.com/webapp/sps/site/homepage.jsp?nodeIdM0ylgz6wY
and look for contact information there.

Regards,

Art Johnson
Senior Systems Analyst
PMC Prime Mover Controls Inc.
3600 Gilmore Way
Burnaby, B.C., Canada
V5G 4R8
Phone: 604 433-4644
FAX: 604 433-5570
Email:
http://www.pmc-controls.com
-----Original Message-----
From: Jacob Christ [mailto:]
Sent: Monday, October 07, 2002 12:07 PM
To:
Subject: [motoroladsp] GPIO Macro Does anyone know the official channel for SDK feature enhancment?

I added the following macro to help with initalization of my gpio
port a port at a time... Its a variant of the gpioPin macro it would
might be a reasonable addition to the SDK.

#define gpioPort(Port) (((int)(GPIOPORT_##Port) << 4) | (0x00FF))

Or I was thinking that gpioPins(Port,Pins) would be nice as well...

Jacob _____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/