/* Definitions to make sure I do the same thing in all functions */ #define __SCx200_GPIO_BANK unsigned bank = index>>5 #define __SCx200_GPIO_IOADDR unsignedshort ioaddr = scx200_gpio_base+0x10*bank #define __SCx200_GPIO_SHADOW unsignedlong *shadow = scx200_gpio_shadow+bank #define __SCx200_GPIO_INDEX index &= 31
/* return the value driven on the GPIO signal (the value that will be driven if the GPIO is configured as an output, it might not be the
state of the GPIO right now if the GPIO is configured as an input) */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.