37#define _SYSCTL_REG(base, i) MMIO32((base) + ((i) >> 5))
38#define _SYSCTL_BIT(i) (1 << ((i) & 0x1f))
94 return((reg32 & mask) != 0);
107 return((reg32 & mask) != 0);
#define SYSCTL_BASE
System Control Base Address.
#define SYSCTL_PPWD
Watchdog Timer Peripheral Present.
#define SYSCTL_PRWD
Watchdog Timer Peripheral Ready.
#define SYSCTL_PCWD
Watchdog Timer Power Control.
#define SYSCTL_SRWD
Watchdog Timer Software Reset.
void sysctl_periph_set_power_state(enum msp432_power_mode power_mode, enum msp432_periph periph)
System Control Peripheral Set Power State.
bool sysctl_periph_is_ready(enum msp432_periph periph)
System Control Peripheral Is Ready.
msp432_power_mode
Power mode definitions.
void sysctl_periph_clock_disable(enum msp432_clock_mode clock_mode, enum msp432_periph periph)
System Control Disable Peripheral Clock.
void sysctl_periph_clock_enable(enum msp432_clock_mode clock_mode, enum msp432_periph periph)
System Control Enable Peripheral Clock.
void sysctl_periph_reset(enum msp432_periph periph)
System Control Peripheral Software Reset.
msp432_clock_mode
Clock mode definitions The definitions are specified in the form offset from SYSCTL_BASE.
msp432_periph
Peripheral list definitions The definitions are specified in the form 31:5 register offset from first...
void sysctl_periph_clear_reset(enum msp432_periph periph)
System Control Peripheral Clear Software Reset.
bool sysctl_periph_is_present(enum msp432_periph periph)
System Control Peripheral Is Present.
#define _SYSCTL_REG(base, i)