| Electronic Components Datasheet Search |
|
AN4141 Datasheet(PDF) 26 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4141 Datasheet(HTML) 26 Page - STMicroelectronics |
|
26 / 42 page ![]() HAL to StdPeriph_Lib list of changes AN4141 26/42 DocID023425 Rev 2 3.3.2 NVIC Some basic NVIC APIs are provided by the STM32W108xx standard library drivers to manage the NVIC registers. These NVIC APIs are summarized in the following table: 3.3.3 CLK In addition to the basic clock API provided by the STM32W108xx standard library drivers, the required functions to calibrate the internal clocks HSI and LSI are added. The following table provides an overview of the CLK changes. Table 9. STM32W108xx NVIC driver overview StdPeriph_Driver API Functionality description NVIC_PriorityGroupConfig() Configures the priority grouping: preemption priority and subpriority NVIC_Init() Initializes the NVIC peripheral according to the specified parameters in NVIC_InitStruct NVIC_SetVectorTable() Sets the vector table location and offset NVIC_SystemLPConfig() Selects the condition for the system to enter low power mode Table 10. STM32W108xx CLK driver overview HAL StdPeriph_Driver Functionality description halInternalCalibrateFastRc() CLK_InternalCalibrateFastRc() Calibrates the high-speed internal clock (HSI) to be close to 12 MHz SLEEPTMR_CLKEN = SLEEPTMR_CLK10KEN SLEEPTMR_CLKEN = SLEEPTMR_CLK32KEN CLK_SLPTIMClockConfig() Enables or disables the specified SLPTIM clock halInternalCalibrateSlowRc() CLK_InternalCalibrateSlowRc() Calibrates the slow RC(LSI 10 KHz) to generate 1 KHz clock CLK_PERIODMODE = 0 CLK_PERIODMODE = 1 CLK_MeasurePeriod() Selects the clock period to be measured period = CLK_PERIOD CLK_GetMeasurePeriod() Returns the clock period measured depending on clock selected NA CLK_GetClocksFreq() Returns the clock source used as system clock NA CLK_HSECmd() Enables or disables the External High Speed oscillator halInternalSwitchToXtal24M() CLK_Config() Configures the clock mode to use NA CLK_DeInit() Resets the CLOCK configuration to the default reset state NA CLK_RCTuneConfig() Sets tune value for CLKRC clock NA CLK_1KClockCalibration() Calibration CLK1K clock |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |