migrated attribute functions to declarations (lpc2387-gpioint)