1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 15:40:15 +02:00
nn-usb-fpga/lua/examples/lua_blink_led/jz47xx_mmap.h

18 lines
274 B
C
Raw Normal View History

/*
* JZ47xx GPIO lines
*
* Written 2010 by Andres Calderon andres.calderon@emqbit.com
*/
#ifndef __jz47xx_mmap_h__
#define __jz47xx_mmap_h__
#include <sys/mman.h>
#define FPGA_SIZE (1 << 15)
void *jz_mmap (off_t address);
void *jz_fpga_map (off_t address);
#endif