Home
last modified time | relevance | path

Searched refs:PM (Results 1 – 25 of 160) sorted by relevance

1234567

/bsp/samd21/sam_d2x_asflib/sam0/drivers/system/clock/clock_samd20/
A Dclock_feature.h990 bus_divider = PM->APBASEL.reg; in system_apb_clock_get_hz()
993 bus_divider = PM->APBBSEL.reg; in system_apb_clock_get_hz()
996 bus_divider = PM->APBCSEL.reg; in system_apb_clock_get_hz()
1028 PM->AHBMASK.reg |= ahb_mask; in system_ahb_clock_set_mask()
1043 PM->AHBMASK.reg &= ~ahb_mask; in system_ahb_clock_clear_mask()
1069 PM->APBAMASK.reg |= mask; in system_apb_clock_set_mask()
1073 PM->APBBMASK.reg |= mask; in system_apb_clock_set_mask()
1077 PM->APBCMASK.reg |= mask; in system_apb_clock_set_mask()
1111 PM->APBAMASK.reg &= ~mask; in system_apb_clock_clear_mask()
1115 PM->APBBMASK.reg &= ~mask; in system_apb_clock_clear_mask()
[all …]
/bsp/microchip/saml10/bsp/hpl/pm/
A Dhpl_pm.c56 hri_pm_write_SLEEPCFG_SLEEPMODE_bf(PM, mode); in _set_sleep_mode()
70 if (hri_pm_get_PLCFG_PLSEL_bf(PM, PM_PLCFG_PLSEL_Msk) != level) { in _set_performance_level()
71 hri_pm_clear_INTFLAG_reg(PM, 0xFF); in _set_performance_level()
72 hri_pm_write_PLCFG_PLSEL_bf(PM, level); in _set_performance_level()
73 while (!hri_pm_read_INTFLAG_reg(PM)) in _set_performance_level()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/system/clock/clock_samd21_r21_da_ha1/
A Dclock_feature.h992 bus_divider = PM->APBASEL.reg; in system_apb_clock_get_hz()
995 bus_divider = PM->APBBSEL.reg; in system_apb_clock_get_hz()
998 bus_divider = PM->APBCSEL.reg; in system_apb_clock_get_hz()
1030 PM->AHBMASK.reg |= ahb_mask; in system_ahb_clock_set_mask()
1045 PM->AHBMASK.reg &= ~ahb_mask; in system_ahb_clock_clear_mask()
1071 PM->APBAMASK.reg |= mask; in system_apb_clock_set_mask()
1075 PM->APBBMASK.reg |= mask; in system_apb_clock_set_mask()
1079 PM->APBCMASK.reg |= mask; in system_apb_clock_set_mask()
1113 PM->APBAMASK.reg &= ~mask; in system_apb_clock_clear_mask()
1117 PM->APBBMASK.reg &= ~mask; in system_apb_clock_clear_mask()
[all …]
/bsp/samd21/sam_d2x_asflib/sam0/drivers/system/power/power_sam_l/
A Dpower.h762 PM->SLEEPCFG.reg = sleep_mode; in system_set_sleepmode()
763 while(PM->SLEEPCFG.reg != sleep_mode) ; in system_set_sleepmode()
813 if (PM->PLCFG.reg & PM_PLCFG_PLDIS) { in system_switch_performance_level()
819 PM->INTFLAG.reg = PM_INTFLAG_PLRDY; in system_switch_performance_level()
822 PM->PLCFG.reg = performance_level; in system_switch_performance_level()
825 while (!PM->INTFLAG.reg) { in system_switch_performance_level()
839 PM->PLCFG.reg &= ~PM_PLCFG_PLDIS; in system_performance_level_enable()
849 PM->PLCFG.reg |= PM_PLCFG_PLDIS; in system_performance_level_disable()
873 return PM->INTFLAG.reg; in system_get_performance_level_status()
883 PM->INTFLAG.reg = PM_INTFLAG_PLRDY; in system_clear_performance_level_status()
[all …]
/bsp/microchip/same54/bsp/hpl/pm/
A Dhpl_pm.c51 hri_pm_write_SLEEPCFG_reg(PM, mode); in _set_sleep_mode()
58 if (hri_pm_read_SLEEPCFG_reg(PM) == mode) { in _set_sleep_mode()
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hpl/pm/
A Dhpl_pm.c51 hri_pm_write_SLEEPCFG_reg(PM, mode); in _set_sleep_mode()
58 if (hri_pm_read_SLEEPCFG_reg(PM) == mode) { in _set_sleep_mode()
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hpl/pm/
A Dhpl_pm.c51 hri_pm_write_SLEEPCFG_reg(PM, mode); in _set_sleep_mode()
58 if (hri_pm_read_SLEEPCFG_reg(PM) == mode) { in _set_sleep_mode()
/bsp/samd21/sam_d2x_asflib/sam0/drivers/system/power/power_sam_c/
A Dpower.h320 PM->SLEEPCFG.reg = sleep_mode; in system_set_sleepmode()
378 PM->STDBYCFG.reg = PM_STDBYCFG_VREGSMOD(config->vreg_switch_mode) | in system_standby_set_config()
/bsp/samd21/sam_d2x_asflib/sam0/utils/cmsis/samd20/include/
A Dsamd20e14.h358 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
420 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
422 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20e15.h358 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
420 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
422 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g14.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g15.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g16.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g17.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g17u.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g18.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20g18u.h363 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
427 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
429 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20e16.h358 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
420 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
422 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20e17.h358 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
420 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
422 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20e18.h358 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
420 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
422 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20j14.h374 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
440 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
442 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20j15.h374 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
440 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
442 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20j16.h374 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
440 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
442 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20j17.h374 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
440 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
442 #define PM_INSTS { PM } /**< \brief (PM) Instances List */
A Dsamd20j18.h374 #define PM (0x40000400UL) /**< \brief (PM) APB Base Address */ macro
440 #define PM ((Pm *)0x40000400UL) /**< \brief (PM) APB Base Address */ macro
442 #define PM_INSTS { PM } /**< \brief (PM) Instances List */

Completed in 70 milliseconds

1234567