⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zc030x_mm.h

📁 AVR单片机视频采集,主要是为了在自主导航的微型机器人里使用。 获取图像后
💻 H
字号:
#ifndef h_Zc030x_MM_h#define h_Zc030x_MM_h/* This file implement the memory management functionnalities *//* This project is under GPL                                  *//* - Driver file -            Zc030x       - Driver file -    */ /* Copyright:                Tommy               Cyril    Russo--------------------------------------------------------------*//* Include headers */#include "zc030x_kerneldef.h"/* Given PGD from the address space's page table, return the kernel   virtual mapping of the physical memory mapped at ADR.           */unsigned long uvirt_to_kva(pgd_t *pgd, unsigned long adr);/* Return the physical address of a kernel virtual mapping */unsigned long kvirt_to_pa(unsigned long adr);/* Alloc memory */ void * rvmalloc(unsigned long size);/* Free memory */void   rvfree(void *mem, unsigned long size);/* Allocate isochronous urbs */int zc030x_allocate_urbs(struct usb_zc030x *dev);/* Allocate the buffers */int zc030x_allocate_buffers (struct usb_zc030x *dev);    /* Free the buffers */int zc030x_unallocate_buffers (struct usb_zc030x *dev);#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -