dtmf 2.1.0.0
|
Settings for registers of DTMF Click driver. More...
Settings for registers of DTMF Click driver.
#define DTMF_CONTROL_EQU 0x0400u |
#define DTMF_CONTROL_IRQ_CONT_10 0x0002u |
#define DTMF_CONTROL_IRQ_ENERGY_RX_CP 0x0004u |
#define DTMF_CONTROL_IRQ_MASK 0x001Fu |
#define DTMF_CONTROL_IRQ_PROG_FLAG 0x0010u |
#define DTMF_CONTROL_IRQ_RX_RDY_OVF 0x0001u |
#define DTMF_CONTROL_IRQ_TX_RDY_UNF 0x0008u |
#define DTMF_CONTROL_IRQN_EN 0x0040u |
#define DTMF_CONTROL_LB 0x0800u |
#define DTMF_CONTROL_PWR 0x0100u |
#define DTMF_CONTROL_RST 0x0080u |
#define DTMF_CONTROL_TXA_OFF 0x4000u |
#define DTMF_CONTROL_TXAN_OFF 0x8000u |
DTMF general control register setting.
Specified setting for general control register of DTMF Click driver.
#define DTMF_DIAL_NUMBER_MAX_LEN 16 |
DTMF dial number setting.
Specified setting for dial number of DTMF Click driver.
#define DTMF_RX_DATA_PARITY_5_NO_PAR 0x0000u |
#define DTMF_RX_DATA_PARITY_5_PAR 0x0001u |
#define DTMF_RX_DATA_PARITY_6_NO_PAR 0x0002u |
#define DTMF_RX_DATA_PARITY_6_PAR 0x0003u |
#define DTMF_RX_DATA_PARITY_7_NO_PAR 0x0004u |
#define DTMF_RX_DATA_PARITY_7_PAR 0x0005u |
#define DTMF_RX_DATA_PARITY_8_NO_PAR 0x0006u |
#define DTMF_RX_DATA_PARITY_8_PAR 0x0007u |
#define DTMF_RX_DATA_PARITY_MASK 0x0007u |
#define DTMF_RX_LEVEL_0_DB 0x0E00u |
#define DTMF_RX_LEVEL_MASK 0x0E00u |
#define DTMF_RX_LEVEL_MIN_10_5_DB 0x0000u |
#define DTMF_RX_LEVEL_MIN_1_5_DB 0x0C00u |
#define DTMF_RX_LEVEL_MIN_3_DB 0x0A00u |
#define DTMF_RX_LEVEL_MIN_4_5_DB 0x0800u |
#define DTMF_RX_LEVEL_MIN_6_DB 0x0600u |
#define DTMF_RX_LEVEL_MIN_7_5_DB 0x0400u |
#define DTMF_RX_LEVEL_MIN_9_DB 0x0200u |
#define DTMF_RX_MODE_BELL_103_FSK_HIGH 0x7000u |
#define DTMF_RX_MODE_BELL_103_FSK_LOW 0x6000u |
#define DTMF_RX_MODE_BELL_202_FSK_1200 0x3000u |
#define DTMF_RX_MODE_BELL_202_FSK_150 0x2000u |
#define DTMF_RX_MODE_DISABLED 0x0000u |
#define DTMF_RX_MODE_DTMF_TONES 0x1000u |
#define DTMF_RX_MODE_MASK 0xF000u |
#define DTMF_RX_MODE_V21_FSK_HIGH 0x9000u |
DTMF receive mode register setting.
Specified setting for receive mode register of DTMF Click driver.
#define DTMF_RX_MODE_V21_FSK_LOW 0x8000u |
#define DTMF_RX_MODE_V23_FSK_1200 0x5000u |
#define DTMF_RX_MODE_V23_FSK_75 0x4000u |
#define DTMF_RX_TONE_DETECT_ANSWER 0x0002u |
#define DTMF_RX_TONE_DETECT_CALL_PROG 0x0003u |
#define DTMF_RX_TONE_DETECT_DISABLE 0x0007u |
#define DTMF_RX_TONE_DETECT_DTMF 0x0001u |
#define DTMF_RX_TONE_DETECT_MASK 0x0007u |
#define DTMF_RX_TONE_DETECT_PROG_PAIR 0x0004u |
#define DTMF_RX_USART_DISABLED 0x0000u |
#define DTMF_RX_USART_MASK 0x0038u |
#define DTMF_RX_USART_START_STOP 0x0030u |
#define DTMF_RX_USART_SYNC 0x0038u |
#define DTMF_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define DTMF_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define DTMF_STATE_CALL_IN_PROGRESS 3 |
#define DTMF_STATE_IDLE 0 |
DTMF state setting.
Specified setting for state of DTMF Click driver.
#define DTMF_STATE_IRQ_SET 1 |
#define DTMF_STATE_RINGING 2 |
#define DTMF_STATUS_1010_PATTERN 0x0200u |
#define DTMF_STATUS_CONT_0S 0x0100u |
#define DTMF_STATUS_CONT_1S 0x0080u |
#define DTMF_STATUS_ENERGY_RX_CP 0x0400u |
#define DTMF_STATUS_FSK_OUT 0x0001u |
#define DTMF_STATUS_IRQ 0x8000u |
DTMF status register setting.
Specified setting for status register of DTMF Click driver.
#define DTMF_STATUS_PROG_FLAG 0x2000u |
#define DTMF_STATUS_RX_EVEN_PARITY 0x0008u |
#define DTMF_STATUS_RX_FRAMING_ERROR 0x0010u |
#define DTMF_STATUS_RX_OVERFLOW 0x0020u |
#define DTMF_STATUS_RX_READY 0x0040u |
#define DTMF_STATUS_TONE_0 0x000Au |
#define DTMF_STATUS_TONE_1 0x0001u |
#define DTMF_STATUS_TONE_2 0x0002u |
#define DTMF_STATUS_TONE_3 0x0003u |
#define DTMF_STATUS_TONE_4 0x0004u |
#define DTMF_STATUS_TONE_5 0x0005u |
#define DTMF_STATUS_TONE_6 0x0006u |
#define DTMF_STATUS_TONE_7 0x0007u |
#define DTMF_STATUS_TONE_8 0x0008u |
#define DTMF_STATUS_TONE_9 0x0009u |
#define DTMF_STATUS_TONE_A 0x000Du |
#define DTMF_STATUS_TONE_B 0x000Eu |
#define DTMF_STATUS_TONE_C 0x000Fu |
#define DTMF_STATUS_TONE_D 0x0000u |
#define DTMF_STATUS_TONE_HASH 0x000Cu |
#define DTMF_STATUS_TONE_MASK 0x000Fu |
#define DTMF_STATUS_TONE_STAR 0x000Bu |
#define DTMF_STATUS_TX_READY 0x1000u |
#define DTMF_STATUS_TX_UNDERFLOW 0x0800u |
#define DTMF_TIMEOUT_CALL_PROGRESS 60000u |
#define DTMF_TIMEOUT_CLEAR_IRQ 2000u |
DTMF timeout and timing setting.
Specified setting for timeout and timing in milliseconds of DTMF Click driver.
#define DTMF_TIMEOUT_TX_READY 2000u |
#define DTMF_TIMING_BUSY 50u |
#define DTMF_TIMING_CALL_PROGRESS 6000u |
#define DTMF_TIMING_DISCONNECTED 250u |
#define DTMF_TIMING_RINGING 2000u |
#define DTMF_TIMING_RX_READY 10u |
#define DTMF_TIMING_SEND_MESSAGE 2000u |
#define DTMF_TIMING_WAIT_FOR_MESSAGE 10000u |
#define DTMF_TX_DATA_FORMAT_MASK 0x0018u |
#define DTMF_TX_DATA_FORMAT_SS_EVEN_PAR 0x0008u |
#define DTMF_TX_DATA_FORMAT_SS_NO_PAR 0x0010u |
#define DTMF_TX_DATA_FORMAT_SS_ODD_PAR 0x0000u |
#define DTMF_TX_DATA_FORMAT_SYNC 0x0018u |
#define DTMF_TX_DATA_SOURCE_CONT_0S 0x0002u |
#define DTMF_TX_DATA_SOURCE_CONT_1S 0x0003u |
#define DTMF_TX_DATA_SOURCE_CONT_ALT 0x0000u |
#define DTMF_TX_DATA_SOURCE_MASK 0x0007u |
#define DTMF_TX_DATA_SOURCE_TX_BUF 0x0004u |
#define DTMF_TX_DATA_STOP_5_1 0x0000u |
#define DTMF_TX_DATA_STOP_5_2 0x0001u |
#define DTMF_TX_DATA_STOP_6_1 0x0002u |
#define DTMF_TX_DATA_STOP_6_2 0x0003u |
#define DTMF_TX_DATA_STOP_7_1 0x0004u |
#define DTMF_TX_DATA_STOP_7_2 0x0005u |
#define DTMF_TX_DATA_STOP_8_1 0x0006u |
#define DTMF_TX_DATA_STOP_8_2 0x0007u |
#define DTMF_TX_DATA_STOP_MASK 0x0007u |
#define DTMF_TX_DTMF_TWIST_1_5_DB 0x00A0u |
#define DTMF_TX_DTMF_TWIST_1_DB 0x00C0u |
#define DTMF_TX_DTMF_TWIST_2_5_DB 0x0080u |
#define DTMF_TX_DTMF_TWIST_2_DB 0x00E0u |
#define DTMF_TX_DTMF_TWIST_3_5_DB 0x0040u |
#define DTMF_TX_DTMF_TWIST_3_DB 0x0060u |
#define DTMF_TX_DTMF_TWIST_4_5_DB 0x0000u |
#define DTMF_TX_DTMF_TWIST_4_DB 0x0020u |
#define DTMF_TX_DTMF_TWIST_MASK 0x00E0u |
#define DTMF_TX_LEVEL_0_DB 0x0E00u |
#define DTMF_TX_LEVEL_MASK 0x0E00u |
#define DTMF_TX_LEVEL_MIN_10_5_DB 0x0000u |
#define DTMF_TX_LEVEL_MIN_1_5_DB 0x0C00u |
#define DTMF_TX_LEVEL_MIN_3_DB 0x0A00u |
#define DTMF_TX_LEVEL_MIN_4_5_DB 0x0800u |
#define DTMF_TX_LEVEL_MIN_6_DB 0x0600u |
#define DTMF_TX_LEVEL_MIN_7_5_DB 0x0400u |
#define DTMF_TX_LEVEL_MIN_9_DB 0x0200u |
#define DTMF_TX_MODE_BELL_103_FSK_HIGH 0x7000u |
#define DTMF_TX_MODE_BELL_103_FSK_LOW 0x6000u |
#define DTMF_TX_MODE_BELL_202_FSK_1200 0x3000u |
#define DTMF_TX_MODE_BELL_202_FSK_150 0x2000u |
#define DTMF_TX_MODE_DISABLED 0x0000u |
#define DTMF_TX_MODE_DTMF_TONES 0x1000u |
#define DTMF_TX_MODE_MASK 0xF000u |
#define DTMF_TX_MODE_V21_FSK_HIGH 0x9000u |
DTMF transmit mode register setting.
Specified setting for transmit mode register of DTMF Click driver.
#define DTMF_TX_MODE_V21_FSK_LOW 0x8000u |
#define DTMF_TX_MODE_V23_FSK_1200 0x5000u |
#define DTMF_TX_MODE_V23_FSK_75 0x4000u |
#define DTMF_TX_TONE_0 0x001Au |
#define DTMF_TX_TONE_1 0x0011u |
#define DTMF_TX_TONE_2 0x0012u |
#define DTMF_TX_TONE_3 0x0013u |
#define DTMF_TX_TONE_4 0x0014u |
#define DTMF_TX_TONE_5 0x0015u |
#define DTMF_TX_TONE_6 0x0016u |
#define DTMF_TX_TONE_7 0x0017u |
#define DTMF_TX_TONE_8 0x0018u |
#define DTMF_TX_TONE_9 0x0019u |
#define DTMF_TX_TONE_A 0x001Du |
#define DTMF_TX_TONE_B 0x001Eu |
#define DTMF_TX_TONE_C 0x001Fu |
#define DTMF_TX_TONE_D 0x0010u |
#define DTMF_TX_TONE_FIXED_NO_TONE 0x0000u |
#define DTMF_TX_TONE_FIXED_PAIR_1209 0x0005u |
#define DTMF_TX_TONE_FIXED_PAIR_1300 0x0009u |
#define DTMF_TX_TONE_FIXED_PAIR_1336 0x0006u |
#define DTMF_TX_TONE_FIXED_PAIR_1477 0x0007u |
#define DTMF_TX_TONE_FIXED_PAIR_1633 0x0008u |
#define DTMF_TX_TONE_FIXED_PAIR_2100 0x000Au |
#define DTMF_TX_TONE_FIXED_PAIR_2225 0x000Bu |
#define DTMF_TX_TONE_FIXED_PAIR_697 0x0001u |
#define DTMF_TX_TONE_FIXED_PAIR_770 0x0002u |
#define DTMF_TX_TONE_FIXED_PAIR_852 0x0003u |
#define DTMF_TX_TONE_FIXED_PAIR_941 0x0004u |
#define DTMF_TX_TONE_FIXED_PAIR_TA 0x000Cu |
#define DTMF_TX_TONE_FIXED_PAIR_TB 0x000Du |
#define DTMF_TX_TONE_FIXED_PAIR_TC 0x000Eu |
#define DTMF_TX_TONE_FIXED_PAIR_TD 0x000Fu |
#define DTMF_TX_TONE_HASH 0x001Cu |
#define DTMF_TX_TONE_MASK 0x001Fu |
#define DTMF_TX_TONE_STAR 0x001Bu |