libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Go to the source code of this file.
Macros | |
#define | _SYSCTL_REG(base, i) MMIO32((base) + ((i) >> 5)) |
#define | _SYSCTL_BIT(i) (1 << ((i) & 0x1f)) |
Functions | |
void | sysctl_periph_clock_enable (enum msp432_clock_mode clock_mode, enum msp432_periph periph) |
System Control Enable Peripheral Clock. More... | |
void | sysctl_periph_clock_disable (enum msp432_clock_mode clock_mode, enum msp432_periph periph) |
System Control Disable Peripheral Clock. More... | |
void | sysctl_periph_reset (enum msp432_periph periph) |
System Control Peripheral Software Reset. More... | |
void | sysctl_periph_clear_reset (enum msp432_periph periph) |
System Control Peripheral Clear Software Reset. More... | |
bool | sysctl_periph_is_present (enum msp432_periph periph) |
System Control Peripheral Is Present. More... | |
bool | sysctl_periph_is_ready (enum msp432_periph periph) |
System Control Peripheral Is Ready. More... | |
void | sysctl_periph_set_power_state (enum msp432_power_mode power_mode, enum msp432_periph periph) |
System Control Peripheral Set Power State. More... | |
#define _SYSCTL_BIT | ( | i | ) | (1 << ((i) & 0x1f)) |
Definition at line 38 of file systemcontrol.c.
#define _SYSCTL_REG | ( | base, | |
i | |||
) | MMIO32((base) + ((i) >> 5)) |
Definition at line 37 of file systemcontrol.c.