Searched refs:osc (Results 1 – 9 of 9) sorted by relevance
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_uart_drv.c | 61 uint16_t div, osc, delta; in uart_calculate_baudrate() local 72 for (osc = HPM_UART_OSC_MIN; osc <= UART_SOC_OVERSAMPLE_MAX; osc += 2) { in uart_calculate_baudrate() 75 div = (uint16_t)(tmp / osc); in uart_calculate_baudrate() 80 if (div * osc > tmp) { in uart_calculate_baudrate() 81 delta = (uint16_t)(div * osc - tmp); in uart_calculate_baudrate() 82 } else if (div * osc < tmp) { in uart_calculate_baudrate() 83 delta = (uint16_t)(tmp - div * osc); in uart_calculate_baudrate() 89 … *osc_out = (osc == HPM_UART_OSC_MAX) ? 0 : osc; /* osc == 0 in bitfield, oversample rate is 32 */ in uart_calculate_baudrate() 99 uint8_t osc; in uart_init() local 112 | UART_OSCR_OSC_SET(osc); in uart_init() [all …]
|
| /bsp/efm32/Libraries/emlib/src/ |
| A D | em_cmu.c | 1345 CMU_Osc_TypeDef osc = cmuOsc_HFRCO; in CMU_ClockSelectSet() local 1364 osc = cmuOsc_LFXO; in CMU_ClockSelectSet() 1369 osc = cmuOsc_LFRCO; in CMU_ClockSelectSet() 1374 osc = cmuOsc_HFXO; in CMU_ClockSelectSet() 1395 osc = cmuOsc_HFRCO; in CMU_ClockSelectSet() 1736 CMU_Select_TypeDef osc; in CMU_HFRCOBandSet() local 1778 if (osc == cmuSelect_HFRCO) in CMU_HFRCOBandSet() 1791 if (osc == cmuSelect_HFRCO) in CMU_HFRCOBandSet() 1915 switch (osc) in CMU_OscillatorEnable() 1997 switch (osc) in CMU_OscillatorTuningGet() [all …]
|
| A D | em_emu.c | 409 (em4init->osc)| in EMU_EM4Init()
|
| /bsp/avr32/software_framework/drivers/pm/ |
| A D | power_clocks_lib.c | 389 opt.osc = SCIF_OSC0, // Sel Osc0 or Osc1 in pcl_configure_clocks_uc3c() 553 opt.osc = SCIF_OSC0, // Sel Osc0 or Osc1 in pcl_configure_clocks_uc3d() 622 long int pcl_switch_to_osc(pcl_osc_t osc, unsigned int fcrystal, unsigned int startup) in pcl_switch_to_osc() argument 626 if(PCL_OSC0 == osc) in pcl_switch_to_osc() 641 if(PCL_OSC0 == osc) in pcl_switch_to_osc() 674 .osc = SCIF_OSC0, // Sel Osc0 or Osc1 in pcl_configure_usb_clock()
|
| A D | power_clocks_lib.h | 304 extern long int pcl_switch_to_osc(pcl_osc_t osc, unsigned int fcrystal, unsigned int startup);
|
| A D | pm.h | 313 …_t *pm, unsigned int pll, unsigned int mul, unsigned int div, unsigned int osc, unsigned int lockc…
|
| A D | pm.c | 396 unsigned int osc, in pm_pll_setup() argument 401 u_avr32_pm_pll.PLL.pllosc = osc; in pm_pll_setup()
|
| /bsp/efm32/Libraries/emlib/inc/ |
| A D | em_cmu.h | 615 void CMU_OscillatorEnable(CMU_Osc_TypeDef osc, bool enable, bool wait); 616 uint32_t CMU_OscillatorTuningGet(CMU_Osc_TypeDef osc); 617 void CMU_OscillatorTuningSet(CMU_Osc_TypeDef osc, uint32_t val);
|
| A D | em_emu.h | 132 EMU_EM4Osc_TypeDef osc; member
|
Completed in 25 milliseconds