PDB counter
Ch
n
pre-trigger 0
Ch
n
pre-trigger 1
CH
n
DLY1
CH
n
DLY0
SC[LDOK]
Figure 37-51. Registers update with SC[LDMOD] = 00
PDB counter
Ch
n
pre-trigger 0
Ch
n
pre-trigger 1
CH
n
DLY1
CH
n
DLY0
SC[LDOK]
Figure 37-52. Registers update with SC[LDMOD] = x1
37.4.5 Interrupts
PDB can generate two interrupts: PDB interrupt and PDB sequence error interrupt. The
following table summarizes the interrupts.
Table 37-53. PDB interrupt summary
Interrupt
Flags
Enable bit
PDB Interrupt
SC[PDBIF]
SC[PDBIE] = 1 and
SC[DMAEN] = 0
PDB Sequence Error Interrupt
CH
n
S[ERR
m
]
SC[PDBEIE] = 1
37.4.6 DMA
If SC[DMAEN] is set, PDB can generate a DMA transfer request when SC[PDBIF] is
set. When DMA is enabled, the PDB interrupt is not issued.
Chapter 37 Programmable Delay Block (PDB)
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
Freescale Semiconductor, Inc.
813