Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
PCA9685PWM::Mode1 Union Reference

Represent the mode 1 register. More...

Public Member Functions

 Mode1 ()
 Constructor.
 

Public Attributes

uint8_t byte
 full byte value
 
struct { 
 
   uint8_t   allCall: 1 
 respond to "all call" address More...
 
   uint8_t   sub3: 1 
 sub-address 3 More...
 
   uint8_t   sub2: 1 
 sub-address 2 More...
 
   uint8_t   sub1: 1 
 sub-address 1 More...
 
   uint8_t   sleep: 1 
 sleep enabled More...
 
   uint8_t   aI: 1 
 auto increment More...
 
   uint8_t   extClk: 1 
 external clock More...
 
   uint8_t   restart: 1 
 restart More...
 
};  
 

Detailed Description

Represent the mode 1 register.

Definition at line 130 of file PCA9685PWM.hxx.

Constructor & Destructor Documentation

◆ Mode1()

PCA9685PWM::Mode1::Mode1 ( )
inline

Constructor.

Definition at line 133 of file PCA9685PWM.hxx.

Member Data Documentation

◆ aI

uint8_t PCA9685PWM::Mode1::aI

auto increment

Definition at line 146 of file PCA9685PWM.hxx.

◆ allCall

uint8_t PCA9685PWM::Mode1::allCall

respond to "all call" address

Definition at line 141 of file PCA9685PWM.hxx.

◆ byte

uint8_t PCA9685PWM::Mode1::byte

full byte value

Definition at line 138 of file PCA9685PWM.hxx.

◆ extClk

uint8_t PCA9685PWM::Mode1::extClk

external clock

Definition at line 147 of file PCA9685PWM.hxx.

◆ restart

uint8_t PCA9685PWM::Mode1::restart

restart

Definition at line 148 of file PCA9685PWM.hxx.

◆ sleep

uint8_t PCA9685PWM::Mode1::sleep

sleep enabled

Definition at line 145 of file PCA9685PWM.hxx.

◆ sub1

uint8_t PCA9685PWM::Mode1::sub1

sub-address 1

Definition at line 144 of file PCA9685PWM.hxx.

◆ sub2

uint8_t PCA9685PWM::Mode1::sub2

sub-address 2

Definition at line 143 of file PCA9685PWM.hxx.

◆ sub3

uint8_t PCA9685PWM::Mode1::sub3

sub-address 3

Definition at line 142 of file PCA9685PWM.hxx.


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