static uint32_t McciArm_putRegOr(uint32_t reg, uint32_t orVal)
or 32-bit values to a cm0plus register
static uint32_t McciArm_getReg(uint32_t reg)
read a 32-bit value from a cm0plus register
static uint32_t McciArm_putReg(uint32_t reg, uint32_t val)
write a 32-bit value to a cm0plus register
static uint32_t McciArm_putRegClear(uint32_t reg, uint32_t clearVal)
clear out 32-bit values to a cm0plus register
#define MCCI_CM0PLUS_SYSTICK_CSR
#define MCCI_CM0PLUS_SYSTICK_CSR_ENABLE
enable counter
#define MCCI_CM0PLUS_SYSTICK_CSR_TICKINT
enable tick exception
static uint32_t McciArm_putRegMasked(uint32_t reg, uint32_t maskVal, uint32_t modVal)
store to cm0plus register under mask
#define MCCI_STM32L0_REG_RCC_CR_PLLON
#define MCCI_STM32L0_REG_RCC_CR
Clock control.
#define MCCI_STM32L0_REG_FLASH_ACR_DISAB_BUF
Disable read buffer.
#define MCCI_STM32L0_REG_RCC_CFGR_MCOSEL
#define MCCI_STM32L0_REG_FLASH_ACR_RUN_PD
power-down in run mode
#define MCCI_STM32L0_REG_RCC_CRRCR_HSI48ON
#define MCCI_STM32L0_REG_FLASH_ACR_PRFTEN
prefetch enable
#define MCCI_STM32L0_REG_RCC_AHBRSTR
AHB peripheral reset.
#define MCCI_STM32L0_REG_FLASH_ACR
Flash access control register.
#define MCCI_STM32L0_REG_RCC_CFGR_PLLSRC
#define MCCI_STM32L0_REG_RCC_CFGR_SWS
#define MCCI_STM32L0_REG_RCC_CFGR_PLLDIV
#define MCCI_STM32L0_REG_RCC_CR_MSIRDY
#define MCCI_STM32L0_REG_RCC_CFGR_HPRE
#define MCCI_STM32L0_REG_RCC_CFGR_PLLMUL
#define MCCI_STM32L0_REG_RCC_CFGR
Clock configuration.
#define MCCI_STM32L0_REG_RCC_APB2RSTR
APB2 peripheral reset.
#define MCCI_STM32L0_REG_RCC_ICSCR
Internal clock sources calibration.
#define MCCI_STM32L0_REG_RCC_APB1RSTR
APB1 peripheral reset.
#define MCCI_STM32L0_REG_RCC_CFGR_SWS_MSI
#define MCCI_STM32L0_REG_RCC_ICSCR_MSIRANGE
#define MCCI_STM32L0_REG_RCC_CFGR_PPRE2
#define MCCI_STM32L0_REG_RCC_CR_MSION
#define MCCI_STM32L0_REG_RCC_CR_HSI16DIVEN
#define MCCI_STM32L0_REG_RCC_CR_HSEBYP
#define MCCI_STM32L0_REG_RCC_CIER
Clock interrupt enable.
#define MCCI_STM32L0_REG_RCC_CFGR_MCOPRE
#define MCCI_STM32L0_REG_RCC_CRRCR
Clock recovery RC.
#define MCCI_STM32L0_REG_RCC_CFGR_SW
#define MCCI_STM32L0_REG_RCC_CR_CSSHSEON
#define MCCI_STM32L0_REG_FLASH_ACR_LATENCY
NVM latency: 1 wait state (not zero wait state)
#define MCCI_STM32L0_REG_RCC_ICSCR_MSIRANGE_4194k
#define MCCI_STM32L0_REG_RCC_CR_HSEON
#define MCCI_STM32L0_REG_FLASH_ACR_SLEEP_PD
power-down in sleep mode
#define MCCI_STM32L0_REG_RCC_CFGR_PPRE1
#define MCCI_STM32L0_REG_FLASH_ACR_PRE_READ
Enable pre-read.
#define MCCI_STM32L0_REG_RCC_IOPRSTR
GPIO reset.
#define MCCI_STM32L0_REG_RCC_CR_HSI16ON
void McciBootloader_Stm32L0_prepareForLaunch(void)