| commit | d4cc8de6448198a2ed6e66fc2c227b8d730ada78 | [log] [tgz] |
|---|---|---|
| author | Tomasz Moń <tomasz.mon@nordicsemi.no> | Tue Feb 04 12:46:26 2025 +0100 |
| committer | Benjamin Cabé <kartben@gmail.com> | Fri Feb 07 14:33:16 2025 +0100 |
| tree | c94207fce46f03808d490331d0f919131e1749e6 | |
| parent | d4b2b749a80c8f8607e5d8a0e6625ca63546b4a1 [diff] |
drivers: udc_dwc2: Add helpers to check operating mode Use helper functions to check whether device is operating in Buffer DMA or Completer mode. This allows compile time optimizations to remove DMA handling code when DMA is disabled via KConfig symbol UDC_DWC2_DMA. Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>