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

Represent the mode 2 register. More...

Public Member Functions

 Mode2 ()
 Constructor.
 

Public Attributes

uint8_t byte
 full byte data
 
struct { 
 
   uint8_t   outNE: 2 
 output not enable More...
 
   uint8_t   outDrv: 1 
 1 = push/pull, 0 = open drain More...
 
   uint8_t   och: 1 
 1 = updata on ack, 0 = update on stop More...
 
   uint8_t   invert: 1 
 invert output More...
 
   uint8_t   unused: 3 
 unused More...
 
};  
 

Detailed Description

Represent the mode 2 register.

Definition at line 153 of file PCA9685PWM.hxx.

Constructor & Destructor Documentation

◆ Mode2()

PCA9685PWM::Mode2::Mode2 ( )
inline

Constructor.

Definition at line 156 of file PCA9685PWM.hxx.

Member Data Documentation

◆ byte

uint8_t PCA9685PWM::Mode2::byte

full byte data

Definition at line 161 of file PCA9685PWM.hxx.

◆ invert

uint8_t PCA9685PWM::Mode2::invert

invert output

Definition at line 167 of file PCA9685PWM.hxx.

◆ och

uint8_t PCA9685PWM::Mode2::och

1 = updata on ack, 0 = update on stop

Definition at line 166 of file PCA9685PWM.hxx.

◆ outDrv

uint8_t PCA9685PWM::Mode2::outDrv

1 = push/pull, 0 = open drain

Definition at line 165 of file PCA9685PWM.hxx.

◆ outNE

uint8_t PCA9685PWM::Mode2::outNE

output not enable

Definition at line 164 of file PCA9685PWM.hxx.

◆ unused

uint8_t PCA9685PWM::Mode2::unused

unused

Definition at line 168 of file PCA9685PWM.hxx.


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