Callisto4Bootloader: EWM Register Masks

Callisto4Bootloader

EWM Register Masks
Mapping Information » Edma_request » Iomuxc_pads » Device Peripheral Access Layer » EWM Peripheral Access Layer

## CTRL - Control Register

#define | EWM_CTRL_EWMEN_MASK (0x1U)
#define | EWM_CTRL_EWMEN_SHIFT (0U)
#define | EWM_CTRL_EWMEN(x) (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK)
#define | EWM_CTRL_ASSIN_MASK (0x2U)
#define | EWM_CTRL_ASSIN_SHIFT (1U)
#define | EWM_CTRL_ASSIN(x) (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_ASSIN_SHIFT)) & EWM_CTRL_ASSIN_MASK)
#define | EWM_CTRL_INEN_MASK (0x4U)
#define | EWM_CTRL_INEN_SHIFT (2U)
#define | EWM_CTRL_INEN(x) (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK)
#define | EWM_CTRL_INTEN_MASK (0x8U)
#define | EWM_CTRL_INTEN_SHIFT (3U)
#define | EWM_CTRL_INTEN(x) (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK)

## SERV - Service Register

#define | EWM_SERV_SERVICE_MASK (0xFFU)
#define | EWM_SERV_SERVICE_SHIFT (0U)
#define | EWM_SERV_SERVICE(x) (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK)

## CMPL - Compare Low Register

#define | EWM_CMPL_COMPAREL_MASK (0xFFU)
#define | EWM_CMPL_COMPAREL_SHIFT (0U)
#define | EWM_CMPL_COMPAREL(x) (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK)

## CMPH - Compare High Register

#define | EWM_CMPH_COMPAREH_MASK (0xFFU)
#define | EWM_CMPH_COMPAREH_SHIFT (0U)
#define | EWM_CMPH_COMPAREH(x) (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK)

## CLKCTRL - Clock Control Register

#define | EWM_CLKCTRL_CLKSEL_MASK (0x3U)
#define | EWM_CLKCTRL_CLKSEL_SHIFT (0U)
#define | EWM_CLKCTRL_CLKSEL(x) (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK)

## CLKPRESCALER - Clock Prescaler Register

#define | EWM_CLKPRESCALER_CLK_DIV_MASK (0xFFU)
#define | EWM_CLKPRESCALER_CLK_DIV_SHIFT (0U)
#define | EWM_CLKPRESCALER_CLK_DIV(x) (((uint8_t)(((uint8_t)(x)) << EWM_CLKPRESCALER_CLK_DIV_SHIFT)) & EWM_CLKPRESCALER_CLK_DIV_MASK)

## Detailed Description

## Macro Definition Documentation

## ◆ EWM_CLKCTRL_CLKSEL

#define EWM_CLKCTRL_CLKSEL | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK)

CLKSEL - CLKSEL

Definition at line 18509 of file MIMXRT1062.h.

## ◆ EWM_CLKCTRL_CLKSEL_MASK

#define EWM_CLKCTRL_CLKSEL_MASK (0x3U)

Definition at line 18505 of file MIMXRT1062.h.

## ◆ EWM_CLKCTRL_CLKSEL_SHIFT

#define EWM_CLKCTRL_CLKSEL_SHIFT (0U)

Definition at line 18506 of file MIMXRT1062.h.

## ◆ EWM_CLKPRESCALER_CLK_DIV

#define EWM_CLKPRESCALER_CLK_DIV | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CLKPRESCALER_CLK_DIV_SHIFT)) & EWM_CLKPRESCALER_CLK_DIV_MASK)

CLK_DIV - CLK_DIV

Definition at line 18518 of file MIMXRT1062.h.

## ◆ EWM_CLKPRESCALER_CLK_DIV_MASK

#define EWM_CLKPRESCALER_CLK_DIV_MASK (0xFFU)

Definition at line 18514 of file MIMXRT1062.h.

## ◆ EWM_CLKPRESCALER_CLK_DIV_SHIFT

#define EWM_CLKPRESCALER_CLK_DIV_SHIFT (0U)

Definition at line 18515 of file MIMXRT1062.h.

## ◆ EWM_CMPH_COMPAREH

#define EWM_CMPH_COMPAREH | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK)

COMPAREH - COMPAREH

Definition at line 18500 of file MIMXRT1062.h.

## ◆ EWM_CMPH_COMPAREH_MASK

#define EWM_CMPH_COMPAREH_MASK (0xFFU)

Definition at line 18496 of file MIMXRT1062.h.

## ◆ EWM_CMPH_COMPAREH_SHIFT

#define EWM_CMPH_COMPAREH_SHIFT (0U)

Definition at line 18497 of file MIMXRT1062.h.

## ◆ EWM_CMPL_COMPAREL

#define EWM_CMPL_COMPAREL | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK)

COMPAREL - COMPAREL

Definition at line 18491 of file MIMXRT1062.h.

## ◆ EWM_CMPL_COMPAREL_MASK

#define EWM_CMPL_COMPAREL_MASK (0xFFU)

Definition at line 18487 of file MIMXRT1062.h.

## ◆ EWM_CMPL_COMPAREL_SHIFT

#define EWM_CMPL_COMPAREL_SHIFT (0U)

Definition at line 18488 of file MIMXRT1062.h.

## ◆ EWM_CTRL_ASSIN

#define EWM_CTRL_ASSIN | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_ASSIN_SHIFT)) & EWM_CTRL_ASSIN_MASK)

ASSIN - EWM_in's Assertion State Select.

Definition at line 18463 of file MIMXRT1062.h.

## ◆ EWM_CTRL_ASSIN_MASK

#define EWM_CTRL_ASSIN_MASK (0x2U)

Definition at line 18459 of file MIMXRT1062.h.

## ◆ EWM_CTRL_ASSIN_SHIFT

#define EWM_CTRL_ASSIN_SHIFT (1U)

Definition at line 18460 of file MIMXRT1062.h.

## ◆ EWM_CTRL_EWMEN

#define EWM_CTRL_EWMEN | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK)

EWMEN - EWM enable.

Definition at line 18458 of file MIMXRT1062.h.

## ◆ EWM_CTRL_EWMEN_MASK

#define EWM_CTRL_EWMEN_MASK (0x1U)

Definition at line 18454 of file MIMXRT1062.h.

## ◆ EWM_CTRL_EWMEN_SHIFT

#define EWM_CTRL_EWMEN_SHIFT (0U)

Definition at line 18455 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INEN

#define EWM_CTRL_INEN | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK)

INEN - Input Enable.

Definition at line 18468 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INEN_MASK

#define EWM_CTRL_INEN_MASK (0x4U)

Definition at line 18464 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INEN_SHIFT

#define EWM_CTRL_INEN_SHIFT (2U)

Definition at line 18465 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INTEN

#define EWM_CTRL_INTEN | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK)

INTEN - Interrupt Enable.

Definition at line 18473 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INTEN_MASK

#define EWM_CTRL_INTEN_MASK (0x8U)

Definition at line 18469 of file MIMXRT1062.h.

## ◆ EWM_CTRL_INTEN_SHIFT

#define EWM_CTRL_INTEN_SHIFT (3U)

Definition at line 18470 of file MIMXRT1062.h.

## ◆ EWM_SERV_SERVICE

#define EWM_SERV_SERVICE | ( |  | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK)

SERVICE - SERVICE

Definition at line 18482 of file MIMXRT1062.h.

## ◆ EWM_SERV_SERVICE_MASK

#define EWM_SERV_SERVICE_MASK (0xFFU)

Definition at line 18478 of file MIMXRT1062.h.

## ◆ EWM_SERV_SERVICE_SHIFT

#define EWM_SERV_SERVICE_SHIFT (0U)

Definition at line 18479 of file MIMXRT1062.h.