Datasheet

LMP90100
SNAS510P JANUARY 2011REVISED MARCH 2013
www.ti.com
Table 35. GPIO_DIRCN: GPIO Direction (Address 0x0E) (continued)
Bit Bit Symbol Bit Description
GPIO direction control – these bits are used to control the direction of each General Purpose
Input/Outputs (GPIO) pins D0 - D6.
0 (default): Dx is an Input
1: Dx is an Output
x GPIO_DIRCNx
where 0 x 6.
For example, writing a 1 to bit 6 means D6 is an Output.
Note: If D6 is used for DRDYB, then it cannot be used for GPIO.
Table 36. GPIO_DAT: GPIO Data (Address 0x0F)
Bit Bit Symbol Bit Description
7 Reserved -
Write Only - when GPIO_DIRCNx = 0
0: Dx is LO
1: Dx is HI
Read Only - when GPIO_DIRCNx = 1
0: Dx driven LO
1: Dx driven HI
x Dx
where 0 x 6.
For example, writing a 0 to bit 4 means D4 is LO.
It is okay to Read the GPIOs that are configured as outputs and write to GPIOs that are configured
as inputs. Reading the GPIOs that are outputs would return the current value on those GPIOs, and
writing to the GPIOs that are inputs are neglected
62 Submit Documentation Feedback Copyright © 2011–2013, Texas Instruments Incorporated
Product Folder Links: LMP90100