session.py 文件源码

python
阅读 74 收藏 0 点赞 0 评论 0

项目:nifpga-python 作者: ni 项目源码 文件源码
def configure(self, requested_depth):
        """ Specifies the depth of the host memory part of the DMA FIFO.

        Args:
            requested_depth (int): The depth of the host memory part of the DMA
                                   FIFO in number of elements.

        Returns:
            actual_depth (int): The actual number of elements in the host
            memory part of the DMA FIFO, which may be more than the
            requested number.
        """
        actual_depth = ctypes.c_size_t()
        self._nifpga.ConfigureFifo2(self._session, self._number,
                                    requested_depth, actual_depth)
        return actual_depth.value
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号