MAX77658 Ultra-Low Power PMIC Mbed Driver

Embed: (wiki syntax)

« Back to documentation index

reg_cnfg_gpio1_t Union Reference

reg_cnfg_gpio1_t Union Reference

CNFG_GPIO1 Register. More...

#include <MAX77658_regs.h>


Detailed Description

CNFG_GPIO1 Register.

Address : 0x12

Definition at line 338 of file MAX77658_regs.h.


Field Documentation

unsigned char alt_gpio

Alternate Mode Enable for GPIO1.

Bit 5. 0 = Standard GPIO. 1 = Active-high output of SBB2's Flexible Power Sequencer (FPS) slot.

Definition at line 358 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 355 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 344 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 341 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 351 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 347 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 361 of file MAX77658_regs.h.