Texas-instruments TMS320C6000 Manuel d'utilisateur Page 23

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 62
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 22
AD535_modifyReg
2-11
AD535 API Module
Modifies specified control register
AD535_modifyReg
Function void AD535_modifyReg(
AD535_Handle hAD535,
AD535_Reg ad535Register,
Uint32 val,
Uint32 mask
);
Arguments hAD535 Handle to codec channel, see AD535_open()
ad535Register Control register enumeration:
- AD535_REG_CTRL0
- AD535_REG_CTRL1
- AD535_REG_CTRL2
- AD535_REG_CTRL3
- AD535_REG_CTRL4
- AD535_REG_CTRL5
val Value to be masked into register
mask Bit-value mask. A value of 1 sets the bit to the
corresponding value in Val; a 0 keeps the current
value of the bit.
Return Value none
Description Modifies the specified control register according to the bit mask (Mask)
and value (Val).
6711 DSK
Note: Only the Voice channel is available on this board. This means the
changes to control registers 0, 1, and 2 will have no effect on the
operation of the codec.
Example To modify the ADC voice input gain in control register 4:
AD535_modifyReg(hAD535,AD535_REG_CTRL4,0x001F,0x003F);
Vue de la page 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 61 62

Commentaires sur ces manuels

Pas de commentaire