mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Merged in alinjerpelea/nuttx (pull request #1048)
boards: arm: cxd56xx: audio: add power_control and audio_tone_generator
* boards: arm: cxd56xx: audio: add power_control
Add a simeple way to control the audio power for userspace apps
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
* boards: arm: cxd56xx: audio: add audio_tone_generator
Add a simple way to control the audio buzzer with defined frequency
for userspace apps
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
fae7e63479
commit
716c7c9bee
@@ -63,6 +63,17 @@ extern "C"
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: board_audio_power_control
|
||||
*
|
||||
* Description:
|
||||
* Power on/off the audio on the board.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
bool board_audio_power_control(bool en);
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
* Name: board_aca_power_control
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user