Line data Source code
1 0 : /* 2 : * Copyright 2023 NXP 3 : * 4 : * SPDX-License-Identifier: Apache-2.0 5 : */ 6 : 7 : #ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_ 8 : #define ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_ 9 : 10 : /** 11 : * @brief install SMARTDMA firmware 12 : * 13 : * Install a custom firmware for the smartDMA. This function allows the user 14 : * to install a custom firmware into the smartDMA, which implements 15 : * different API functions than the standard MCUX SDK firmware. 16 : * @param dev: smartDMA device 17 : * @param firmware: address of buffer containing smartDMA firmware 18 : * @param len: length of firmware buffer 19 : */ 20 1 : void dma_smartdma_install_fw(const struct device *dev, uint8_t *firmware, 21 : uint32_t len); 22 : 23 : #endif /* ZEPHYR_INCLUDE_DRIVERS_DMA_MCUX_SMARTDMA_H_ */