Maxim-integrated 73M1866B/73M1966B Reference Driver Manuel d'utilisateur Page 82

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 81
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
82 Rev. 2.7
7.12 GPIO Related Data Type and Structures
7.12.1 M1966_GPIO_NUMBER
Description
This is the list of GPIO pin definitions.
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.
7.12.2 M1966_GPIO_CONFIG_COMMAND
Description
This is the GPIO configuration command. The GPIO can be configured using the
M1966_GPIO_CONFIG_SET command. Its configuration can be read using M1966_GPIO_CONFIG_GET
command. The GPIO must be enabled using the M1966_GPIO_CONTROL IOCTL for the new
configuration to take effect.
Prototype
typedef enum
{
M1966_GPIO_CONFIG_GET = 0, /* GPIO config GET */
M1966_GPIO_CONFIG_SET = 1 /* GPIO config SET */
}
M1966_GPIO_CONFIG_COMMAND;
Parameters
Name Value Description
M1966_GPIO_CONFIG_GET
0
Read the GPIO configuration
M1966_GPIO_CONFIG_SET
1
Write the GPIO configuration
Vue de la page 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 97 98

Commentaires sur ces manuels

Pas de commentaire