dtmf 2.1.0.0
DTMF Registers Settings

Settings for registers of DTMF Click driver. More...

Macros

#define DTMF_CONTROL_TXAN_OFF   0x8000u
 DTMF general control register setting.
 
#define DTMF_CONTROL_TXA_OFF   0x4000u
 
#define DTMF_CONTROL_LB   0x0800u
 
#define DTMF_CONTROL_EQU   0x0400u
 
#define DTMF_CONTROL_PWR   0x0100u
 
#define DTMF_CONTROL_RST   0x0080u
 
#define DTMF_CONTROL_IRQN_EN   0x0040u
 
#define DTMF_CONTROL_IRQ_PROG_FLAG   0x0010u
 
#define DTMF_CONTROL_IRQ_TX_RDY_UNF   0x0008u
 
#define DTMF_CONTROL_IRQ_ENERGY_RX_CP   0x0004u
 
#define DTMF_CONTROL_IRQ_CONT_10   0x0002u
 
#define DTMF_CONTROL_IRQ_RX_RDY_OVF   0x0001u
 
#define DTMF_CONTROL_IRQ_MASK   0x001Fu
 
#define DTMF_TX_MODE_V21_FSK_HIGH   0x9000u
 DTMF transmit mode register setting.
 
#define DTMF_TX_MODE_V21_FSK_LOW   0x8000u
 
#define DTMF_TX_MODE_BELL_103_FSK_HIGH   0x7000u
 
#define DTMF_TX_MODE_BELL_103_FSK_LOW   0x6000u
 
#define DTMF_TX_MODE_V23_FSK_1200   0x5000u
 
#define DTMF_TX_MODE_V23_FSK_75   0x4000u
 
#define DTMF_TX_MODE_BELL_202_FSK_1200   0x3000u
 
#define DTMF_TX_MODE_BELL_202_FSK_150   0x2000u
 
#define DTMF_TX_MODE_DTMF_TONES   0x1000u
 
#define DTMF_TX_MODE_DISABLED   0x0000u
 
#define DTMF_TX_MODE_MASK   0xF000u
 
#define DTMF_TX_LEVEL_0_DB   0x0E00u
 
#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_LEVEL_MIN_10_5_DB   0x0000u
 
#define DTMF_TX_LEVEL_MASK   0x0E00u
 
#define DTMF_TX_DTMF_TWIST_2_DB   0x00E0u
 
#define DTMF_TX_DTMF_TWIST_1_DB   0x00C0u
 
#define DTMF_TX_DTMF_TWIST_1_5_DB   0x00A0u
 
#define DTMF_TX_DTMF_TWIST_2_5_DB   0x0080u
 
#define DTMF_TX_DTMF_TWIST_3_DB   0x0060u
 
#define DTMF_TX_DTMF_TWIST_3_5_DB   0x0040u
 
#define DTMF_TX_DTMF_TWIST_4_DB   0x0020u
 
#define DTMF_TX_DTMF_TWIST_4_5_DB   0x0000u
 
#define DTMF_TX_DTMF_TWIST_MASK   0x00E0u
 
#define DTMF_TX_DATA_FORMAT_SYNC   0x0018u
 
#define DTMF_TX_DATA_FORMAT_SS_NO_PAR   0x0010u
 
#define DTMF_TX_DATA_FORMAT_SS_EVEN_PAR   0x0008u
 
#define DTMF_TX_DATA_FORMAT_SS_ODD_PAR   0x0000u
 
#define DTMF_TX_DATA_FORMAT_MASK   0x0018u
 
#define DTMF_TX_DATA_STOP_8_2   0x0007u
 
#define DTMF_TX_DATA_STOP_8_1   0x0006u
 
#define DTMF_TX_DATA_STOP_7_2   0x0005u
 
#define DTMF_TX_DATA_STOP_7_1   0x0004u
 
#define DTMF_TX_DATA_STOP_6_2   0x0003u
 
#define DTMF_TX_DATA_STOP_6_1   0x0002u
 
#define DTMF_TX_DATA_STOP_5_2   0x0001u
 
#define DTMF_TX_DATA_STOP_5_1   0x0000u
 
#define DTMF_TX_DATA_STOP_MASK   0x0007u
 
#define DTMF_TX_DATA_SOURCE_TX_BUF   0x0004u
 
#define DTMF_TX_DATA_SOURCE_CONT_1S   0x0003u
 
#define DTMF_TX_DATA_SOURCE_CONT_0S   0x0002u
 
#define DTMF_TX_DATA_SOURCE_CONT_ALT   0x0000u
 
#define DTMF_TX_DATA_SOURCE_MASK   0x0007u
 
#define DTMF_TX_TONE_FIXED_NO_TONE   0x0000u
 
#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_1209   0x0005u
 
#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_1300   0x0009u
 
#define DTMF_TX_TONE_FIXED_PAIR_2100   0x000Au
 
#define DTMF_TX_TONE_FIXED_PAIR_2225   0x000Bu
 
#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_D   0x0010u
 
#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_0   0x001Au
 
#define DTMF_TX_TONE_STAR   0x001Bu
 
#define DTMF_TX_TONE_HASH   0x001Cu
 
#define DTMF_TX_TONE_A   0x001Du
 
#define DTMF_TX_TONE_B   0x001Eu
 
#define DTMF_TX_TONE_C   0x001Fu
 
#define DTMF_TX_TONE_MASK   0x001Fu
 
#define DTMF_RX_MODE_V21_FSK_HIGH   0x9000u
 DTMF receive mode register setting.
 
#define DTMF_RX_MODE_V21_FSK_LOW   0x8000u
 
#define DTMF_RX_MODE_BELL_103_FSK_HIGH   0x7000u
 
#define DTMF_RX_MODE_BELL_103_FSK_LOW   0x6000u
 
#define DTMF_RX_MODE_V23_FSK_1200   0x5000u
 
#define DTMF_RX_MODE_V23_FSK_75   0x4000u
 
#define DTMF_RX_MODE_BELL_202_FSK_1200   0x3000u
 
#define DTMF_RX_MODE_BELL_202_FSK_150   0x2000u
 
#define DTMF_RX_MODE_DTMF_TONES   0x1000u
 
#define DTMF_RX_MODE_DISABLED   0x0000u
 
#define DTMF_RX_MODE_MASK   0xF000u
 
#define DTMF_RX_LEVEL_0_DB   0x0E00u
 
#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_LEVEL_MIN_10_5_DB   0x0000u
 
#define DTMF_RX_LEVEL_MASK   0x0E00u
 
#define DTMF_RX_USART_SYNC   0x0038u
 
#define DTMF_RX_USART_START_STOP   0x0030u
 
#define DTMF_RX_USART_DISABLED   0x0000u
 
#define DTMF_RX_USART_MASK   0x0038u
 
#define DTMF_RX_DATA_PARITY_8_PAR   0x0007u
 
#define DTMF_RX_DATA_PARITY_8_NO_PAR   0x0006u
 
#define DTMF_RX_DATA_PARITY_7_PAR   0x0005u
 
#define DTMF_RX_DATA_PARITY_7_NO_PAR   0x0004u
 
#define DTMF_RX_DATA_PARITY_6_PAR   0x0003u
 
#define DTMF_RX_DATA_PARITY_6_NO_PAR   0x0002u
 
#define DTMF_RX_DATA_PARITY_5_PAR   0x0001u
 
#define DTMF_RX_DATA_PARITY_5_NO_PAR   0x0000u
 
#define DTMF_RX_DATA_PARITY_MASK   0x0007u
 
#define DTMF_RX_TONE_DETECT_PROG_PAIR   0x0004u
 
#define DTMF_RX_TONE_DETECT_CALL_PROG   0x0003u
 
#define DTMF_RX_TONE_DETECT_ANSWER   0x0002u
 
#define DTMF_RX_TONE_DETECT_DTMF   0x0001u
 
#define DTMF_RX_TONE_DETECT_DISABLE   0x0007u
 
#define DTMF_RX_TONE_DETECT_MASK   0x0007u
 
#define DTMF_STATUS_IRQ   0x8000u
 DTMF status register setting.
 
#define DTMF_STATUS_PROG_FLAG   0x2000u
 
#define DTMF_STATUS_TX_READY   0x1000u
 
#define DTMF_STATUS_TX_UNDERFLOW   0x0800u
 
#define DTMF_STATUS_ENERGY_RX_CP   0x0400u
 
#define DTMF_STATUS_1010_PATTERN   0x0200u
 
#define DTMF_STATUS_CONT_0S   0x0100u
 
#define DTMF_STATUS_CONT_1S   0x0080u
 
#define DTMF_STATUS_RX_READY   0x0040u
 
#define DTMF_STATUS_RX_OVERFLOW   0x0020u
 
#define DTMF_STATUS_RX_FRAMING_ERROR   0x0010u
 
#define DTMF_STATUS_RX_EVEN_PARITY   0x0008u
 
#define DTMF_STATUS_FSK_OUT   0x0001u
 
#define DTMF_STATUS_TONE_D   0x0000u
 
#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_0   0x000Au
 
#define DTMF_STATUS_TONE_STAR   0x000Bu
 
#define DTMF_STATUS_TONE_HASH   0x000Cu
 
#define DTMF_STATUS_TONE_A   0x000Du
 
#define DTMF_STATUS_TONE_B   0x000Eu
 
#define DTMF_STATUS_TONE_C   0x000Fu
 
#define DTMF_STATUS_TONE_MASK   0x000Fu
 
#define DTMF_TIMEOUT_CLEAR_IRQ   2000u
 DTMF timeout and timing setting.
 
#define DTMF_TIMEOUT_TX_READY   2000u
 
#define DTMF_TIMEOUT_CALL_PROGRESS   60000u
 
#define DTMF_TIMING_BUSY   50u
 
#define DTMF_TIMING_DISCONNECTED   250u
 
#define DTMF_TIMING_RINGING   2000u
 
#define DTMF_TIMING_CALL_PROGRESS   6000u
 
#define DTMF_TIMING_SEND_MESSAGE   2000u
 
#define DTMF_TIMING_RX_READY   10u
 
#define DTMF_TIMING_WAIT_FOR_MESSAGE   10000u
 
#define DTMF_STATE_IDLE   0
 DTMF state setting.
 
#define DTMF_STATE_IRQ_SET   1
 
#define DTMF_STATE_RINGING   2
 
#define DTMF_STATE_CALL_IN_PROGRESS   3
 
#define DTMF_DIAL_NUMBER_MAX_LEN   16
 DTMF dial number setting.
 
#define DTMF_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define DTMF_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of DTMF Click driver.

Macro Definition Documentation

◆ DTMF_CONTROL_EQU

#define DTMF_CONTROL_EQU   0x0400u

◆ DTMF_CONTROL_IRQ_CONT_10

#define DTMF_CONTROL_IRQ_CONT_10   0x0002u

◆ DTMF_CONTROL_IRQ_ENERGY_RX_CP

#define DTMF_CONTROL_IRQ_ENERGY_RX_CP   0x0004u

◆ DTMF_CONTROL_IRQ_MASK

#define DTMF_CONTROL_IRQ_MASK   0x001Fu

◆ DTMF_CONTROL_IRQ_PROG_FLAG

#define DTMF_CONTROL_IRQ_PROG_FLAG   0x0010u

◆ DTMF_CONTROL_IRQ_RX_RDY_OVF

#define DTMF_CONTROL_IRQ_RX_RDY_OVF   0x0001u

◆ DTMF_CONTROL_IRQ_TX_RDY_UNF

#define DTMF_CONTROL_IRQ_TX_RDY_UNF   0x0008u

◆ DTMF_CONTROL_IRQN_EN

#define DTMF_CONTROL_IRQN_EN   0x0040u

◆ DTMF_CONTROL_LB

#define DTMF_CONTROL_LB   0x0800u

◆ DTMF_CONTROL_PWR

#define DTMF_CONTROL_PWR   0x0100u

◆ DTMF_CONTROL_RST

#define DTMF_CONTROL_RST   0x0080u

◆ DTMF_CONTROL_TXA_OFF

#define DTMF_CONTROL_TXA_OFF   0x4000u

◆ DTMF_CONTROL_TXAN_OFF

#define DTMF_CONTROL_TXAN_OFF   0x8000u

DTMF general control register setting.

Specified setting for general control register of DTMF Click driver.

◆ DTMF_DIAL_NUMBER_MAX_LEN

#define DTMF_DIAL_NUMBER_MAX_LEN   16

DTMF dial number setting.

Specified setting for dial number of DTMF Click driver.

◆ DTMF_RX_DATA_PARITY_5_NO_PAR

#define DTMF_RX_DATA_PARITY_5_NO_PAR   0x0000u

◆ DTMF_RX_DATA_PARITY_5_PAR

#define DTMF_RX_DATA_PARITY_5_PAR   0x0001u

◆ DTMF_RX_DATA_PARITY_6_NO_PAR

#define DTMF_RX_DATA_PARITY_6_NO_PAR   0x0002u

◆ DTMF_RX_DATA_PARITY_6_PAR

#define DTMF_RX_DATA_PARITY_6_PAR   0x0003u

◆ DTMF_RX_DATA_PARITY_7_NO_PAR

#define DTMF_RX_DATA_PARITY_7_NO_PAR   0x0004u

◆ DTMF_RX_DATA_PARITY_7_PAR

#define DTMF_RX_DATA_PARITY_7_PAR   0x0005u

◆ DTMF_RX_DATA_PARITY_8_NO_PAR

#define DTMF_RX_DATA_PARITY_8_NO_PAR   0x0006u

◆ DTMF_RX_DATA_PARITY_8_PAR

#define DTMF_RX_DATA_PARITY_8_PAR   0x0007u

◆ DTMF_RX_DATA_PARITY_MASK

#define DTMF_RX_DATA_PARITY_MASK   0x0007u

◆ DTMF_RX_LEVEL_0_DB

#define DTMF_RX_LEVEL_0_DB   0x0E00u

◆ DTMF_RX_LEVEL_MASK

#define DTMF_RX_LEVEL_MASK   0x0E00u

◆ DTMF_RX_LEVEL_MIN_10_5_DB

#define DTMF_RX_LEVEL_MIN_10_5_DB   0x0000u

◆ DTMF_RX_LEVEL_MIN_1_5_DB

#define DTMF_RX_LEVEL_MIN_1_5_DB   0x0C00u

◆ DTMF_RX_LEVEL_MIN_3_DB

#define DTMF_RX_LEVEL_MIN_3_DB   0x0A00u

◆ DTMF_RX_LEVEL_MIN_4_5_DB

#define DTMF_RX_LEVEL_MIN_4_5_DB   0x0800u

◆ DTMF_RX_LEVEL_MIN_6_DB

#define DTMF_RX_LEVEL_MIN_6_DB   0x0600u

◆ DTMF_RX_LEVEL_MIN_7_5_DB

#define DTMF_RX_LEVEL_MIN_7_5_DB   0x0400u

◆ DTMF_RX_LEVEL_MIN_9_DB

#define DTMF_RX_LEVEL_MIN_9_DB   0x0200u

◆ DTMF_RX_MODE_BELL_103_FSK_HIGH

#define DTMF_RX_MODE_BELL_103_FSK_HIGH   0x7000u

◆ DTMF_RX_MODE_BELL_103_FSK_LOW

#define DTMF_RX_MODE_BELL_103_FSK_LOW   0x6000u

◆ DTMF_RX_MODE_BELL_202_FSK_1200

#define DTMF_RX_MODE_BELL_202_FSK_1200   0x3000u

◆ DTMF_RX_MODE_BELL_202_FSK_150

#define DTMF_RX_MODE_BELL_202_FSK_150   0x2000u

◆ DTMF_RX_MODE_DISABLED

#define DTMF_RX_MODE_DISABLED   0x0000u

◆ DTMF_RX_MODE_DTMF_TONES

#define DTMF_RX_MODE_DTMF_TONES   0x1000u

◆ DTMF_RX_MODE_MASK

#define DTMF_RX_MODE_MASK   0xF000u

◆ DTMF_RX_MODE_V21_FSK_HIGH

#define DTMF_RX_MODE_V21_FSK_HIGH   0x9000u

DTMF receive mode register setting.

Specified setting for receive mode register of DTMF Click driver.

◆ DTMF_RX_MODE_V21_FSK_LOW

#define DTMF_RX_MODE_V21_FSK_LOW   0x8000u

◆ DTMF_RX_MODE_V23_FSK_1200

#define DTMF_RX_MODE_V23_FSK_1200   0x5000u

◆ DTMF_RX_MODE_V23_FSK_75

#define DTMF_RX_MODE_V23_FSK_75   0x4000u

◆ DTMF_RX_TONE_DETECT_ANSWER

#define DTMF_RX_TONE_DETECT_ANSWER   0x0002u

◆ DTMF_RX_TONE_DETECT_CALL_PROG

#define DTMF_RX_TONE_DETECT_CALL_PROG   0x0003u

◆ DTMF_RX_TONE_DETECT_DISABLE

#define DTMF_RX_TONE_DETECT_DISABLE   0x0007u

◆ DTMF_RX_TONE_DETECT_DTMF

#define DTMF_RX_TONE_DETECT_DTMF   0x0001u

◆ DTMF_RX_TONE_DETECT_MASK

#define DTMF_RX_TONE_DETECT_MASK   0x0007u

◆ DTMF_RX_TONE_DETECT_PROG_PAIR

#define DTMF_RX_TONE_DETECT_PROG_PAIR   0x0004u

◆ DTMF_RX_USART_DISABLED

#define DTMF_RX_USART_DISABLED   0x0000u

◆ DTMF_RX_USART_MASK

#define DTMF_RX_USART_MASK   0x0038u

◆ DTMF_RX_USART_START_STOP

#define DTMF_RX_USART_START_STOP   0x0030u

◆ DTMF_RX_USART_SYNC

#define DTMF_RX_USART_SYNC   0x0038u

◆ DTMF_SET_DATA_SAMPLE_EDGE

#define DTMF_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with dtmf_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ DTMF_SET_DATA_SAMPLE_MIDDLE

#define DTMF_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ DTMF_STATE_CALL_IN_PROGRESS

#define DTMF_STATE_CALL_IN_PROGRESS   3

◆ DTMF_STATE_IDLE

#define DTMF_STATE_IDLE   0

DTMF state setting.

Specified setting for state of DTMF Click driver.

◆ DTMF_STATE_IRQ_SET

#define DTMF_STATE_IRQ_SET   1

◆ DTMF_STATE_RINGING

#define DTMF_STATE_RINGING   2

◆ DTMF_STATUS_1010_PATTERN

#define DTMF_STATUS_1010_PATTERN   0x0200u

◆ DTMF_STATUS_CONT_0S

#define DTMF_STATUS_CONT_0S   0x0100u

◆ DTMF_STATUS_CONT_1S

#define DTMF_STATUS_CONT_1S   0x0080u

◆ DTMF_STATUS_ENERGY_RX_CP

#define DTMF_STATUS_ENERGY_RX_CP   0x0400u

◆ DTMF_STATUS_FSK_OUT

#define DTMF_STATUS_FSK_OUT   0x0001u

◆ DTMF_STATUS_IRQ

#define DTMF_STATUS_IRQ   0x8000u

DTMF status register setting.

Specified setting for status register of DTMF Click driver.

◆ DTMF_STATUS_PROG_FLAG

#define DTMF_STATUS_PROG_FLAG   0x2000u

◆ DTMF_STATUS_RX_EVEN_PARITY

#define DTMF_STATUS_RX_EVEN_PARITY   0x0008u

◆ DTMF_STATUS_RX_FRAMING_ERROR

#define DTMF_STATUS_RX_FRAMING_ERROR   0x0010u

◆ DTMF_STATUS_RX_OVERFLOW

#define DTMF_STATUS_RX_OVERFLOW   0x0020u

◆ DTMF_STATUS_RX_READY

#define DTMF_STATUS_RX_READY   0x0040u

◆ DTMF_STATUS_TONE_0

#define DTMF_STATUS_TONE_0   0x000Au

◆ DTMF_STATUS_TONE_1

#define DTMF_STATUS_TONE_1   0x0001u

◆ DTMF_STATUS_TONE_2

#define DTMF_STATUS_TONE_2   0x0002u

◆ DTMF_STATUS_TONE_3

#define DTMF_STATUS_TONE_3   0x0003u

◆ DTMF_STATUS_TONE_4

#define DTMF_STATUS_TONE_4   0x0004u

◆ DTMF_STATUS_TONE_5

#define DTMF_STATUS_TONE_5   0x0005u

◆ DTMF_STATUS_TONE_6

#define DTMF_STATUS_TONE_6   0x0006u

◆ DTMF_STATUS_TONE_7

#define DTMF_STATUS_TONE_7   0x0007u

◆ DTMF_STATUS_TONE_8

#define DTMF_STATUS_TONE_8   0x0008u

◆ DTMF_STATUS_TONE_9

#define DTMF_STATUS_TONE_9   0x0009u

◆ DTMF_STATUS_TONE_A

#define DTMF_STATUS_TONE_A   0x000Du

◆ DTMF_STATUS_TONE_B

#define DTMF_STATUS_TONE_B   0x000Eu

◆ DTMF_STATUS_TONE_C

#define DTMF_STATUS_TONE_C   0x000Fu

◆ DTMF_STATUS_TONE_D

#define DTMF_STATUS_TONE_D   0x0000u

◆ DTMF_STATUS_TONE_HASH

#define DTMF_STATUS_TONE_HASH   0x000Cu

◆ DTMF_STATUS_TONE_MASK

#define DTMF_STATUS_TONE_MASK   0x000Fu

◆ DTMF_STATUS_TONE_STAR

#define DTMF_STATUS_TONE_STAR   0x000Bu

◆ DTMF_STATUS_TX_READY

#define DTMF_STATUS_TX_READY   0x1000u

◆ DTMF_STATUS_TX_UNDERFLOW

#define DTMF_STATUS_TX_UNDERFLOW   0x0800u

◆ DTMF_TIMEOUT_CALL_PROGRESS

#define DTMF_TIMEOUT_CALL_PROGRESS   60000u

◆ DTMF_TIMEOUT_CLEAR_IRQ

#define DTMF_TIMEOUT_CLEAR_IRQ   2000u

DTMF timeout and timing setting.

Specified setting for timeout and timing in milliseconds of DTMF Click driver.

◆ DTMF_TIMEOUT_TX_READY

#define DTMF_TIMEOUT_TX_READY   2000u

◆ DTMF_TIMING_BUSY

#define DTMF_TIMING_BUSY   50u

◆ DTMF_TIMING_CALL_PROGRESS

#define DTMF_TIMING_CALL_PROGRESS   6000u

◆ DTMF_TIMING_DISCONNECTED

#define DTMF_TIMING_DISCONNECTED   250u

◆ DTMF_TIMING_RINGING

#define DTMF_TIMING_RINGING   2000u

◆ DTMF_TIMING_RX_READY

#define DTMF_TIMING_RX_READY   10u

◆ DTMF_TIMING_SEND_MESSAGE

#define DTMF_TIMING_SEND_MESSAGE   2000u

◆ DTMF_TIMING_WAIT_FOR_MESSAGE

#define DTMF_TIMING_WAIT_FOR_MESSAGE   10000u

◆ DTMF_TX_DATA_FORMAT_MASK

#define DTMF_TX_DATA_FORMAT_MASK   0x0018u

◆ DTMF_TX_DATA_FORMAT_SS_EVEN_PAR

#define DTMF_TX_DATA_FORMAT_SS_EVEN_PAR   0x0008u

◆ DTMF_TX_DATA_FORMAT_SS_NO_PAR

#define DTMF_TX_DATA_FORMAT_SS_NO_PAR   0x0010u

◆ DTMF_TX_DATA_FORMAT_SS_ODD_PAR

#define DTMF_TX_DATA_FORMAT_SS_ODD_PAR   0x0000u

◆ DTMF_TX_DATA_FORMAT_SYNC

#define DTMF_TX_DATA_FORMAT_SYNC   0x0018u

◆ DTMF_TX_DATA_SOURCE_CONT_0S

#define DTMF_TX_DATA_SOURCE_CONT_0S   0x0002u

◆ DTMF_TX_DATA_SOURCE_CONT_1S

#define DTMF_TX_DATA_SOURCE_CONT_1S   0x0003u

◆ DTMF_TX_DATA_SOURCE_CONT_ALT

#define DTMF_TX_DATA_SOURCE_CONT_ALT   0x0000u

◆ DTMF_TX_DATA_SOURCE_MASK

#define DTMF_TX_DATA_SOURCE_MASK   0x0007u

◆ DTMF_TX_DATA_SOURCE_TX_BUF

#define DTMF_TX_DATA_SOURCE_TX_BUF   0x0004u

◆ DTMF_TX_DATA_STOP_5_1

#define DTMF_TX_DATA_STOP_5_1   0x0000u

◆ DTMF_TX_DATA_STOP_5_2

#define DTMF_TX_DATA_STOP_5_2   0x0001u

◆ DTMF_TX_DATA_STOP_6_1

#define DTMF_TX_DATA_STOP_6_1   0x0002u

◆ DTMF_TX_DATA_STOP_6_2

#define DTMF_TX_DATA_STOP_6_2   0x0003u

◆ DTMF_TX_DATA_STOP_7_1

#define DTMF_TX_DATA_STOP_7_1   0x0004u

◆ DTMF_TX_DATA_STOP_7_2

#define DTMF_TX_DATA_STOP_7_2   0x0005u

◆ DTMF_TX_DATA_STOP_8_1

#define DTMF_TX_DATA_STOP_8_1   0x0006u

◆ DTMF_TX_DATA_STOP_8_2

#define DTMF_TX_DATA_STOP_8_2   0x0007u

◆ DTMF_TX_DATA_STOP_MASK

#define DTMF_TX_DATA_STOP_MASK   0x0007u

◆ DTMF_TX_DTMF_TWIST_1_5_DB

#define DTMF_TX_DTMF_TWIST_1_5_DB   0x00A0u

◆ DTMF_TX_DTMF_TWIST_1_DB

#define DTMF_TX_DTMF_TWIST_1_DB   0x00C0u

◆ DTMF_TX_DTMF_TWIST_2_5_DB

#define DTMF_TX_DTMF_TWIST_2_5_DB   0x0080u

◆ DTMF_TX_DTMF_TWIST_2_DB

#define DTMF_TX_DTMF_TWIST_2_DB   0x00E0u

◆ DTMF_TX_DTMF_TWIST_3_5_DB

#define DTMF_TX_DTMF_TWIST_3_5_DB   0x0040u

◆ DTMF_TX_DTMF_TWIST_3_DB

#define DTMF_TX_DTMF_TWIST_3_DB   0x0060u

◆ DTMF_TX_DTMF_TWIST_4_5_DB

#define DTMF_TX_DTMF_TWIST_4_5_DB   0x0000u

◆ DTMF_TX_DTMF_TWIST_4_DB

#define DTMF_TX_DTMF_TWIST_4_DB   0x0020u

◆ DTMF_TX_DTMF_TWIST_MASK

#define DTMF_TX_DTMF_TWIST_MASK   0x00E0u

◆ DTMF_TX_LEVEL_0_DB

#define DTMF_TX_LEVEL_0_DB   0x0E00u

◆ DTMF_TX_LEVEL_MASK

#define DTMF_TX_LEVEL_MASK   0x0E00u

◆ DTMF_TX_LEVEL_MIN_10_5_DB

#define DTMF_TX_LEVEL_MIN_10_5_DB   0x0000u

◆ DTMF_TX_LEVEL_MIN_1_5_DB

#define DTMF_TX_LEVEL_MIN_1_5_DB   0x0C00u

◆ DTMF_TX_LEVEL_MIN_3_DB

#define DTMF_TX_LEVEL_MIN_3_DB   0x0A00u

◆ DTMF_TX_LEVEL_MIN_4_5_DB

#define DTMF_TX_LEVEL_MIN_4_5_DB   0x0800u

◆ DTMF_TX_LEVEL_MIN_6_DB

#define DTMF_TX_LEVEL_MIN_6_DB   0x0600u

◆ DTMF_TX_LEVEL_MIN_7_5_DB

#define DTMF_TX_LEVEL_MIN_7_5_DB   0x0400u

◆ DTMF_TX_LEVEL_MIN_9_DB

#define DTMF_TX_LEVEL_MIN_9_DB   0x0200u

◆ DTMF_TX_MODE_BELL_103_FSK_HIGH

#define DTMF_TX_MODE_BELL_103_FSK_HIGH   0x7000u

◆ DTMF_TX_MODE_BELL_103_FSK_LOW

#define DTMF_TX_MODE_BELL_103_FSK_LOW   0x6000u

◆ DTMF_TX_MODE_BELL_202_FSK_1200

#define DTMF_TX_MODE_BELL_202_FSK_1200   0x3000u

◆ DTMF_TX_MODE_BELL_202_FSK_150

#define DTMF_TX_MODE_BELL_202_FSK_150   0x2000u

◆ DTMF_TX_MODE_DISABLED

#define DTMF_TX_MODE_DISABLED   0x0000u

◆ DTMF_TX_MODE_DTMF_TONES

#define DTMF_TX_MODE_DTMF_TONES   0x1000u

◆ DTMF_TX_MODE_MASK

#define DTMF_TX_MODE_MASK   0xF000u

◆ DTMF_TX_MODE_V21_FSK_HIGH

#define DTMF_TX_MODE_V21_FSK_HIGH   0x9000u

DTMF transmit mode register setting.

Specified setting for transmit mode register of DTMF Click driver.

◆ DTMF_TX_MODE_V21_FSK_LOW

#define DTMF_TX_MODE_V21_FSK_LOW   0x8000u

◆ DTMF_TX_MODE_V23_FSK_1200

#define DTMF_TX_MODE_V23_FSK_1200   0x5000u

◆ DTMF_TX_MODE_V23_FSK_75

#define DTMF_TX_MODE_V23_FSK_75   0x4000u

◆ DTMF_TX_TONE_0

#define DTMF_TX_TONE_0   0x001Au

◆ DTMF_TX_TONE_1

#define DTMF_TX_TONE_1   0x0011u

◆ DTMF_TX_TONE_2

#define DTMF_TX_TONE_2   0x0012u

◆ DTMF_TX_TONE_3

#define DTMF_TX_TONE_3   0x0013u

◆ DTMF_TX_TONE_4

#define DTMF_TX_TONE_4   0x0014u

◆ DTMF_TX_TONE_5

#define DTMF_TX_TONE_5   0x0015u

◆ DTMF_TX_TONE_6

#define DTMF_TX_TONE_6   0x0016u

◆ DTMF_TX_TONE_7

#define DTMF_TX_TONE_7   0x0017u

◆ DTMF_TX_TONE_8

#define DTMF_TX_TONE_8   0x0018u

◆ DTMF_TX_TONE_9

#define DTMF_TX_TONE_9   0x0019u

◆ DTMF_TX_TONE_A

#define DTMF_TX_TONE_A   0x001Du

◆ DTMF_TX_TONE_B

#define DTMF_TX_TONE_B   0x001Eu

◆ DTMF_TX_TONE_C

#define DTMF_TX_TONE_C   0x001Fu

◆ DTMF_TX_TONE_D

#define DTMF_TX_TONE_D   0x0010u

◆ DTMF_TX_TONE_FIXED_NO_TONE

#define DTMF_TX_TONE_FIXED_NO_TONE   0x0000u

◆ DTMF_TX_TONE_FIXED_PAIR_1209

#define DTMF_TX_TONE_FIXED_PAIR_1209   0x0005u

◆ DTMF_TX_TONE_FIXED_PAIR_1300

#define DTMF_TX_TONE_FIXED_PAIR_1300   0x0009u

◆ DTMF_TX_TONE_FIXED_PAIR_1336

#define DTMF_TX_TONE_FIXED_PAIR_1336   0x0006u

◆ DTMF_TX_TONE_FIXED_PAIR_1477

#define DTMF_TX_TONE_FIXED_PAIR_1477   0x0007u

◆ DTMF_TX_TONE_FIXED_PAIR_1633

#define DTMF_TX_TONE_FIXED_PAIR_1633   0x0008u

◆ DTMF_TX_TONE_FIXED_PAIR_2100

#define DTMF_TX_TONE_FIXED_PAIR_2100   0x000Au

◆ DTMF_TX_TONE_FIXED_PAIR_2225

#define DTMF_TX_TONE_FIXED_PAIR_2225   0x000Bu

◆ DTMF_TX_TONE_FIXED_PAIR_697

#define DTMF_TX_TONE_FIXED_PAIR_697   0x0001u

◆ DTMF_TX_TONE_FIXED_PAIR_770

#define DTMF_TX_TONE_FIXED_PAIR_770   0x0002u

◆ DTMF_TX_TONE_FIXED_PAIR_852

#define DTMF_TX_TONE_FIXED_PAIR_852   0x0003u

◆ DTMF_TX_TONE_FIXED_PAIR_941

#define DTMF_TX_TONE_FIXED_PAIR_941   0x0004u

◆ DTMF_TX_TONE_FIXED_PAIR_TA

#define DTMF_TX_TONE_FIXED_PAIR_TA   0x000Cu

◆ DTMF_TX_TONE_FIXED_PAIR_TB

#define DTMF_TX_TONE_FIXED_PAIR_TB   0x000Du

◆ DTMF_TX_TONE_FIXED_PAIR_TC

#define DTMF_TX_TONE_FIXED_PAIR_TC   0x000Eu

◆ DTMF_TX_TONE_FIXED_PAIR_TD

#define DTMF_TX_TONE_FIXED_PAIR_TD   0x000Fu

◆ DTMF_TX_TONE_HASH

#define DTMF_TX_TONE_HASH   0x001Cu

◆ DTMF_TX_TONE_MASK

#define DTMF_TX_TONE_MASK   0x001Fu

◆ DTMF_TX_TONE_STAR

#define DTMF_TX_TONE_STAR   0x001Bu