Numworks Epsilon  1.4.1
Graphing Calculator Operating System
TIM::CCMR Class Reference

#include <tim.h>

Inheritance diagram for TIM::CCMR:
Register< T >

Public Types

enum  CC1S : uint8_t { CC1S::OUTPUT = 0, CC1S::INPUT_TI2 = 1, CC1S::INPUT_TI1 = 2, CC1S::INPUT_TRC = 3 }
 
enum  OCM : uint8_t {
  OCM::Frozen = 0, OCM::ActiveOnMatch = 1, OCM::InactiveOnMatch = 2, OCM::Toggle = 3,
  OCM::ForceInactive = 4, OCM::ForceActive = 5, OCM::PWM1 = 6, OCM::PWM2 = 7
}
 
typedef OCM OC1M
 
typedef OCM OC2M
 
typedef OCM OC3M
 
typedef OCM OC4M
 

Public Member Functions

 REGS_BOOL_FIELD (OC1PE, 3)
 
 REGS_TYPE_FIELD (OC1M, 6, 4)
 
 REGS_BOOL_FIELD (OC2PE, 11)
 
 REGS_TYPE_FIELD (OC2M, 14, 12)
 
 REGS_BOOL_FIELD (OC3PE, 35)
 
 REGS_TYPE_FIELD (OC3M, 38, 36)
 
 REGS_BOOL_FIELD (OC4PE, 43)
 
 REGS_TYPE_FIELD (OC4M, 46, 44)
 

Detailed Description

Definition at line 14 of file tim.h.

Member Typedef Documentation

◆ OC1M

Definition at line 37 of file tim.h.

◆ OC2M

Definition at line 38 of file tim.h.

◆ OC3M

Definition at line 39 of file tim.h.

◆ OC4M

Definition at line 40 of file tim.h.

Member Enumeration Documentation

◆ CC1S

enum TIM::CCMR::CC1S : uint8_t
strong
Enumerator
OUTPUT 
INPUT_TI2 
INPUT_TI1 
INPUT_TRC 

Definition at line 21 of file tim.h.

◆ OCM

enum TIM::CCMR::OCM : uint8_t
strong
Enumerator
Frozen 
ActiveOnMatch 
InactiveOnMatch 
Toggle 
ForceInactive 
ForceActive 
PWM1 
PWM2 

Definition at line 27 of file tim.h.

Member Function Documentation

◆ REGS_BOOL_FIELD() [1/4]

TIM::CCMR::REGS_BOOL_FIELD ( OC1PE  ,
 
)

◆ REGS_BOOL_FIELD() [2/4]

TIM::CCMR::REGS_BOOL_FIELD ( OC2PE  ,
11   
)

◆ REGS_BOOL_FIELD() [3/4]

TIM::CCMR::REGS_BOOL_FIELD ( OC3PE  ,
35   
)

◆ REGS_BOOL_FIELD() [4/4]

TIM::CCMR::REGS_BOOL_FIELD ( OC4PE  ,
43   
)

◆ REGS_TYPE_FIELD() [1/4]

TIM::CCMR::REGS_TYPE_FIELD ( OC1M  ,
,
 
)

◆ REGS_TYPE_FIELD() [2/4]

TIM::CCMR::REGS_TYPE_FIELD ( OC2M  ,
14  ,
12   
)

◆ REGS_TYPE_FIELD() [3/4]

TIM::CCMR::REGS_TYPE_FIELD ( OC3M  ,
38  ,
36   
)

◆ REGS_TYPE_FIELD() [4/4]

TIM::CCMR::REGS_TYPE_FIELD ( OC4M  ,
46  ,
44   
)

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