btaudio3 2.0.0.0
|
This file contains API for BT Audio 3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | btaudio3_packet_t |
BT Audio 3 Click command/event packet structure object. More... | |
struct | btaudio3_t |
BT Audio 3 Click context object. More... | |
struct | btaudio3_cfg_t |
BT Audio 3 Click configuration object. More... | |
Enumerations | |
enum | btaudio3_return_value_t { BTAUDIO3_OK = 0 , BTAUDIO3_ERROR = -1 } |
BT Audio 3 Click return value data. More... | |
enum | btaudio3_music_control_t { BTAUDIO3_STOP_FAST_FORWARD_OR_REWIND = 0 , BTAUDIO3_FAST_FORWARD , BTAUDIO3_FAST_FORWARD_WITH_REPEAT , BTAUDIO3_REWIND , BTAUDIO3_REWIND_WITH_REPEAT , BTAUDIO3_PLAY , BTAUDIO3_PAUSE , BTAUDIO3_PLAY_PAUSE_TOGGLE , BTAUDIO3_STOP , BTAUDIO3_NEXT_SONG , BTAUDIO3_PREVIOUS_SONG } |
BT Audio 3 Click music control values. More... | |
enum | btaudio3_eq_mode_t { BTAUDIO2_EQ_MODE_OFF = 0 , BTAUDIO2_EQ_MODE_SOFT , BTAUDIO2_EQ_MODE_BASS , BTAUDIO2_EQ_MODE_TREBLE , BTAUDIO2_EQ_MODE_CLASSIC , BTAUDIO2_EQ_MODE_ROCK , BTAUDIO2_EQ_MODE_JAZZ , BTAUDIO2_EQ_MODE_POP , BTAUDIO2_EQ_MODE_DANCE , BTAUDIO2_EQ_MODE_RNB , BTAUDIO2_EQ_MODE_USER1 } |
BT Audio 3 Click equalizer mode selection values. More... | |
Functions | |
void | btaudio3_cfg_setup (btaudio3_cfg_t *cfg) |
BT Audio 3 configuration object setup function. | |
err_t | btaudio3_init (btaudio3_t *ctx, btaudio3_cfg_t *cfg) |
BT Audio 3 initialization function. | |
err_t | btaudio3_default_cfg (btaudio3_t *ctx) |
BT Audio 3 default configuration function. | |
err_t | btaudio3_generic_write (btaudio3_t *ctx, uint8_t *data_buf, uint16_t len) |
BT Audio 3 data writing function. | |
err_t | btaudio3_generic_read (btaudio3_t *ctx, uint8_t *data_buf, uint16_t max_len) |
BT Audio 3 data reading function. | |
void | btaudio3_set_mfb_pin (btaudio3_t *ctx, uint8_t state) |
BT Audio 3 set MFB pin function. | |
void | btaudio3_set_rst_pin (btaudio3_t *ctx, uint8_t state) |
BT Audio 3 set RST pin function. | |
void | btaudio3_set_application_mode (btaudio3_t *ctx) |
BT Audio 3 set application mode function. | |
void | btaudio3_set_test_mode (btaudio3_t *ctx) |
BT Audio 3 set test mode function. | |
void | btaudio3_reset_device (btaudio3_t *ctx) |
BT Audio 3 reset device function. | |
void | btaudio3_soft_mute_output (btaudio3_t *ctx) |
BT Audio 3 soft mute output function. | |
void | btaudio3_soft_unmute_output (btaudio3_t *ctx) |
BT Audio 3 soft unmute output function. | |
void | btaudio3_send_command (btaudio3_t *ctx) |
BT Audio 3 send command function. | |
err_t | btaudio3_send_command_with_ack_check (btaudio3_t *ctx) |
BT Audio 3 send command with ack check function. | |
err_t | btaudio3_read_event (btaudio3_t *ctx) |
BT Audio 3 read event function. | |
void | btaudio3_wait_for_event (btaudio3_t *ctx, uint8_t opcode) |
BT Audio 3 wait for event function. | |
void | btaudio3_clear_events (btaudio3_t *ctx) |
BT Audio 3 clear events function. | |
err_t | btaudio3_send_mmi_action (btaudio3_t *ctx, uint8_t database_index, uint8_t action) |
BT Audio 3 send MMI action function. | |
err_t | btaudio3_power_on_device (btaudio3_t *ctx) |
BT Audio 3 power ON device function. | |
err_t | btaudio3_power_off_device (btaudio3_t *ctx) |
BT Audio 3 power OFF device function. | |
err_t | btaudio3_enter_pairing_mode (btaudio3_t *ctx) |
BT Audio 3 enter pairing mode function. | |
err_t | btaudio3_reset_to_default (btaudio3_t *ctx) |
BT Audio 3 reset to default function. | |
err_t | btaudio3_set_device_name (btaudio3_t *ctx, uint8_t *device_name) |
BT Audio 3 set device name function. | |
err_t | btaudio3_music_control (btaudio3_t *ctx, btaudio3_music_control_t action) |
BT Audio 3 music control function. | |
err_t | btaudio3_make_call (btaudio3_t *ctx, uint8_t database_index, uint8_t *phone_number) |
BT Audio 3 make call function. | |
err_t | btaudio3_volume_up (btaudio3_t *ctx, uint8_t database_index, uint8_t mask) |
BT Audio 3 volume up function. | |
err_t | btaudio3_volume_down (btaudio3_t *ctx, uint8_t database_index, uint8_t mask) |
BT Audio 3 volume down function. | |
err_t | btaudio3_enable_advertising (btaudio3_t *ctx) |
BT Audio 3 enable advertising function. | |
err_t | btaudio3_disable_advertising (btaudio3_t *ctx) |
BT Audio 3 disable advertising function. | |
err_t | btaudio3_set_eq_mode (btaudio3_t *ctx, btaudio3_eq_mode_t eq_mode) |
BT Audio 3 set equalizer mode function. | |
This file contains API for BT Audio 3 Click Driver.
enum btaudio3_eq_mode_t |
BT Audio 3 Click equalizer mode selection values.
Predefined enum values for equalizer mode selection.
BT Audio 3 Click music control values.
Predefined enum values for music control.