Typedefs | Functions

dm6446/lpm/lpm_driver.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* LPM_ExtPwrFxn )(void *arg)
 Function typedef of the functions which control the external power supply.

Functions

int lpm_regExtOffFxn (char *device, LPM_ExtPwrFxn fxn, void *arg)
 Register an external power off function.
int lpm_regExtOnFxn (char *device, LPM_ExtPwrFxn fxn, void *arg)
 Register an external power on function.

Typedef Documentation

typedef void(* LPM_ExtPwrFxn)(void *arg)

Function typedef of the functions which control the external power supply.


Function Documentation

int lpm_regExtOffFxn ( char *  device,
LPM_ExtPwrFxn  fxn,
void *  arg 
)

Register an external power off function.

Parameters:
[in]deviceLinux device name.
[in]fxnA function address which will turn off the external power supply to the DSP Power Domain.
[in]argAn argument passed to the callback function.
Return values:
0The function was successfully registered.
-1The given device name was not found.
int lpm_regExtOnFxn ( char *  device,
LPM_ExtPwrFxn  fxn,
void *  arg 
)

Register an external power on function.

Parameters:
[in]deviceLinux device name.
[in]fxnA function address which will turn off the external power supply to the DSP Power Domain.
[in]argAn argument passed to the callback function.
Return values:
0The function was successfully registered.
-1The given device name was not found.
 All Files Functions Typedefs

Copyright 2011, Texas Instruments Incorporated