2016-08-25 15:38:53 -03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Linaro Limited
|
|
|
|
*
|
2017-01-18 17:01:01 -08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-08-25 15:38:53 -03:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file SoC configuration macros for the Nordic nRF51 family processors.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NORDICSEMI_NRF51_SOC_H_
|
|
|
|
#define _NORDICSEMI_NRF51_SOC_H_
|
|
|
|
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
|
|
|
|
|
|
#include <nrf5_common.h>
|
|
|
|
#include <nrf.h>
|
|
|
|
#include <device.h>
|
|
|
|
#include <misc/util.h>
|
|
|
|
#include <drivers/rand32.h>
|
|
|
|
|
|
|
|
#endif /* !_ASMLANGUAGE */
|
|
|
|
|
|
|
|
#define NRF51_POWER_RAMON_ADDRESS 0x40000524
|
|
|
|
#define NRF51_POWER_RAMONB_ADDRESS 0x40000554
|
|
|
|
#define NRF51_POWER_RAMONx_RAMxON_ONMODE_Msk 0x3
|
|
|
|
|
|
|
|
#endif /* _NORDICSEMI_NRF51_SOC_H_ */
|