recnplay 2.0.0.0
|
This file contains API for Rec & Play Click Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | recnplay_t |
Click ctx object definition. More... | |
struct | recnplay_dev_id_t |
Device ID data. More... | |
struct | recnplay_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | recnplay_cfg_setup (recnplay_cfg_t *cfg) |
Config Object Initialization function. | |
RECNPLAY_RETVAL | recnplay_init (recnplay_t *ctx, recnplay_cfg_t *cfg) |
Initialization function. | |
void | recnplay_generic_transfer (recnplay_t *ctx, uint8_t *wr_buf, uint16_t wr_len, uint8_t *rd_buf, uint16_t rd_len) |
Generic transfer function. | |
RECNPLAY_RETVAL | recplay_play_vp (recnplay_t *ctx, uint16_t index) |
Voice Prompt Play Command. | |
RECNPLAY_RETVAL | recplay_play_vp_rn (recnplay_t *ctx, uint8_t value_rn) |
Voice Prompt @Rn Play Command. | |
RECNPLAY_RETVAL | recplay_execute_vm (recnplay_t *ctx, uint16_t index) |
Voice Macro Execute Command. | |
RECNPLAY_RETVAL | recplay_record_msg (recnplay_t *ctx) |
Message Record Command. | |
RECNPLAY_RETVAL | recplay_record_msg_addr (recnplay_t *ctx, uint32_t mem_addr) |
Message Record at Address Command. | |
RECNPLAY_RETVAL | recplay_play_msg (recnplay_t *ctx, uint32_t mem_addr, uint16_t sector_offset) |
Message Play at Address Command. | |
RECNPLAY_RETVAL | recplay_play_silence (recnplay_t *ctx, uint8_t silence_length) |
Silence Play Command. | |
RECNPLAY_RETVAL | recplay_stop (recnplay_t *ctx) |
Stop Command. | |
RECNPLAY_RETVAL | recplay_erase_msg (recnplay_t *ctx, uint32_t mem_addr) |
Message Erase at Address Command. | |
RECNPLAY_RETVAL | recplay_spi_write_pcm (recnplay_t *ctx, uint16_t *data_pcm, uint8_t num_pcm) |
PCM Data SPI Write Command. | |
RECNPLAY_RETVAL | recplay_spi_read_pcm (recnplay_t *ctx, uint16_t *data_pcm, uint8_t num_pcm) |
PCM Data SPI Read Command. | |
RECNPLAY_RETVAL | recplay_spi_send_cmprsd_data (recnplay_t *ctx, uint8_t *cmprsd_data, uint8_t n_data) |
SPI Send Compressed Data to Decode Command. | |
RECNPLAY_RETVAL | recplay_spi_receive_enc_data (recnplay_t *ctx, uint8_t *encoded_data, uint8_t n_data) |
SPI Receive Encoded Data Command. | |
RECNPLAY_RETVAL | recplay_read_status (recnplay_t *ctx, uint8_t *interr_status) |
Status Read Command. | |
RECNPLAY_RETVAL | recplay_read_interr (recnplay_t *ctx, uint8_t *interr_status) |
Interrupt Read Command. | |
RECNPLAY_RETVAL | recplay_read_msg_addr (recnplay_t *ctx, uint32_t *msg_addr, uint16_t *msg_length) |
Recorded Message Address Read Command. | |
RECNPLAY_RETVAL | recplay_read_msg_length (recnplay_t *ctx, uint16_t *msg_length) |
Message Length Read Command. | |
RECNPLAY_RETVAL | recplay_read_id (recnplay_t *ctx, recnplay_dev_id_t *dev_id_data) |
ISD3900 ID Read Command. | |
RECNPLAY_RETVAL | recplay_dig_read (recnplay_t *ctx, uint32_t mem_addr, uint8_t *data_out, uint8_t n_data) |
Digital Read Command. | |
RECNPLAY_RETVAL | recplay_dig_write (recnplay_t *ctx, uint32_t mem_addr, uint8_t *data_in, uint8_t n_data) |
Digital Write Command. | |
RECNPLAY_RETVAL | recplay_erase_mem (recnplay_t *ctx, uint32_t start_addr, uint32_t end_addr) |
Memory Erase Command. | |
RECNPLAY_RETVAL | recplay_erase_chip (recnplay_t *ctx) |
Chip Erase Command. | |
RECNPLAY_RETVAL | recplay_pwr_up (recnplay_t *ctx) |
Power Up Command. | |
RECNPLAY_RETVAL | recplay_pwr_down (recnplay_t *ctx) |
Power Down Command. | |
RECNPLAY_RETVAL | recplay_set_clk_cnfg (recnplay_t *ctx, uint8_t clk_cnfg) |
Clock Configuration Set Command. | |
RECNPLAY_RETVAL | recplay_read_clk_cnfg (recnplay_t *ctx, uint8_t *clk_cnfg) |
Clock Configuration Read Command. | |
RECNPLAY_RETVAL | recplay_write_cnfg_reg (recnplay_t *ctx, uint8_t reg_addr, uint8_t *cnfg_data, uint8_t n_data) |
Configuration Write Command. | |
RECNPLAY_RETVAL | recplay_read_cnfg_reg (recnplay_t *ctx, uint8_t reg_addr, uint8_t *cnfg_data, uint8_t n_data) |
Configuration Read Command. | |
uint8_t | recplay_check_rdy (recnplay_t *ctx) |
SPI Data Transfer Status Check Command. | |
uint8_t | recplay_check_int (recnplay_t *ctx) |
Interrupt Request Pin Check Command. | |
void | recplay_reset (recnplay_t *ctx) |
ISD3900 Reset Command. | |
This file contains API for Rec & Play Click Click driver.