MAX77658 Ultra-Low Power PMIC Mbed Driver

Embed: (wiki syntax)

« Back to documentation index

reg_cnfg_gpio2_t Union Reference

reg_cnfg_gpio2_t Union Reference

CNFG_GPIO2 Register. More...

#include <MAX77658_regs.h>


Detailed Description

CNFG_GPIO2 Register.

Address : 0x13

Definition at line 371 of file MAX77658_regs.h.


Field Documentation

unsigned char alt_gpio

Alternate Mode Enable for GPIO2.

Bit 5. 0 = Standard GPIO. 1 = Active-high input, Enable DISQBAT.

Definition at line 391 of file MAX77658_regs.h.

unsigned char dben_gpi

General Purpose Input Debounce Timer Enable.

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

Definition at line 388 of file MAX77658_regs.h.

unsigned char gpo_di

GPIO Digital Input Value.

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

Definition at line 377 of file MAX77658_regs.h.

unsigned char gpo_dir

GPIO Direction.

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

Definition at line 374 of file MAX77658_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 384 of file MAX77658_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 380 of file MAX77658_regs.h.

unsigned char rsvd

Reserved.

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

Definition at line 394 of file MAX77658_regs.h.