Maxim-integrated 73M1866B/73M1966B FXOAPI Uživatelský manuál Strana 60

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 66
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 59
73M1866B/73M1966B FXOAPI User Guide UG_1x66B_046
60 Rev. 2.1
4.13 M1966_GPIO_SIGNAL_DIRECTION
Description
GPIO pin signal direction. This control bit is used to designate the GPIO pin as either input or output.
Prototype
typedef enum {
M1966_GPIO_DIR_INPUT = 0, /* GPIO pin signal direction INPUT */
M1966_GPIO_DIR_OUTPUT = 1 /* GPIO pin signal direction - OUTPUT */
}
M1966_GPIO_SIGNAL_DIRECTION;
Parameters
Name Value Description
M1966_GPIO_DIR_INPUT
0
GPIO pin signal direction INPUT
M1966_GPIO_DIR_OUTPUT
1
GPIO pin signal direction - OUTPUT
4.14 M1966_GPIO_INTR_POLARITY
Description
GPIO Interrupt signal transition edge selection. The defines the interrupt source as being either on a
rising or a falling edge of the corresponding GPIO pin. If configured as M1966_GPIO_POL_RISING a
rising edge will trigger an interrupt from the corresponding GPIO pin. If configured as
M1966_GPIO_POL_FALLING a falling edge will trigger an interrupt from the corresponding GPIO pin.
Prototype
typedef enum {
M1966_GPIO_POL_RISING = 0, /* Sig transition edge polarity - RISING */
M1966_GPIO_POL_FALLING = 1 /* Sig transition edge polarity - FALLING */
}
M1966_GPIO_INTR_POLARITY;
Parameters
Name Value Description
M1966_GPIO_POL_RISING
0
Interrupt edge selection - RISING
M1966_GPIO_POL_FALLING
1
Interrupt edge selection - FALLING
Zobrazit stránku 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 66

Komentáře k této Příručce

Žádné komentáře