mirror of
git://projects.qi-hardware.com/nn-usb-fpga.git
synced 2025-01-09 19:50:15 +02:00
7d9b7b803c
Adding blinker demo: lua_blink_led
18 lines
274 B
C
18 lines
274 B
C
/*
|
|
* 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
|