7 m1x66_reg_access_type, 8 m1966_gpio_number, M1x66_reg_access_type – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual

Page 57: M1966_gpio_number

Advertising
background image

UG_1x66B_046

73M1866B/73M1966B FXOAPI User Guide

Rev. 2.1

57

4.7 M1x66_REG_ACCESS_TYPE

Description

Defines 73M1x66B register access types.

Prototype

/*
**************************************************************************
** M1x66 Register Access Type
*************************************************************************/
typedef enum {
M1x66_REG_READ = M1966_REG_READ,
M1x66_REG_READ_ALL = M1966_REG_READALL,
M1x66_REG_WRITE = M1966_REG_WRITE
}
M1x66_REG_ACCESS_TYPE;

Parameters

4.8 M1966_GPIO_NUMBER

Description

This is the list of GPIO pin definition.

Prototype

typedef enum
{
M1966_GPIO_NUM_5 = 0x20, /* GPIO-5 */
M1966_GPIO_NUM_6 = 0x40, /* GPIO-6 */
M1966_GPIO_NUM_7 = 0x80 /* GPIO-7 */
}
M1966_GPIO_NUMBER;

Parameters

Name

Value

Description

M1966_GPIO_NUM_5

0x20

GPIO5 – pin 25 of 73M1906B 32-pin QFN.

M1966_GPIO_NUM_6

0x40

GPIO6 – pin 32 of 73M1906B 32-pin QFN.

M1966_GPIO_NUM_7

0x80

GPIO7 – pin 1 of 73M1906B 32-pin QFN.


Name

Value

Description

M1x66_REG_READ

Ox00

Register access – read.

M1x66_REG_READ_ALL

0x01

Register access – read all.

M1x66_REG_WRITE

0x02

Register access – write.

Advertising