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:
parent
bf94b6d3bd
commit
ac2cac1e1d
5 changed files with 17 additions and 25 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue