2017-06-16 23:42:03 +08:00
|
|
|
/*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* General header for the CC2650 System on Chip.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _CC2650_SOC_H_
|
|
|
|
#define _CC2650_SOC_H_
|
|
|
|
|
|
|
|
#include <misc/util.h>
|
2017-10-31 21:25:48 +08:00
|
|
|
#include "registers/ccfg.h"
|
|
|
|
#include "registers/gpio.h"
|
|
|
|
#include "registers/ioc.h"
|
|
|
|
#include "registers/prcm.h"
|
2017-06-16 23:42:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* Helper functions and macros */
|
|
|
|
|
|
|
|
#define REG_ADDR(Base, Offset) (u32_t)(Base + (u32_t)Offset)
|
|
|
|
|
|
|
|
int bit_is_set(u32_t reg, u8_t bit);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _CC2650_SOC_H_ */
|