29#ifndef LIBOPENCM3_SYSCON_H
30#define LIBOPENCM3_SYSCON_H
38#define SYSCON_SWD_SEL MMIO32(SYSTEM_CON_BASE + 0x30)
40#define SYSCON_PORTA_SEL MMIO32(SYSTEM_CON_BASE + 0x80)
42#define SYSCON_PORTA_PULLUP MMIO32(SYSTEM_CON_BASE + 0x90)
44#define SYSCON_PORTA_INEN MMIO32(SYSTEM_CON_BASE + 0xe0)
void syscon_sel_af(uint16_t gpios, bool af_en)
Select the alternative function of a Group of Pins.
void syscon_pullup(uint16_t gpios, bool en)
Enable the internal pull-up of a Group of Pins.
void syscon_sel_swd(bool en)
Select the SWD function of GPIO 1/2.
void syscon_input_enable(uint16_t gpios, bool en)
Enable the input function of a Group of Pins.