Register definitions: get rid of some macro magic that doesn't help much

Instead of e.g. GPIO.DATA.GPIO_08, you now use GPIO->DATA.GPIO_08.
This commit is contained in:
Jim Paris 2010-09-26 16:05:12 -04:00
parent bf94b6d3bd
commit ac2cac1e1d
5 changed files with 17 additions and 25 deletions

View file

@ -83,8 +83,7 @@ struct ITC_struct {
};
#undef __INTERRUPT_union
static volatile struct ITC_struct * const _ITC = (void *) (INTBASE);
#define ITC (*_ITC)
static volatile struct ITC_struct * const ITC = (void *) (INTBASE);
/* Old register definitions, for compatibility */