Numworks Epsilon  1.4.1
Graphing Calculator Operating System
RCC::PLLCFGR Class Reference

#include <rcc.h>

Inheritance diagram for RCC::PLLCFGR:
Register< T >

Public Types

enum  PLLSRC { PLLSRC::HSI = 0, PLLSRC::HSE = 1 }
 

Public Member Functions

 REGS_FIELD (PLLM, uint8_t, 5, 0)
 
 REGS_FIELD (PLLN, uint16_t, 14, 6)
 
 REGS_FIELD (PLLP, uint8_t, 17, 16)
 
void setPLLSRC (PLLSRC s) volatile
 
 REGS_FIELD (PLLQ, uint8_t, 27, 24)
 
 REGS_FIELD (PLLR, uint8_t, 30, 28)
 
- Public Member Functions inherited from Register< T >
 Register ()=delete
 
 Register (T v)
 
void set (Register< T > value) volatile
 
void set (T value) volatile
 
T get () volatile
 
void setBitRange (uint8_t high, uint8_t low, T value) volatile
 
T getBitRange (uint8_t high, uint8_t low) volatile
 

Additional Inherited Members

- Static Protected Member Functions inherited from Register< T >
static constexpr T bit_range_mask (uint8_t high, uint8_t low)
 
static constexpr T bit_range_value (T value, uint8_t high, uint8_t low)
 
static constexpr T bit_range_set_value (uint8_t high, uint8_t low, T originalValue, T targetValue)
 

Detailed Description

Definition at line 17 of file rcc.h.

Member Enumeration Documentation

◆ PLLSRC

enum RCC::PLLCFGR::PLLSRC
strong
Enumerator
HSI 
HSE 

Definition at line 22 of file rcc.h.

Member Function Documentation

◆ REGS_FIELD() [1/5]

RCC::PLLCFGR::REGS_FIELD ( PLLM  ,
uint8_t  ,
,
 
)

◆ REGS_FIELD() [2/5]

RCC::PLLCFGR::REGS_FIELD ( PLLN  ,
uint16_t  ,
14  ,
 
)

◆ REGS_FIELD() [3/5]

RCC::PLLCFGR::REGS_FIELD ( PLLP  ,
uint8_t  ,
17  ,
16   
)

◆ REGS_FIELD() [4/5]

RCC::PLLCFGR::REGS_FIELD ( PLLQ  ,
uint8_t  ,
27  ,
24   
)

◆ REGS_FIELD() [5/5]

RCC::PLLCFGR::REGS_FIELD ( PLLR  ,
uint8_t  ,
30  ,
28   
)

◆ setPLLSRC()

void RCC::PLLCFGR::setPLLSRC ( PLLSRC  s) volatile
inline

Definition at line 26 of file rcc.h.


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