SIMO PMIC with 300mA Switching Charger

Embed: (wiki syntax)

« Back to documentation index

reg_cnfg_gpio0_t Union Reference

reg_cnfg_gpio0_t Union Reference

CNFG_GPIO0 Register. More...

#include <MAX77659_regs.h>


Detailed Description

CNFG_GPIO0 Register.

Address : 0x11

Definition at line 284 of file MAX77659_regs.h.


Field Documentation

unsigned char alt_gpio

Alternate Mode Enable for GPIO0.

Bit 5. 0 = Standard GPIO. 1 = Active-high input, enable control for low-power mode.

Definition at line 304 of file MAX77659_regs.h.

unsigned char

Bit 6.

Definition at line 307 of file MAX77659_regs.h.

unsigned char dben_gpi

General Purpose Input Debounce Timer Enable.

Bit 4. 0 = no debounce 1 = 30ms debounce

Definition at line 301 of file MAX77659_regs.h.

unsigned char gpo_di

GPIO Digital Input Value.

Bit 1. 0 = Input logic low 1 = Input logic high

Definition at line 290 of file MAX77659_regs.h.

unsigned char gpo_dir

GPIO Direction.

Bit 0. 0 = General purpose output (GPO) 1 = General purpose input (GPI)

Definition at line 287 of file MAX77659_regs.h.

unsigned char gpo_do

General Purpose Output Data Output.

Bit 3. This bit is a don't care when DIR = 1 (configured as input). When set for GPO (DIR = 0): 0 = GPIO is output is logic low 1 = GPIO is output logic high when set as push-pull output (DRV = 1).

Definition at line 297 of file MAX77659_regs.h.

unsigned char gpo_drv

General Purpose Output Driver Type.

Bit 2. This bit is a don't care when DIR = 1 (configured as input) When set for GPO (DIR = 0): 0 = Open-Drain 1 = Push-Pull

Definition at line 293 of file MAX77659_regs.h.

unsigned char rsvd

Reserved.

Bit 7. Unutilized bit. Write to 0. Reads are don't care.

Definition at line 308 of file MAX77659_regs.h.