Texas-instruments TMS320C6000 Manual do Utilizador Página 20

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 62
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 19
AD535_getMcbspHandle
2-8
Returns McBSP Handle
AD535_getMcbsp
Handle
Function Mcbsp_Handle AD535_getMcbspHandle(
AD535_Handle hAD535,
);
Arguments hAD535 Handle to codec channel, see AD535_open()
Return Value Mcbsp_handle Handle to the opened McBSP associated to the
number of McBSP.
Description Returns the McBSP Handle associated with the McBSP used for AD535
communication.
Note: The Mcbsp_Handle type is defined in the Chip Suppport Library
(CSL) and created by the internal call of the MCBSP_open() function.
Example Mcbsp_Handle hMcbsp;
hMcbsp = AD535_getHandleMcbsp(hAD535);
Allocates codec channel
AD535_Id
Structure AD535_Id
Members Typedef Struct {
Struct {
int mcbsp_no;
The typedef structure AD535_Id includes 2
substructures such as Id and Obj
structures
} Id;
Struct {
Boolean allocated;
MCBSP_Handle
The internal structure Id contains the field
mcbsp_no. The member mcbsp_no
contains the number of the serial port you
wish to use.
hMcbsp;
} Obj;
} AD535_Id
The internal structure Obj contains the
boolean field to allocate the codec and the
McBSP handle associated with the number
of the McBSP which will be open
“mcbsp_no”.
Vista de página 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 61 62

Comentários a estes Manuais

Sem comentários