SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
axp192_regs::gpio Struct Reference

GPIO control and signal registers. More...

#include <AXP192Regs.hpp>

Static Public Attributes

static constexpr uint8_t GPIO0_CTL = 0x90
 
static constexpr uint8_t GPIO0_VOL = 0x91
 
static constexpr uint8_t GPIO1_CTL = 0x92
 
static constexpr uint8_t GPIO2_CTL = 0x93
 
static constexpr uint8_t GPIO012_SIGNAL = 0x94
 
static constexpr uint8_t GPIO34_CTL = 0x95
 
static constexpr uint8_t GPIO34_SIGNAL = 0x96
 
static constexpr uint8_t GPIO012_PULLDOWN = 0x97
 
static constexpr uint8_t PWM1_FREQ = 0x98
 
static constexpr uint8_t PWM1_DUTY1 = 0x99
 
static constexpr uint8_t PWM1_DUTY2 = 0x9A
 
static constexpr uint8_t PWM2_FREQ = 0x9B
 
static constexpr uint8_t PWM2_DUTY1 = 0x9C
 
static constexpr uint8_t PWM2_DUTY2 = 0x9D
 
static constexpr uint8_t GPIO5_CTL = 0x9E
 

Detailed Description

GPIO control and signal registers.

Definition at line 185 of file AXP192Regs.hpp.

Member Data Documentation

◆ GPIO012_PULLDOWN

constexpr uint8_t axp192_regs::gpio::GPIO012_PULLDOWN = 0x97
staticconstexpr

Definition at line 193 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::getPull(), and AXP192Gpio::setPull().

◆ GPIO012_SIGNAL

constexpr uint8_t axp192_regs::gpio::GPIO012_SIGNAL = 0x94
staticconstexpr

Definition at line 190 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::read(), and AXP192Gpio::write().

◆ GPIO0_CTL

constexpr uint8_t axp192_regs::gpio::GPIO0_CTL = 0x90
staticconstexpr

◆ GPIO0_VOL

constexpr uint8_t axp192_regs::gpio::GPIO0_VOL = 0x91
staticconstexpr

Definition at line 187 of file AXP192Regs.hpp.

Referenced by AXP192Channel::getVoltage(), and AXP192Channel::setVoltage().

◆ GPIO1_CTL

constexpr uint8_t axp192_regs::gpio::GPIO1_CTL = 0x92
staticconstexpr

◆ GPIO2_CTL

constexpr uint8_t axp192_regs::gpio::GPIO2_CTL = 0x93
staticconstexpr

◆ GPIO34_CTL

constexpr uint8_t axp192_regs::gpio::GPIO34_CTL = 0x95
staticconstexpr

◆ GPIO34_SIGNAL

constexpr uint8_t axp192_regs::gpio::GPIO34_SIGNAL = 0x96
staticconstexpr

Definition at line 192 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::read(), and AXP192Gpio::write().

◆ GPIO5_CTL

constexpr uint8_t axp192_regs::gpio::GPIO5_CTL = 0x9E
staticconstexpr

◆ PWM1_DUTY1

constexpr uint8_t axp192_regs::gpio::PWM1_DUTY1 = 0x99
staticconstexpr

Definition at line 195 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmDutyCycle().

◆ PWM1_DUTY2

constexpr uint8_t axp192_regs::gpio::PWM1_DUTY2 = 0x9A
staticconstexpr

Definition at line 196 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmDutyCycle().

◆ PWM1_FREQ

constexpr uint8_t axp192_regs::gpio::PWM1_FREQ = 0x98
staticconstexpr

Definition at line 194 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmFrequency().

◆ PWM2_DUTY1

constexpr uint8_t axp192_regs::gpio::PWM2_DUTY1 = 0x9C
staticconstexpr

Definition at line 198 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmDutyCycle().

◆ PWM2_DUTY2

constexpr uint8_t axp192_regs::gpio::PWM2_DUTY2 = 0x9D
staticconstexpr

Definition at line 199 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmDutyCycle().

◆ PWM2_FREQ

constexpr uint8_t axp192_regs::gpio::PWM2_FREQ = 0x9B
staticconstexpr

Definition at line 197 of file AXP192Regs.hpp.

Referenced by AXP192Gpio::setPwmFrequency().


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