mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 12:39:51 +00:00
hci_cmd: add hci_bcm_write_pcm_data_format_param
This commit is contained in:
parent
6d70848132
commit
762c3e1039
@ -2442,6 +2442,19 @@ const hci_cmd_t hci_bcm_write_sco_pcm_int = {
|
||||
// return: status
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Configure PCM Data Format (BCM)
|
||||
* @param lsb_position 0x00 – LSB last/MSB first, 0x01 – LSB first/MSB last
|
||||
* @param fill_bits_value three bit value defines the fill bits used by the PCM interface,only if fill_data_selection == programmable
|
||||
* @param fill_data_selection 0x00 zeros, 0x01 ones, 0x02 sign bit, 0x03 programmable
|
||||
* @param number_of_fill_bits 0..3
|
||||
* @param right_left_justification 0x00 left justified, 0x01 right justified
|
||||
*/
|
||||
const hci_cmd_t hci_bcm_write_pcm_data_format_param = {
|
||||
HCI_OPCODE_HCI_BCM_WRITE_PCM_DATA_FORMAT_PARAM, "11111"
|
||||
// return: status
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Configure the I2S/PCM interface (BCM)
|
||||
* @param i2s_enable is 0 for off, 1 for on
|
||||
|
@ -337,6 +337,7 @@ typedef enum {
|
||||
|
||||
// Broadcom/Cypress/Infineon/Synaptics
|
||||
HCI_OPCODE_HCI_BCM_WRITE_SCO_PCM_INT = HCI_OPCODE (0x3f, 0x1c),
|
||||
HCI_OPCODE_HCI_BCM_WRITE_PCM_DATA_FORMAT_PARAM = HCI_OPCODE (0x3f, 0x1e),
|
||||
HCI_OPCODE_HCI_BCM_SET_SLEEP_MODE = HCI_OPCODE (0x3f, 0x27),
|
||||
HCI_OPCODE_HCI_BCM_WRITE_I2SPCM_INTERFACE_PARAM = HCI_OPCODE (0x3f, 0x6d),
|
||||
HCI_OPCODE_HCI_BCM_ENABLE_WBS = HCI_OPCODE(0x3f, 0x7e),
|
||||
@ -599,6 +600,7 @@ extern const hci_cmd_t hci_opcode_hci_le_read_buffer_size_v2;
|
||||
|
||||
// Broadcom / Cypress specific HCI commands
|
||||
extern const hci_cmd_t hci_bcm_enable_wbs;
|
||||
extern const hci_cmd_t hci_bcm_write_pcm_data_format_param;
|
||||
extern const hci_cmd_t hci_bcm_set_sleep_mode;
|
||||
extern const hci_cmd_t hci_bcm_write_i2spcm_interface_param;
|
||||
extern const hci_cmd_t hci_bcm_write_sco_pcm_int;
|
||||
|
Loading…
x
Reference in New Issue
Block a user