MAX77658 Ultra-Low Power PMIC Mbed Driver

Embed: (wiki syntax)

« Back to documentation index

reg_cnfg_gpio0_t Union Reference

reg_cnfg_gpio0_t Union Reference

CNFG_GPIO0 Register. More...

#include <MAX77658_regs.h>


Detailed Description

CNFG_GPIO0 Register.

Address : 0x11

Definition at line 304 of file MAX77658_regs.h.


Field Documentation

unsigned char alt_gpio

Alternate Mode Enable for GPIO0.

Bit 5. 0 = Standard GPIO. 1 = Active-high input, Force USB Suspend (FUS). FUS is only active if the FUS_M bit is set to 0.

Definition at line 324 of file MAX77658_regs.h.

unsigned char

Bit 6.

Definition at line 327 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 321 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 310 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 307 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 317 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 313 of file MAX77658_regs.h.

unsigned char rsvd

Reserved.

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

Definition at line 328 of file MAX77658_regs.h.