Home
last modified time | relevance | path

Searched refs:div_sel (Results 1 – 25 of 37) sorted by relevance

12

/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54606/
Dsystem_LPC54606.c76 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
83 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
85 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54113/
Dsystem_LPC54113.c72 uint32_t div_sel; in GetWdtOscFreq() local
73 div_sel = ((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1U) << 1U; in GetWdtOscFreq()
76 return ((uint32_t)freq_sel * 50000U) / div_sel; in GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S018/
Dsystem_LPC54S018.c65 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
72 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
75 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S018M/
Dsystem_LPC54S018M.c65 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
72 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
75 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54616/
Dsystem_LPC54616.c74 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
81 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
83 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S016/
Dsystem_LPC54S016.c67 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
74 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
76 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54628/
Dsystem_LPC54628.c70 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
77 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
79 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54016/
Dsystem_LPC54016.c74 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
81 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
83 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54018/
Dsystem_LPC54018.c72 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
79 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
82 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S005/
Dsystem_LPC54S005.c65 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
72 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
75 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54618/
Dsystem_LPC54618.c72 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
79 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
81 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54114/
Dsystem_LPC54114_cm0plus.c72 uint32_t div_sel; in GetWdtOscFreq() local
73 div_sel = ((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1U) << 1U; in GetWdtOscFreq()
76 return ((uint32_t)freq_sel * 50000U) / div_sel; in GetWdtOscFreq()
Dsystem_LPC54114_cm4.c72 uint32_t div_sel; in GetWdtOscFreq() local
73 div_sel = ((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1U) << 1U; in GetWdtOscFreq()
76 return ((uint32_t)freq_sel * 50000U) / div_sel; in GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54607/
Dsystem_LPC54607.c73 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
80 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
82 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54018M/
Dsystem_LPC54018M.c72 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
79 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
82 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54005/
Dsystem_LPC54005.c72 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
79 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
82 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC51U68/
Dsystem_LPC51U68.c70 uint8_t freq_sel, div_sel; in GetWdtOscFreq() local
71 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in GetWdtOscFreq()
73 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54608/
Dsystem_LPC54608.c72 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
79 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
81 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54605/
Dsystem_LPC54605.c76 uint8_t freq_sel, div_sel; in getWdtOscFreq() local
83 div_sel = (uint8_t)((SYSCON->WDTOSCCTRL & SYSCON_WDTOSCCTRL_DIVSEL_MASK) + 1UL) << 1UL; in getWdtOscFreq()
85 return ((uint32_t) freq_sel * 50000U)/((uint32_t)div_sel); in getWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54114/drivers/
Dfsl_clock.c300 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
308 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fU) + 1UL) << 1U); in CLOCK_GetWdtOscFreq()
311 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54113/drivers/
Dfsl_clock.c300 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
308 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fU) + 1UL) << 1U); in CLOCK_GetWdtOscFreq()
311 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC51U68/drivers/
Dfsl_clock.c342 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
349 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fUL) + 1UL) << 1U); in CLOCK_GetWdtOscFreq()
352 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54606/drivers/
Dfsl_clock.c648 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
655 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fU) + 1U) << 1U); in CLOCK_GetWdtOscFreq()
658 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S018M/drivers/
Dfsl_clock.c678 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
685 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fU) + 1U) << 1U); in CLOCK_GetWdtOscFreq()
688 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54018/drivers/
Dfsl_clock.c678 uint8_t freq_sel, div_sel; in CLOCK_GetWdtOscFreq() local
685 div_sel = (uint8_t)(((SYSCON->WDTOSCCTRL & 0x1fU) + 1U) << 1U); in CLOCK_GetWdtOscFreq()
688 return ((uint32_t)freq_sel * 50000U) / ((uint32_t)div_sel); in CLOCK_GetWdtOscFreq()

12