|
KETCube
|
Functions | |
| uint32_t | ketCube_MCU_GetRandomSeed (void) |
| This function return a random seed. More... | |
| void | ketCube_MCU_GetUniqueId (uint8_t *id) |
| This function returns a unique MCU ID. More... | |
| void | ketCube_MCU_Sleep (void) |
| Handle KETCube LowPower mode(s) More... | |
| void | ketCube_MCU_EnableSleep (void) |
| Enable low power mode ... More... | |
| void | ketCube_MCU_DisableSleep (void) |
| Disable low power mode ... More... | |
| bool | ketCube_MCU_IsSleepEnabled (void) |
| Disable low power mode ... More... | |
| void | ketCube_MCU_SetSleepMode (ketCube_mcu_LPMode_t mode) |
| Select sleep mode. More... | |
| ketCube_mcu_LPMode_t | ketCube_MCU_GetSleepMode (void) |
| Get current sleep mode. More... | |
| void | ketCube_MCU_WD_Init (void) |
| KETCube Watchdog (IWDG) Setup. More... | |
| void | ketCube_MCU_WD_Reset (void) |
| KETCube Watchdog (IWDG) Reset. More... | |
| void | ketCube_MCU_ClockConfig (void) |
| Clock Configuration The system Clock is configured as follows: System Clock source = PLL (HSI) SYSCLK(Hz) = 32000000 HCLK(Hz) = 32000000 AHB Prescaler = 1 APB1 Prescaler = 1 APB2 Prescaler = 1 HSI Frequency(Hz) = 16000000 PLLMUL = 6 PLLDIV = 3 Flash Latency(WS) = 1. More... | |
| void | ketCube_MCU_SleepClockConfig (void) |
| Clock Configuration The system Clock is configured as follows: System Clock source = MSI MSI(Hz) = 65000. More... | |
| void | ketCube_MCU_RunClockConfig (void) |
| Clock Configuration The system Clock is configured as follows: System Clock source = MSI HSI(Hz) = 32000000. More... | |
| void | ketCube_MCU_DumpHardFaultRegs (ketCube_MCU_HardFaultRegs_t *HardFaultRegs) |
| Dump HardFault Register Content. More... | |
| void ketCube_MCU_ClockConfig | ( | void | ) |
Clock Configuration The system Clock is configured as follows: System Clock source = PLL (HSI) SYSCLK(Hz) = 32000000 HCLK(Hz) = 32000000 AHB Prescaler = 1 APB1 Prescaler = 1 APB2 Prescaler = 1 HSI Frequency(Hz) = 16000000 PLLMUL = 6 PLLDIV = 3 Flash Latency(WS) = 1.
| void ketCube_MCU_DisableSleep | ( | void | ) |
Disable low power mode ...
| void ketCube_MCU_DumpHardFaultRegs | ( | ketCube_MCU_HardFaultRegs_t * | HardFaultRegs | ) |
Dump HardFault Register Content.
| void ketCube_MCU_EnableSleep | ( | void | ) |
Enable low power mode ...
| uint32_t ketCube_MCU_GetRandomSeed | ( | void | ) |
This function return a random seed.
| seed |
| ketCube_mcu_LPMode_t ketCube_MCU_GetSleepMode | ( | void | ) |
Get current sleep mode.
| mode | current sleep mode |
| void ketCube_MCU_GetUniqueId | ( | uint8_t * | id | ) |
This function returns a unique MCU ID.
| id |
| bool ketCube_MCU_IsSleepEnabled | ( | void | ) |
Disable low power mode ...
| void ketCube_MCU_RunClockConfig | ( | void | ) |
Clock Configuration The system Clock is configured as follows: System Clock source = MSI HSI(Hz) = 32000000.
| void ketCube_MCU_SetSleepMode | ( | ketCube_mcu_LPMode_t | mode | ) |
Select sleep mode.
| mode | sleep mode |
| void ketCube_MCU_Sleep | ( | void | ) |
Handle KETCube LowPower mode(s)
| void ketCube_MCU_SleepClockConfig | ( | void | ) |
Clock Configuration The system Clock is configured as follows: System Clock source = MSI MSI(Hz) = 65000.
| void ketCube_MCU_WD_Init | ( | void | ) |
KETCube Watchdog (IWDG) Setup.
| void ketCube_MCU_WD_Reset | ( | void | ) |
KETCube Watchdog (IWDG) Reset.