![]() |
nrfx 4.5.0
|
TDM driver configuration structure. More...
#include <nrfx_tdm.h>
Data Fields | |
| uint32_t | sck_pin |
| Serial clock pin number. | |
| uint32_t | fsync_pin |
| Frame Synchronization pin number. | |
| uint32_t | mck_pin |
| Master clock pin number. | |
| uint32_t | sdout_pin |
| Serial Data Output pin number. | |
| uint32_t | sdin_pin |
| Serial Data Input pin number. | |
| uint8_t | irq_priority |
| Interrupt priority. | |
| nrf_tdm_mode_t | mode |
| TDM mode of operation. | |
| nrf_tdm_align_t | alignment |
| Sample alignment within frame. | |
| nrf_tdm_swidth_t | sample_width |
| Sample width. | |
| nrf_tdm_channel_mask_t | rx_channel_mask |
| Mask of enabled RX channels. | |
| nrf_tdm_channel_mask_t | tx_channel_mask |
| Mask of enabled TX channels. | |
| uint8_t | channel_number |
| Number of enabled channels. | |
| nrf_tdm_channel_delay_t | channel_delay |
| Channel delay settings. | |
| nrf_tdm_polarity_t | sck_polarity |
| Serial clock polarity. | |
| nrf_tdm_polarity_t | fsync_polarity |
| Frame Synchronization pulse polarity. | |
| nrf_tdm_fsync_duration_t | fsync_duration |
| Frame Synchronization pulse duration. | |
| uint32_t | ors |
| Over-read sample. | |
| nrf_tdm_src_t | mck_src |
| Master clock source. | |
| bool | mck_bypass |
| Master clock bypass. | |
| nrf_tdm_src_t | sck_src |
| Serial clock source. | |
| bool | sck_bypass |
| Serial clock bypass. | |
| nrfx_tdm_prescalers_t | prescalers |
| Clock prescalers. | |
| bool | skip_gpio_cfg |
| Skip GPIO configuration of pins. | |
| bool | skip_psel_cfg |
| Skip pin selection configuration. | |
TDM driver configuration structure.
| bool nrfx_tdm_config_t::skip_gpio_cfg |
Skip GPIO configuration of pins.
When set to true, the driver does not modify any GPIO parameters of the used pins. Those parameters are supposed to be configured externally before the driver is initialized.
| bool nrfx_tdm_config_t::skip_psel_cfg |
Skip pin selection configuration.
When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.