|
OpenMPTL - STM32F10X
C++ Microprocessor Template Library
|
#include <rcc.hpp>
Classes | |
| struct | rtc_clock_source |
Public Types | |
| using | hse_enable = regval< RCC::CR::HSEON, 1 > |
| Enable external high speed oscillator. More... | |
| using | hse_disable = regval< RCC::CR::HSEON, 0 > |
| Enable external high speed oscillator. More... | |
| using | lsi_enable = regval< RCC::CSR::LSION, 1 > |
| Enable Internal low speed oscillator. More... | |
| using | lsi_disable = regval< RCC::CSR::LSION, 0 > |
| Disable Internal low speed oscillator. More... | |
| using | lse_enable = regval< RCC::BDCR::LSEON, 1 > |
| Enable external low speed oscillator. More... | |
| using | lse_disable = regval< RCC::BDCR::LSEON, 0 > |
| Disable external low speed oscillator. More... | |
| using | rtc_enable = regval< RCC::BDCR::RTCEN, 1 > |
| Enable RTC clock. More... | |
Static Public Member Functions | |
| static void | backup_domain_software_reset (void) |
| static void | wait_hse_ready (void) |
| static bool | wait_hse_ready (unsigned timeout) |
| static void | wait_lse_ready (void) |
| using mptl::rcc::hse_disable = regval< RCC::CR::HSEON, 0 > |
| using mptl::rcc::hse_enable = regval< RCC::CR::HSEON, 1 > |
| using mptl::rcc::lse_disable = regval< RCC::BDCR::LSEON, 0 > |
| using mptl::rcc::lse_enable = regval< RCC::BDCR::LSEON, 1 > |
| using mptl::rcc::lsi_disable = regval< RCC::CSR::LSION, 0 > |
| using mptl::rcc::lsi_enable = regval< RCC::CSR::LSION, 1 > |
| using mptl::rcc::rtc_enable = regval< RCC::BDCR::RTCEN, 1> |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
1.8.13