Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: source/nordic-sdk/components/device/nrf51_deprecated.h
- Revision:
- 498:d72c7e78ee13
- Parent:
- 496:08bd8a46630b
--- a/source/nordic-sdk/components/device/nrf51_deprecated.h Wed Dec 02 10:32:51 2015 +0000 +++ b/source/nordic-sdk/components/device/nrf51_deprecated.h Wed Dec 02 10:32:52 2015 +0000 @@ -29,6 +29,7 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * */ + #ifndef NRF51_DEPRECATED_H #define NRF51_DEPRECATED_H @@ -41,13 +42,13 @@ /* NVMC */ /* The register ERASEPROTECTEDPAGE is called ERASEPCR0 in the documentation. */ -#define ERASEPCR0 ERASEPROTECTEDPAGE -/* The register ERASEPAGE is also called ERASEPCR1 in the documentation. */ -#define ERASEPCR1 ERASEPAGE +#define ERASEPROTECTEDPAGE ERASEPCR0 + /* LPCOMP */ /* The interrupt ISR was renamed. Adding old name to the macros. */ #define LPCOMP_COMP_IRQHandler LPCOMP_IRQHandler +#define LPCOMP_COMP_IRQn LPCOMP_IRQn /* MPU */