Struct resets#
Defined in File resets.h
Struct Documentation#
-
struct resets#
Public Functions
-
inline bool get_RESET_adc() volatile#
Get RESET’s adc bit.
-
inline void set_RESET_adc() volatile#
Set RESET’s adc bit.
-
inline void clear_RESET_adc() volatile#
Clear RESET’s adc bit.
-
inline void toggle_RESET_adc() volatile#
Toggle RESET’s adc bit.
-
inline bool get_RESET_busctrl() volatile#
Get RESET’s busctrl bit.
-
inline void set_RESET_busctrl() volatile#
Set RESET’s busctrl bit.
-
inline void clear_RESET_busctrl() volatile#
Clear RESET’s busctrl bit.
-
inline void toggle_RESET_busctrl() volatile#
Toggle RESET’s busctrl bit.
-
inline bool get_RESET_dma() volatile#
Get RESET’s dma bit.
-
inline void set_RESET_dma() volatile#
Set RESET’s dma bit.
-
inline void clear_RESET_dma() volatile#
Clear RESET’s dma bit.
-
inline void toggle_RESET_dma() volatile#
Toggle RESET’s dma bit.
-
inline bool get_RESET_i2c1() volatile#
Get RESET’s i2c1 bit.
-
inline void set_RESET_i2c1() volatile#
Set RESET’s i2c1 bit.
-
inline void clear_RESET_i2c1() volatile#
Clear RESET’s i2c1 bit.
-
inline void toggle_RESET_i2c1() volatile#
Toggle RESET’s i2c1 bit.
-
inline bool get_RESET_jtag() volatile#
Get RESET’s jtag bit.
-
inline void set_RESET_jtag() volatile#
Set RESET’s jtag bit.
-
inline void clear_RESET_jtag() volatile#
Clear RESET’s jtag bit.
-
inline void toggle_RESET_jtag() volatile#
Toggle RESET’s jtag bit.
-
inline bool get_RESET_pads_bank0() volatile#
Get RESET’s pads_bank0 bit.
-
inline void set_RESET_pads_bank0() volatile#
Set RESET’s pads_bank0 bit.
-
inline void clear_RESET_pads_bank0() volatile#
Clear RESET’s pads_bank0 bit.
-
inline void toggle_RESET_pads_bank0() volatile#
Toggle RESET’s pads_bank0 bit.
-
inline bool get_RESET_pio1() volatile#
Get RESET’s pio1 bit.
-
inline void set_RESET_pio1() volatile#
Set RESET’s pio1 bit.
-
inline void clear_RESET_pio1() volatile#
Clear RESET’s pio1 bit.
-
inline void toggle_RESET_pio1() volatile#
Toggle RESET’s pio1 bit.
-
inline bool get_RESET_pll_usb() volatile#
Get RESET’s pll_usb bit.
-
inline void set_RESET_pll_usb() volatile#
Set RESET’s pll_usb bit.
-
inline void clear_RESET_pll_usb() volatile#
Clear RESET’s pll_usb bit.
-
inline void toggle_RESET_pll_usb() volatile#
Toggle RESET’s pll_usb bit.
-
inline bool get_RESET_pwm() volatile#
Get RESET’s pwm bit.
-
inline void set_RESET_pwm() volatile#
Set RESET’s pwm bit.
-
inline void clear_RESET_pwm() volatile#
Clear RESET’s pwm bit.
-
inline void toggle_RESET_pwm() volatile#
Toggle RESET’s pwm bit.
-
inline bool get_RESET_rtc() volatile#
Get RESET’s rtc bit.
-
inline void set_RESET_rtc() volatile#
Set RESET’s rtc bit.
-
inline void clear_RESET_rtc() volatile#
Clear RESET’s rtc bit.
-
inline void toggle_RESET_rtc() volatile#
Toggle RESET’s rtc bit.
-
inline bool get_RESET_spi1() volatile#
Get RESET’s spi1 bit.
-
inline void set_RESET_spi1() volatile#
Set RESET’s spi1 bit.
-
inline void clear_RESET_spi1() volatile#
Clear RESET’s spi1 bit.
-
inline void toggle_RESET_spi1() volatile#
Toggle RESET’s spi1 bit.
-
inline bool get_RESET_syscfg() volatile#
Get RESET’s syscfg bit.
-
inline void set_RESET_syscfg() volatile#
Set RESET’s syscfg bit.
-
inline void clear_RESET_syscfg() volatile#
Clear RESET’s syscfg bit.
-
inline void toggle_RESET_syscfg() volatile#
Toggle RESET’s syscfg bit.
-
inline bool get_RESET_sysinfo() volatile#
Get RESET’s sysinfo bit.
-
inline void set_RESET_sysinfo() volatile#
Set RESET’s sysinfo bit.
-
inline void clear_RESET_sysinfo() volatile#
Clear RESET’s sysinfo bit.
-
inline void toggle_RESET_sysinfo() volatile#
Toggle RESET’s sysinfo bit.
-
inline bool get_RESET_tbman() volatile#
Get RESET’s tbman bit.
-
inline void set_RESET_tbman() volatile#
Set RESET’s tbman bit.
-
inline void clear_RESET_tbman() volatile#
Clear RESET’s tbman bit.
-
inline void toggle_RESET_tbman() volatile#
Toggle RESET’s tbman bit.
-
inline bool get_RESET_timer() volatile#
Get RESET’s timer bit.
-
inline void set_RESET_timer() volatile#
Set RESET’s timer bit.
-
inline void clear_RESET_timer() volatile#
Clear RESET’s timer bit.
-
inline void toggle_RESET_timer() volatile#
Toggle RESET’s timer bit.
-
inline bool get_RESET_uart1() volatile#
Get RESET’s uart1 bit.
-
inline void set_RESET_uart1() volatile#
Set RESET’s uart1 bit.
-
inline void clear_RESET_uart1() volatile#
Clear RESET’s uart1 bit.
-
inline void toggle_RESET_uart1() volatile#
Toggle RESET’s uart1 bit.
-
inline bool get_RESET_usbctrl() volatile#
Get RESET’s usbctrl bit.
-
inline void set_RESET_usbctrl() volatile#
Set RESET’s usbctrl bit.
-
inline void clear_RESET_usbctrl() volatile#
Clear RESET’s usbctrl bit.
-
inline void toggle_RESET_usbctrl() volatile#
Toggle RESET’s usbctrl bit.
-
inline void get_RESET(bool &adc, bool &busctrl, bool &dma, bool &i2c0, bool &i2c1, bool &io_bank0, bool &io_qspi, bool &jtag, bool &pads_bank0, bool &pads_qspi, bool &pio0, bool &pio1, bool &pll_sys, bool &pll_usb, bool &pwm, bool &rtc, bool &spi0, bool &spi1, bool &syscfg, bool &sysinfo, bool &tbman, bool &timer, bool &uart0, bool &uart1, bool &usbctrl) volatile#
Get all of RESET’s bit fields.
(read-write) Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral’s reset is deasserted.
-
inline void set_RESET(bool adc, bool busctrl, bool dma, bool i2c0, bool i2c1, bool io_bank0, bool io_qspi, bool jtag, bool pads_bank0, bool pads_qspi, bool pio0, bool pio1, bool pll_sys, bool pll_usb, bool pwm, bool rtc, bool spi0, bool spi1, bool syscfg, bool sysinfo, bool tbman, bool timer, bool uart0, bool uart1, bool usbctrl) volatile#
Set all of RESET’s bit fields.
(read-write) Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral’s reset is deasserted.
-
inline bool get_WDSEL_adc() volatile#
Get WDSEL’s adc bit.
-
inline void set_WDSEL_adc() volatile#
Set WDSEL’s adc bit.
-
inline void clear_WDSEL_adc() volatile#
Clear WDSEL’s adc bit.
-
inline void toggle_WDSEL_adc() volatile#
Toggle WDSEL’s adc bit.
-
inline bool get_WDSEL_busctrl() volatile#
Get WDSEL’s busctrl bit.
-
inline void set_WDSEL_busctrl() volatile#
Set WDSEL’s busctrl bit.
-
inline void clear_WDSEL_busctrl() volatile#
Clear WDSEL’s busctrl bit.
-
inline void toggle_WDSEL_busctrl() volatile#
Toggle WDSEL’s busctrl bit.
-
inline bool get_WDSEL_dma() volatile#
Get WDSEL’s dma bit.
-
inline void set_WDSEL_dma() volatile#
Set WDSEL’s dma bit.
-
inline void clear_WDSEL_dma() volatile#
Clear WDSEL’s dma bit.
-
inline void toggle_WDSEL_dma() volatile#
Toggle WDSEL’s dma bit.
-
inline bool get_WDSEL_i2c1() volatile#
Get WDSEL’s i2c1 bit.
-
inline void set_WDSEL_i2c1() volatile#
Set WDSEL’s i2c1 bit.
-
inline void clear_WDSEL_i2c1() volatile#
Clear WDSEL’s i2c1 bit.
-
inline void toggle_WDSEL_i2c1() volatile#
Toggle WDSEL’s i2c1 bit.
-
inline bool get_WDSEL_jtag() volatile#
Get WDSEL’s jtag bit.
-
inline void set_WDSEL_jtag() volatile#
Set WDSEL’s jtag bit.
-
inline void clear_WDSEL_jtag() volatile#
Clear WDSEL’s jtag bit.
-
inline void toggle_WDSEL_jtag() volatile#
Toggle WDSEL’s jtag bit.
-
inline bool get_WDSEL_pads_bank0() volatile#
Get WDSEL’s pads_bank0 bit.
-
inline void set_WDSEL_pads_bank0() volatile#
Set WDSEL’s pads_bank0 bit.
-
inline void clear_WDSEL_pads_bank0() volatile#
Clear WDSEL’s pads_bank0 bit.
-
inline void toggle_WDSEL_pads_bank0() volatile#
Toggle WDSEL’s pads_bank0 bit.
-
inline bool get_WDSEL_pio1() volatile#
Get WDSEL’s pio1 bit.
-
inline void set_WDSEL_pio1() volatile#
Set WDSEL’s pio1 bit.
-
inline void clear_WDSEL_pio1() volatile#
Clear WDSEL’s pio1 bit.
-
inline void toggle_WDSEL_pio1() volatile#
Toggle WDSEL’s pio1 bit.
-
inline bool get_WDSEL_pll_usb() volatile#
Get WDSEL’s pll_usb bit.
-
inline void set_WDSEL_pll_usb() volatile#
Set WDSEL’s pll_usb bit.
-
inline void clear_WDSEL_pll_usb() volatile#
Clear WDSEL’s pll_usb bit.
-
inline void toggle_WDSEL_pll_usb() volatile#
Toggle WDSEL’s pll_usb bit.
-
inline bool get_WDSEL_pwm() volatile#
Get WDSEL’s pwm bit.
-
inline void set_WDSEL_pwm() volatile#
Set WDSEL’s pwm bit.
-
inline void clear_WDSEL_pwm() volatile#
Clear WDSEL’s pwm bit.
-
inline void toggle_WDSEL_pwm() volatile#
Toggle WDSEL’s pwm bit.
-
inline bool get_WDSEL_rtc() volatile#
Get WDSEL’s rtc bit.
-
inline void set_WDSEL_rtc() volatile#
Set WDSEL’s rtc bit.
-
inline void clear_WDSEL_rtc() volatile#
Clear WDSEL’s rtc bit.
-
inline void toggle_WDSEL_rtc() volatile#
Toggle WDSEL’s rtc bit.
-
inline bool get_WDSEL_spi1() volatile#
Get WDSEL’s spi1 bit.
-
inline void set_WDSEL_spi1() volatile#
Set WDSEL’s spi1 bit.
-
inline void clear_WDSEL_spi1() volatile#
Clear WDSEL’s spi1 bit.
-
inline void toggle_WDSEL_spi1() volatile#
Toggle WDSEL’s spi1 bit.
-
inline bool get_WDSEL_syscfg() volatile#
Get WDSEL’s syscfg bit.
-
inline void set_WDSEL_syscfg() volatile#
Set WDSEL’s syscfg bit.
-
inline void clear_WDSEL_syscfg() volatile#
Clear WDSEL’s syscfg bit.
-
inline void toggle_WDSEL_syscfg() volatile#
Toggle WDSEL’s syscfg bit.
-
inline bool get_WDSEL_sysinfo() volatile#
Get WDSEL’s sysinfo bit.
-
inline void set_WDSEL_sysinfo() volatile#
Set WDSEL’s sysinfo bit.
-
inline void clear_WDSEL_sysinfo() volatile#
Clear WDSEL’s sysinfo bit.
-
inline void toggle_WDSEL_sysinfo() volatile#
Toggle WDSEL’s sysinfo bit.
-
inline bool get_WDSEL_tbman() volatile#
Get WDSEL’s tbman bit.
-
inline void set_WDSEL_tbman() volatile#
Set WDSEL’s tbman bit.
-
inline void clear_WDSEL_tbman() volatile#
Clear WDSEL’s tbman bit.
-
inline void toggle_WDSEL_tbman() volatile#
Toggle WDSEL’s tbman bit.
-
inline bool get_WDSEL_timer() volatile#
Get WDSEL’s timer bit.
-
inline void set_WDSEL_timer() volatile#
Set WDSEL’s timer bit.
-
inline void clear_WDSEL_timer() volatile#
Clear WDSEL’s timer bit.
-
inline void toggle_WDSEL_timer() volatile#
Toggle WDSEL’s timer bit.
-
inline bool get_WDSEL_uart1() volatile#
Get WDSEL’s uart1 bit.
-
inline void set_WDSEL_uart1() volatile#
Set WDSEL’s uart1 bit.
-
inline void clear_WDSEL_uart1() volatile#
Clear WDSEL’s uart1 bit.
-
inline void toggle_WDSEL_uart1() volatile#
Toggle WDSEL’s uart1 bit.
-
inline bool get_WDSEL_usbctrl() volatile#
Get WDSEL’s usbctrl bit.
-
inline void set_WDSEL_usbctrl() volatile#
Set WDSEL’s usbctrl bit.
-
inline void clear_WDSEL_usbctrl() volatile#
Clear WDSEL’s usbctrl bit.
-
inline void toggle_WDSEL_usbctrl() volatile#
Toggle WDSEL’s usbctrl bit.
-
inline void get_WDSEL(bool &adc, bool &busctrl, bool &dma, bool &i2c0, bool &i2c1, bool &io_bank0, bool &io_qspi, bool &jtag, bool &pads_bank0, bool &pads_qspi, bool &pio0, bool &pio1, bool &pll_sys, bool &pll_usb, bool &pwm, bool &rtc, bool &spi0, bool &spi1, bool &syscfg, bool &sysinfo, bool &tbman, bool &timer, bool &uart0, bool &uart1, bool &usbctrl) volatile#
Get all of WDSEL’s bit fields.
(read-write) Watchdog select. If a bit is set then the watchdog will reset this peripheral when the watchdog fires.
-
inline void set_WDSEL(bool adc, bool busctrl, bool dma, bool i2c0, bool i2c1, bool io_bank0, bool io_qspi, bool jtag, bool pads_bank0, bool pads_qspi, bool pio0, bool pio1, bool pll_sys, bool pll_usb, bool pwm, bool rtc, bool spi0, bool spi1, bool syscfg, bool sysinfo, bool tbman, bool timer, bool uart0, bool uart1, bool usbctrl) volatile#
Set all of WDSEL’s bit fields.
(read-write) Watchdog select. If a bit is set then the watchdog will reset this peripheral when the watchdog fires.
-
inline bool get_RESET_DONE_adc() volatile#
Get RESET_DONE’s adc bit.
-
inline bool get_RESET_DONE_busctrl() volatile#
Get RESET_DONE’s busctrl bit.
-
inline bool get_RESET_DONE_dma() volatile#
Get RESET_DONE’s dma bit.
-
inline bool get_RESET_DONE_i2c1() volatile#
Get RESET_DONE’s i2c1 bit.
-
inline bool get_RESET_DONE_jtag() volatile#
Get RESET_DONE’s jtag bit.
-
inline bool get_RESET_DONE_pads_bank0() volatile#
Get RESET_DONE’s pads_bank0 bit.
-
inline bool get_RESET_DONE_pio1() volatile#
Get RESET_DONE’s pio1 bit.
-
inline bool get_RESET_DONE_pll_usb() volatile#
Get RESET_DONE’s pll_usb bit.
-
inline bool get_RESET_DONE_pwm() volatile#
Get RESET_DONE’s pwm bit.
-
inline bool get_RESET_DONE_rtc() volatile#
Get RESET_DONE’s rtc bit.
-
inline bool get_RESET_DONE_spi1() volatile#
Get RESET_DONE’s spi1 bit.
-
inline bool get_RESET_DONE_syscfg() volatile#
Get RESET_DONE’s syscfg bit.
-
inline bool get_RESET_DONE_sysinfo() volatile#
Get RESET_DONE’s sysinfo bit.
-
inline bool get_RESET_DONE_tbman() volatile#
Get RESET_DONE’s tbman bit.
-
inline bool get_RESET_DONE_timer() volatile#
Get RESET_DONE’s timer bit.
-
inline bool get_RESET_DONE_uart1() volatile#
Get RESET_DONE’s uart1 bit.
-
inline bool get_RESET_DONE_usbctrl() volatile#
Get RESET_DONE’s usbctrl bit.
-
inline void get_RESET_DONE(bool &adc, bool &busctrl, bool &dma, bool &i2c0, bool &i2c1, bool &io_bank0, bool &io_qspi, bool &jtag, bool &pads_bank0, bool &pads_qspi, bool &pio0, bool &pio1, bool &pll_sys, bool &pll_usb, bool &pwm, bool &rtc, bool &spi0, bool &spi1, bool &syscfg, bool &sysinfo, bool &tbman, bool &timer, bool &uart0, bool &uart1, bool &usbctrl) volatile#
Get all of RESET_DONE’s bit fields.
(read-only) Reset done. If a bit is set then a reset done signal has been returned by the peripheral. This indicates that the peripheral’s registers are ready to be accessed.
Public Members
-
uint32_t RESET#
(read-write) Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral’s reset is deasserted.
-
uint32_t WDSEL#
(read-write) Watchdog select. If a bit is set then the watchdog will reset this peripheral when the watchdog fires.
-
const uint32_t RESET_DONE = {}#
(read-only) Reset done. If a bit is set then a reset done signal has been returned by the peripheral. This indicates that the peripheral’s registers are ready to be accessed.
Public Static Attributes
-
static constexpr std::size_t size = 12#
resets’s size in bytes.
-
inline bool get_RESET_adc() volatile#