Home
last modified time | relevance | path

Searched refs:u32RegVal (Results 1 – 22 of 22) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S66/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5526/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S28/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5528/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S26/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S69/drivers/
Dfsl_power.c1495 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1536 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1537 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1540 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1542 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1545u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1546u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1548 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1560 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1597 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5506CPXXXX/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5506/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5516/drivers/
Dfsl_power.c1586 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1627 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1628 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1631 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1633 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1636u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1637u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1639 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1651 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1688 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S14/drivers/
Dfsl_power.c1586 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1627 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1628 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1631 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1633 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1636u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1637u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1639 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1651 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1688 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5512/drivers/
Dfsl_power.c1586 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1627 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1628 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1631 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1633 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1636u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1637u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1639 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1651 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1688 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S04/drivers/
Dfsl_power.c1536 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1577 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1578 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1581 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1583 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1586u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1587u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1589 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1601 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1638 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5502/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5502CPXXXX/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5514/drivers/
Dfsl_power.c1586 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1627 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1628 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1631 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1633 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1636u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1637u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1639 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1651 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1688 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S06/drivers/
Dfsl_power.c1536 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1577 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1578 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1581 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1583 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1586u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1587u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1589 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1601 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1638 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S16/drivers/
Dfsl_power.c1586 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1627 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1628 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1631 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1633 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1636u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1637u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1639 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1651 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1688 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5504/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5504CPXXXX/drivers/
Dfsl_power.c1518 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1559 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1560 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1563 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1565 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1568u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1569u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1571 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1583 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1620 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5536/drivers/
Dfsl_clock.c2275 uint32_t u32RegVal; in CLOCK_XtalHfCapabankTrim() local
2313 u32RegVal = ANACTRL->XO32M_CTRL; in CLOCK_XtalHfCapabankTrim()
2314 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in CLOCK_XtalHfCapabankTrim()
2317 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in CLOCK_XtalHfCapabankTrim()
2319 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in CLOCK_XtalHfCapabankTrim()
2322u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in CLOCK_XtalHfCapabankTrim()
2323u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in CLOCK_XtalHfCapabankTrim()
2325 ANACTRL->XO32M_CTRL = u32RegVal; in CLOCK_XtalHfCapabankTrim()
2348 uint32_t u32RegVal; in CLOCK_Xtal32khzCapabankTrim() local
2382 u32RegVal = PMC->XTAL32K; in CLOCK_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC55S36/drivers/
Dfsl_clock.c2275 uint32_t u32RegVal; in CLOCK_XtalHfCapabankTrim() local
2313 u32RegVal = ANACTRL->XO32M_CTRL; in CLOCK_XtalHfCapabankTrim()
2314 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in CLOCK_XtalHfCapabankTrim()
2317 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in CLOCK_XtalHfCapabankTrim()
2319 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in CLOCK_XtalHfCapabankTrim()
2322u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in CLOCK_XtalHfCapabankTrim()
2323u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in CLOCK_XtalHfCapabankTrim()
2325 ANACTRL->XO32M_CTRL = u32RegVal; in CLOCK_XtalHfCapabankTrim()
2348 uint32_t u32RegVal; in CLOCK_Xtal32khzCapabankTrim() local
2382 u32RegVal = PMC->XTAL32K; in CLOCK_Xtal32khzCapabankTrim()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5534/drivers/
Dfsl_clock.c2275 uint32_t u32RegVal; in CLOCK_XtalHfCapabankTrim() local
2313 u32RegVal = ANACTRL->XO32M_CTRL; in CLOCK_XtalHfCapabankTrim()
2314 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in CLOCK_XtalHfCapabankTrim()
2317 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in CLOCK_XtalHfCapabankTrim()
2319 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in CLOCK_XtalHfCapabankTrim()
2322u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in CLOCK_XtalHfCapabankTrim()
2323u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in CLOCK_XtalHfCapabankTrim()
2325 ANACTRL->XO32M_CTRL = u32RegVal; in CLOCK_XtalHfCapabankTrim()
2348 uint32_t u32RegVal; in CLOCK_Xtal32khzCapabankTrim() local
2382 u32RegVal = PMC->XTAL32K; in CLOCK_Xtal32khzCapabankTrim()
[all …]