2007-05-23 12:41 AM
one more STR Library bug found! Routine GPIO_Init()
2011-05-17 12:43 AM
WARNING! If you use PORT 8 and 9 of STR91x, your program will hang when trying to call GPIO_Init(). This is because GPIOIN and GPIOOUT registers of SCU unit, do not exist for ports 8 and 9, but GPIO_Init() will try to access them anyway!
Attached a text file containing a fixed version of the routine GPIO_Init only (#ifdef BUGS_STLIB_FIXED just to highlight the added lines of code). Take care