MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
PDB Peripheral and Driver Overview

Content including 1) peripheral features, work logic and work method; 2) driver design logic and use method; 3) typical use case. More...

Peripheral features and how this peripheral works ==================================================. The main function of the Programmable Delay module Block(PDB) mode is only to provide a controllable delay from the PWM SYNC output to the sampling trigger input of the programmable gain amplifier and ADC, as well as a controllable window synchronized with the PWM pulse, which is used in the definition of the analog comparator. Compare the analog signal in the window. Another main function of the PDB is to generate a sampling/filtering clock for the comparator, and another function of the PDB is to generate a PWM pulse synchronized with the PWM timer module.

Features

How this driver is designed to make this peripheral works.

The PDB driver provides a structure pdb_config_t, which contains all the programmable functions of the PDB. The PDB_Init() function configures the PDB function through its parameters. In addition to the initialization ioperation, the PDB driver also provides several function groups for function reconfiguration, such as interrupt enable/disable, bypass mode selection, delay function setting, counting function setting, and status flag acquisition and clearing. The functional groups are briefly described as follows:

How to use this driver

Typical Use Case