RTEMS 6.1-rc1
|
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) |
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) |
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) |
#define EWM_CLKCTRL_CLKSEL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK) |
CLKSEL - CLKSEL
#define EWM_CLKCTRL_CLKSEL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK) |
CLKSEL - CLKSEL
#define EWM_CLKCTRL_CLKSEL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CLKCTRL_CLKSEL_SHIFT)) & EWM_CLKCTRL_CLKSEL_MASK) |
CLKSEL - CLKSEL
#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
#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
#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
#define EWM_CMPH_COMPAREH | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK) |
COMPAREH - COMPAREH
#define EWM_CMPH_COMPAREH | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK) |
COMPAREH - COMPAREH
#define EWM_CMPH_COMPAREH | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPH_COMPAREH_SHIFT)) & EWM_CMPH_COMPAREH_MASK) |
COMPAREH - COMPAREH
#define EWM_CMPL_COMPAREL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK) |
COMPAREL - COMPAREL
#define EWM_CMPL_COMPAREL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK) |
COMPAREL - COMPAREL
#define EWM_CMPL_COMPAREL | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CMPL_COMPAREL_SHIFT)) & EWM_CMPL_COMPAREL_MASK) |
COMPAREL - COMPAREL
#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.
#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. 0b0..Default assert state of the EWM_in signal. 0b1..Inverts the assert state of EWM_in signal.
#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. 0b0..Default assert state of the EWM_in signal. 0b1..Inverts the assert state of EWM_in signal.
#define EWM_CTRL_EWMEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK) |
EWMEN - EWM enable.
#define EWM_CTRL_EWMEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK) |
EWMEN - EWM enable. 0b0..EWM module is disabled. 0b1..EWM module is enabled.
#define EWM_CTRL_EWMEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_EWMEN_SHIFT)) & EWM_CTRL_EWMEN_MASK) |
EWMEN - EWM enable. 0b0..EWM module is disabled. 0b1..EWM module is enabled.
#define EWM_CTRL_INEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK) |
INEN - Input Enable.
#define EWM_CTRL_INEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK) |
INEN - Input Enable. 0b0..EWM_in port is disabled. 0b1..EWM_in port is enabled.
#define EWM_CTRL_INEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INEN_SHIFT)) & EWM_CTRL_INEN_MASK) |
INEN - Input Enable. 0b0..EWM_in port is disabled. 0b1..EWM_in port is enabled.
#define EWM_CTRL_INTEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK) |
INTEN - Interrupt Enable.
#define EWM_CTRL_INTEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK) |
INTEN - Interrupt Enable. 0b1..Generates an interrupt request, when EWM_OUT_b is asserted. 0b0..Deasserts the interrupt request.
#define EWM_CTRL_INTEN | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_CTRL_INTEN_SHIFT)) & EWM_CTRL_INTEN_MASK) |
INTEN - Interrupt Enable. 0b1..Generates an interrupt request, when EWM_OUT_b is asserted. 0b0..Deasserts the interrupt request.
#define EWM_SERV_SERVICE | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK) |
SERVICE - SERVICE
#define EWM_SERV_SERVICE | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK) |
SERVICE - SERVICE
#define EWM_SERV_SERVICE | ( | x | ) | (((uint8_t)(((uint8_t)(x)) << EWM_SERV_SERVICE_SHIFT)) & EWM_SERV_SERVICE_MASK) |
SERVICE - SERVICE