OpenMPTL - STM32F10X
C++ Microprocessor Template Library
Classes | Public Types | Static Public Member Functions | List of all members
mptl::rcc Class Reference

#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)
 

Member Typedef Documentation

◆ hse_disable

◆ hse_enable

◆ lse_disable

◆ lse_enable

◆ lsi_disable

◆ lsi_enable

◆ rtc_enable

Member Function Documentation

◆ backup_domain_software_reset()

static void mptl::rcc::backup_domain_software_reset ( void  )
inlinestatic

◆ wait_hse_ready() [1/2]

static void mptl::rcc::wait_hse_ready ( void  )
inlinestatic

◆ wait_hse_ready() [2/2]

static bool mptl::rcc::wait_hse_ready ( unsigned  timeout)
inlinestatic

◆ wait_lse_ready()

static void mptl::rcc::wait_lse_ready ( void  )
inlinestatic

The documentation for this class was generated from the following file: