Digi-Frame A4 Multi-Purpose Spécifications Page 117

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 127
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 116
XBee®/XBeePRO®SERFModules
©2009DigiInternational,Inc. 117
XBee (non-PRO) Initialization:
/* GPIO 1 and 2 are not used in the XBee (non-PRO) and should be set as outputs and driven low
to
reduce current draw. */
GPIO_DIRSETL = GPIO(1) | GPIO(2);// Set GPIO 1,2 as outputs
GPIO_CLRL = GPIO(1) | GPIO(2);// Set GPIO 1,2 low
XBee-PRO modules should disable the power compensation circuitry when sleeping to reduce
current draw. This is shown below.
When sleeping (end devices):
/* The power compensation shutdown line on XBee-PRO modules (GPIO 1) should be set high
when entering sleep to reduce current consumption. */
GPIO_SETL = GPIO(1);
When waking from sleep (end devices):
/* The power compensation shutdown line on XBee-PRO (GPIO 1) should be set low to enable the
power compensation circuitry and LNA. */
GPIO_CLRL = GPIO(1);
Vue de la page 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 126 127

Commentaires sur ces manuels

Pas de commentaire