nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
hw_codec.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _HW_CODEC_H_
8#define _HW_CODEC_H_
9
10#include <stdint.h>
11
22int hw_codec_volume_set(uint8_t set_val);
23
36int hw_codec_volume_adjust(int8_t adjustment);
37
46
55
62
69
79
88
94int hw_codec_init(void);
95
96#endif /* _HW_CODEC_H_ */
int hw_codec_volume_set(uint8_t set_val)
Set volume on HW_CODEC.
int hw_codec_volume_unmute(void)
Unmute volume on HW_CODEC.
int hw_codec_init(void)
Initialize HW_CODEC.
int hw_codec_default_conf_enable(void)
Enable relevant settings in HW_CODEC to send and receive PCM data over I2S.
int hw_codec_volume_decrease(void)
Decrease output volume on HW_CODEC by 3 dB.
int hw_codec_volume_adjust(int8_t adjustment)
Adjust volume on HW_CODEC.
int hw_codec_soft_reset(void)
Reset HW_CODEC.
int hw_codec_volume_mute(void)
Mute volume on HW_CODEC.
int hw_codec_volume_increase(void)
Increase output volume on HW_CODEC by 3 dB.