MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
sema_regs.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  mxc_sema_regs_t
 

Macros

#define MXC_R_SEMA_SEMAPHORES   ((uint32_t)0x00000000UL)
 
#define MXC_R_SEMA_IRQ0   ((uint32_t)0x00000040UL)
 
#define MXC_R_SEMA_MAIL0   ((uint32_t)0x00000044UL)
 
#define MXC_R_SEMA_IRQ1   ((uint32_t)0x00000048UL)
 
#define MXC_R_SEMA_MAIL1   ((uint32_t)0x0000004CUL)
 
#define MXC_R_SEMA_STATUS   ((uint32_t)0x00000100UL)
 
#define MXC_F_SEMA_SEMAPHORES_SEMA_POS   0
 
#define MXC_F_SEMA_SEMAPHORES_SEMA   ((uint32_t)(0x1UL << MXC_F_SEMA_SEMAPHORES_SEMA_POS))
 
#define MXC_F_SEMA_IRQ0_EN_POS   0
 
#define MXC_F_SEMA_IRQ0_EN   ((uint32_t)(0x1UL << MXC_F_SEMA_IRQ0_EN_POS))
 
#define MXC_F_SEMA_IRQ0_CM4_IRQ_POS   16
 
#define MXC_F_SEMA_IRQ0_CM4_IRQ   ((uint32_t)(0x1UL << MXC_F_SEMA_IRQ0_CM4_IRQ_POS))
 
#define MXC_F_SEMA_MAIL0_DATA_POS   0
 
#define MXC_F_SEMA_MAIL0_DATA   ((uint32_t)(0xFFFFFFFFUL << MXC_F_SEMA_MAIL0_DATA_POS))
 
#define MXC_F_SEMA_IRQ1_EN_POS   0
 
#define MXC_F_SEMA_IRQ1_EN   ((uint32_t)(0x1UL << MXC_F_SEMA_IRQ1_EN_POS))
 
#define MXC_F_SEMA_IRQ1_RV32_IRQ_POS   16
 
#define MXC_F_SEMA_IRQ1_RV32_IRQ   ((uint32_t)(0x1UL << MXC_F_SEMA_IRQ1_RV32_IRQ_POS))
 
#define MXC_F_SEMA_MAIL1_DATA_POS   0
 
#define MXC_F_SEMA_MAIL1_DATA   ((uint32_t)(0xFFFFFFFFUL << MXC_F_SEMA_MAIL1_DATA_POS))
 
#define MXC_F_SEMA_STATUS_STATUS0_POS   0
 
#define MXC_F_SEMA_STATUS_STATUS0   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS0_POS))
 
#define MXC_F_SEMA_STATUS_STATUS1_POS   1
 
#define MXC_F_SEMA_STATUS_STATUS1   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS1_POS))
 
#define MXC_F_SEMA_STATUS_STATUS2_POS   2
 
#define MXC_F_SEMA_STATUS_STATUS2   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS2_POS))
 
#define MXC_F_SEMA_STATUS_STATUS3_POS   3
 
#define MXC_F_SEMA_STATUS_STATUS3   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS3_POS))
 
#define MXC_F_SEMA_STATUS_STATUS4_POS   4
 
#define MXC_F_SEMA_STATUS_STATUS4   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS4_POS))
 
#define MXC_F_SEMA_STATUS_STATUS5_POS   5
 
#define MXC_F_SEMA_STATUS_STATUS5   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS5_POS))
 
#define MXC_F_SEMA_STATUS_STATUS6_POS   6
 
#define MXC_F_SEMA_STATUS_STATUS6   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS6_POS))
 
#define MXC_F_SEMA_STATUS_STATUS7_POS   7
 
#define MXC_F_SEMA_STATUS_STATUS7   ((uint32_t)(0x1UL << MXC_F_SEMA_STATUS_STATUS7_POS))
 

Detailed Description

Registers, Bit Masks and Bit Positions for the SEMA Peripheral Module.

Note
This file is @generated.