Library namespace.
More...
|
enum | Channel { ChanA = 0
, ChanB = 1
} |
| PWM Channel.
|
|
|
uint16_t | u16TwoCompl (uint16_t value) |
| Complement the variable of type uint16_t as needed. More...
|
|
uint16_t | reloadValue (uint8_t dutyCyclePercent) |
| Convert duty cycle to reload value. More...
|
|
◆ reloadValue()
uint16_t eFlex::reloadValue |
( |
uint8_t |
dutyCyclePercent | ) |
|
|
inline |
◆ u16TwoCompl()
uint16_t eFlex::u16TwoCompl |
( |
uint16_t |
value | ) |
|
|
inline |
Complement the variable of type uint16_t as needed.
This function can complement the variable of type uint16_t as needed.For example, need to ask for the opposite of a positive integer.
- Parameters
-
value | Parameters of type uint16_t |
Definition at line 32 of file eFlexPwmGlobal.h.