insane-adding-machines / unicore-mx

UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X
GNU General Public License v3.0
50 stars 8 forks source link

nrf/51: Common Peripheral Interface #30

Closed maksymko closed 7 years ago

maksymko commented 7 years ago

These are registers and convenient definitions that work for all APB peripherals on nrf51. I put everything into macros, because most of them are used from similar functions in other peripherals and I didn't want to create long call chains over something very trivial.

danielinux commented 7 years ago

@roel0 can you please have a look at this PR?

roel0 commented 7 years ago

Looks good!