ELIOT1 HAL
Загрузка...
Поиск...
Не найдено
hal_mhu.h
См. документацию.
1
21#ifndef HAL_MHU_H
22#define HAL_MHU_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28#include "hal_common.h"
29
36static inline void MHU_CPU0_SetInt(MHU_Type *base, uint32_t mask)
37{
38 MHU_CPU0INTR_SET_CPU0INTR_SET_PTYPE_SET(base, mask);
39}
40
47static inline void MHU_CPU0_ClearInt(MHU_Type *base, uint32_t mask)
48{
49 MHU_CPU0INTR_CLR_CPU0INTR_CLR_PTYPE_SET(base, mask);
50}
51
59static inline uint32_t MHU_CPU0_StatInt(MHU_Type *base)
60{
61 return MHU_CPU0INTR_STAT_CPU0INTR_STAT_PTYPE_GET(base);
62}
63
70static inline void MHU_CPU1_SetInt(MHU_Type *base, uint32_t mask)
71{
72 MHU_CPU1INTR_SET_CPU1INTR_SET_PTYPE_SET(base, mask);
73}
74
81static inline void MHU_CPU1_ClearInt(MHU_Type *base, uint32_t mask)
82{
83 MHU_CPU1INTR_CLR_CPU1INTR_CLR_PTYPE_SET(base, mask);
84}
85
93static inline uint32_t MHU_CPU1_StatInt(MHU_Type *base)
94{
95 return MHU_CPU1INTR_STAT_CPU1INTR_STAT_PTYPE_GET(base);
96}
97
98#ifdef __cplusplus
99}
100#endif
101
102#endif /* HAL_MHU_H */
103
static void MHU_CPU0_SetInt(MHU_Type *base, uint32_t mask)
Установка прерывания CPU0 по маске
Definition hal_mhu.h:36
static uint32_t MHU_CPU1_StatInt(MHU_Type *base)
Чтение статуса прерываний CPU1.
Definition hal_mhu.h:93
static void MHU_CPU1_SetInt(MHU_Type *base, uint32_t mask)
Установка прерывания CPU1 по маске
Definition hal_mhu.h:70
static uint32_t MHU_CPU0_StatInt(MHU_Type *base)
Чтение статуса прерываний CPU0.
Definition hal_mhu.h:59
static void MHU_CPU1_ClearInt(MHU_Type *base, uint32_t mask)
Сброс прерывания CPU1 по маске
Definition hal_mhu.h:81
static void MHU_CPU0_ClearInt(MHU_Type *base, uint32_t mask)
Сброс прерывания CPU0 по маске
Definition hal_mhu.h:47