7.6.6.7 Data Format

Data converted by the filters of the PDMC are 24 bits long. PDMC_RHR can be configured to send data with different formats. The available configurations are defined by the bit fields PDMC_MR.RHRJUSTIF, PDMC_MR.RHRMSB, PDMC_CFGR.PACK and PDMC_CFGR.DATAL and are described in the following table:

Table 7-15. Data Format Description
PACKRHRMSBRHRJUSTIFDATALRHR Register Description
00x024-bit long data located on the LSBs. The MSB (bits 31 to 24) contains the index of the channel that is being sent. Data are located on PDMC_RHR[23:0].
00x124-bit long data located on the LSBs. The MSB (bits 31 to 24) contains the index of the channel that is being sent. Data are located on PDMC_RHR[23:0].
00x220-bit long data located on the LSBs. The MSB (bits 31 to 24) contains the index of the channel that is being sent. Data are located on PDMC_RHR[19:0].
00x316-bit long data located on the LSBs. The MSB (bits 31 to 24) contains the index of the channel that is being sent. Data are located on PDMC_RHR[15:0].
00x48-bit long data located on the LSBs. The MSB (bits 31 to 24) contains the index of the channel that is being sent. Data are located on PDMC_RHR[7:0].
010024-bit long data located on the LSBs (bits 23 to 0). MSBs contains the sign extension.
010132-bit long data
010220-bit long data located on the LSBs (bits 19 to 0). MSBs contains the sign extension.
010316-bit long data located on the LSBs (bits 15 to 0). MSBs contains the sign extension.
01048-bit long data located on the LSBs (bits 7 to 0). MSBs contains the sign extension.
011024-bit long data located on the MSBs (bits 31 to 8).
011132-bit long data located on the RHR register
011220-bit long data located on the MSBs (bits 31 to 12)
011316-bit long data located on the MSBs (bits 31 to 16)
01148-bit long data located on the MSBs (bits 31 to 24)
1xx024-bit long data packed. This is a compact packing of the data.
1xx132-bit long data located on the RHR register
1xx2Not applicable
1xx316-bit long data packed. LSB (bits 15 to 0) contains 16-bit data from one channel and MSB (bits 31 to 24) contains the value of the next channel data
1xx4Not applicable