cpu/cc2538: fix doxygen grouping warnings
Signed-off-by: Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
This commit is contained in:
parent
51bab0a5a9
commit
5750dc0270
@ -26,9 +26,10 @@ extern "C" {
|
|||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
/* CMSIS DEFINITIONS FOR CC2538 */
|
/* CMSIS DEFINITIONS FOR CC2538 */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
/** @addtogroup CC2538_cmsis CMSIS Definitions */
|
/**
|
||||||
/*@{*/
|
* @addtogroup CC2538_cmsis CMSIS Definitions
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
/** Interrupt Number Definition */
|
/** Interrupt Number Definition */
|
||||||
typedef enum IRQn
|
typedef enum IRQn
|
||||||
{
|
{
|
||||||
@ -86,7 +87,8 @@ typedef enum IRQn
|
|||||||
PERIPH_COUNT_IRQn = (MACTIMER_IRQn + 1) /**< Number of peripheral IDs */
|
PERIPH_COUNT_IRQn = (MACTIMER_IRQn + 1) /**< Number of peripheral IDs */
|
||||||
} IRQn_Type;
|
} IRQn_Type;
|
||||||
|
|
||||||
/** @name Cortex-M3 core interrupt handlers
|
/**
|
||||||
|
* @name Cortex-M3 core interrupt handlers
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
void Reset_Handler(void); /**< Reset handler */
|
void Reset_Handler(void); /**< Reset handler */
|
||||||
@ -113,26 +115,23 @@ void SysTick_Handler(void); /**< SysTick handler */
|
|||||||
/**
|
/**
|
||||||
* @brief CMSIS includes
|
* @brief CMSIS includes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <core_cm3.h>
|
#include <core_cm3.h>
|
||||||
|
/** @} */
|
||||||
/*@}*/
|
|
||||||
|
|
||||||
#define IEEE_ADDR_MSWORD ( *(const uint32_t*)0x00280028 ) /**< Most-significant 32 bits of the IEEE address */
|
#define IEEE_ADDR_MSWORD ( *(const uint32_t*)0x00280028 ) /**< Most-significant 32 bits of the IEEE address */
|
||||||
#define IEEE_ADDR_LSWORD ( *(const uint32_t*)0x0028002c ) /**< Least-significant 32 bits of the IEEE address */
|
#define IEEE_ADDR_LSWORD ( *(const uint32_t*)0x0028002c ) /**< Least-significant 32 bits of the IEEE address */
|
||||||
|
|
||||||
typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IEEE address */
|
typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IEEE address */
|
||||||
|
|
||||||
/** @addtogroup cpu_specific_Peripheral_memory_map
|
/**
|
||||||
* @{
|
* @addtogroup cpu_specific_Peripheral_memory_map
|
||||||
*/
|
* @{
|
||||||
|
*/
|
||||||
#define FLASH_BASE 0x00200000 /**< FLASH base address */
|
#define FLASH_BASE 0x00200000 /**< FLASH base address */
|
||||||
#define SRAM_BASE 0x20000000 /**< SRAM base address */
|
#define SRAM_BASE 0x20000000 /**< SRAM base address */
|
||||||
#define PERIPH_BASE 0x40000000 /**< Peripheral base address */
|
#define PERIPH_BASE 0x40000000 /**< Peripheral base address */
|
||||||
|
|
||||||
#define SRAM_BB_BASE 0x22000000 /**< SRAM base address in the bit-band region */
|
#define SRAM_BB_BASE 0x22000000 /**< SRAM base address in the bit-band region */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/** @name CC2538 Special Function Registers
|
/** @name CC2538 Special Function Registers
|
||||||
@ -811,5 +810,4 @@ typedef volatile uint32_t cc2538_reg_t; /**< Least-significant 32 bits of the IE
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC2538_H */
|
#endif /* CC2538_H */
|
||||||
|
/** @} */
|
||||||
/*@}*/
|
|
||||||
|
|||||||
@ -89,5 +89,4 @@ typedef struct {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC2538_GPTIMER_H */
|
#endif /* CC2538_GPTIMER_H */
|
||||||
|
/** @} */
|
||||||
/* @} */
|
|
||||||
|
|||||||
@ -136,7 +136,7 @@ enum {
|
|||||||
FSM_STATE_TX_CALIBRATION = 32,
|
FSM_STATE_TX_CALIBRATION = 32,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @brief RFCORE_XREG_RFERRM bits
|
* @brief RFCORE_XREG_RFERRM bits
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
@ -149,18 +149,18 @@ enum {
|
|||||||
NLOCK = BIT(0),
|
NLOCK = BIT(0),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @brief RFCORE_XREG_FRMCTRL0 bits
|
* @brief RFCORE_XREG_FRMCTRL0 bits
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
SET_RXENMASK_ON_TX = BIT(0),
|
SET_RXENMASK_ON_TX = BIT(0),
|
||||||
IGNORE_TX_UNDERF = BIT(1),
|
IGNORE_TX_UNDERF = BIT(1),
|
||||||
PENDING_OR = BIT(2),
|
PENDING_OR = BIT(2),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @brief RFCORE_XREG_FRMCTRL1 bits
|
* @brief RFCORE_XREG_FRMCTRL1 bits
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
ENERGY_SCAN = BIT(4),
|
ENERGY_SCAN = BIT(4),
|
||||||
AUTOACK = BIT(5),
|
AUTOACK = BIT(5),
|
||||||
@ -168,7 +168,7 @@ enum {
|
|||||||
APPEND_DATA_MODE = BIT(7),
|
APPEND_DATA_MODE = BIT(7),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @brief RFCORE_XREG_RFIRQM0 / RFCORE_XREG_RFIRQF0 bits
|
* @brief RFCORE_XREG_RFIRQM0 / RFCORE_XREG_RFIRQF0 bits
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
@ -182,7 +182,7 @@ enum {
|
|||||||
RXMASKZERO = BIT(7),
|
RXMASKZERO = BIT(7),
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @brief RFCORE_XREG_RFIRQM1 / RFCORE_XREG_RFIRQF1 bits
|
* @brief RFCORE_XREG_RFIRQM1 / RFCORE_XREG_RFIRQF1 bits
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
@ -194,14 +194,18 @@ enum {
|
|||||||
CSP_WAIT = BIT(5),
|
CSP_WAIT = BIT(5),
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Values for use with CCTEST_OBSSELx registers: */
|
/**
|
||||||
|
* @brief Values for use with CCTEST_OBSSELx registers.
|
||||||
|
*/
|
||||||
enum {
|
enum {
|
||||||
rfc_obs_sig0 = 0,
|
rfc_obs_sig0 = 0,
|
||||||
rfc_obs_sig1 = 1,
|
rfc_obs_sig1 = 1,
|
||||||
rfc_obs_sig2 = 2,
|
rfc_obs_sig2 = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Values for RFCORE_XREG_RFC_OBS_CTRLx registers: */
|
/**
|
||||||
|
* @brief Values for RFCORE_XREG_RFC_OBS_CTRLx registers.
|
||||||
|
*/
|
||||||
enum {
|
enum {
|
||||||
constant_value_0 = 0x00, /**< Constant value 0 */
|
constant_value_0 = 0x00, /**< Constant value 0 */
|
||||||
constant_value_1 = 0x01, /**< Constant value 1*/
|
constant_value_1 = 0x01, /**< Constant value 1*/
|
||||||
@ -248,8 +252,6 @@ enum {
|
|||||||
disabled = 0xff, /**< disabled */
|
disabled = 0xff, /**< disabled */
|
||||||
};
|
};
|
||||||
|
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name RF CORE observable signals settings
|
* @name RF CORE observable signals settings
|
||||||
*/
|
*/
|
||||||
@ -278,7 +280,6 @@ enum {
|
|||||||
(CONFIG_CC2538_RF_OBS_SIG_0_PCX > 7))
|
(CONFIG_CC2538_RF_OBS_SIG_0_PCX > 7))
|
||||||
#error "CONFIG_CC2538_RF_OBS_SIG_X_PCX must be between 0-7 (PC0-PC7)"
|
#error "CONFIG_CC2538_RF_OBS_SIG_X_PCX must be between 0-7 (PC0-PC7)"
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Device descriptor for CC2538 transceiver
|
* @brief Device descriptor for CC2538 transceiver
|
||||||
|
|||||||
@ -276,7 +276,4 @@ enum {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CC2538_RFCORE_H */
|
#endif /* CC2538_RFCORE_H */
|
||||||
|
|
||||||
/** @} */
|
|
||||||
/** @} */
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user