Re: uClinux Source Code Patch (Finally!) for Dual PC Modem

Jarvist Frost <[email protected]>
Newsgroups gmane.linux.uclinux.actiontec
Organization Limited
Message-ID <[email protected]>
On Mon, 19 Apr 2004 16:21:46 -0700
"Bruce D. Lightner" <lightner-2huV/[email protected]> wrote:
>    linux/arch/armnommu/mach-cx821xx/gpioisr.c
>    linux/arch/armnommu/mach-cx861xx/gpio.c

These two files look very interesting - what I assume stands for
GeneralPurposeInput/Output; does anybody know what part of the device
physically this corresponds to?

Quoth the source:
/**********************************************************************
******
 *
 *  Name:           void SetGPIOPadElectrical( UINT32 uGPIOPin, UINT32
uSchmidt, UINT32 uPUPD, UINT32 uDr
iveStrength )
 *
 *  Description:    Sets the GPIO Pad's electical characteristics
 *
 *  Inputs:         UINT32 uGPIOPin       = which GPIO
 *                  UINT32 uSchmidt       = GPIO_NONSCHMIDT (0) or
GPIO_SCHMIDT (1)
 *                  UINT32 uPUPD          = GPIO_NOPULL_UP_DOWN, no
pullup or pulldown
 *                                        = GPIO_10uAPULLDOWN, 10uA 
pulldown
 *                                        = GPIO_100uAPULLUP, 100uA
pullup
 *                                        = GPIO_10uAPULLUP, 10uA 
pullup
 *                  UINT32 uDriveStrength = GPIO_0_5mA_DRVSTRENTH, 0.5mA
 *                                          GPIO_1_5mA_DRVSTRENTH, 1.5mA
 *                                          GPIO_2_3mA_DRVSTRENTH, 2.3mA
 *                                          GPIO_3_5mA_DRVSTRENTH, 3.5mA
 *                                          GPIO_5_0mA_DRVSTRENTH, 5.0mA
 *                                          GPIO_6_0mA_DRVSTRENTH, 6.0mA
 *                                          GPIO_7_0mA_DRVSTRENTH, 7.0mA
 *                                          GPIO_8_0mA_DRVSTRENTH, 8.0mA
 *
 *  Outputs:        none
 *

***********************************************************************
****/

Which with the interrupt handling facilities, would seem ample for any
datalogging / peripheal control functions that people could dream up...

So, are there a few spare bits of IO? Or are they all used for
interacting with the ROM/flash?

Jarvist

-- 
Ad astra per aspera [Through Our Endeavors, The Stars]
__
ActionHack Mailing List - ActionHack-W7/[email protected]
http://www.express.org/mailman/listinfo/actionhack
http://www.embeddedlinuxinterfacing.com/wiki.php/ActiontecDualModem
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.