1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-11-23 22:11:53 +02:00

libubb/include/ubb/regbase.h (PDTRGx): add trigger mode registers

This commit is contained in:
Werner Almesberger 2014-03-06 11:24:09 -03:00
parent 77a7a38f5f
commit 3f5c052288

View File

@ -1,8 +1,8 @@
/* /*
* include/ubb/regbase.h - Jz4740 minimum register definitions for UBB * include/ubb/regbase.h - Jz4740 minimum register definitions for UBB
* *
* Written 2011-2012 by Werner Almesberger * Written 2011-2012, 2014 by Werner Almesberger
* Copyright 2011-2012 Werner Almesberger * Copyright 2011-2012, 2014 Werner Almesberger
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -45,5 +45,8 @@ extern volatile void *ubb_mem;
#define PDDIR _GPIO(0x360) /* port D direction */ #define PDDIR _GPIO(0x360) /* port D direction */
#define PDDIRS _GPIO(0x364) /* port D direction set */ #define PDDIRS _GPIO(0x364) /* port D direction set */
#define PDDIRC _GPIO(0x368) /* port D direction clear */ #define PDDIRC _GPIO(0x368) /* port D direction clear */
#define PDTRG _GPIO(0x370) /* port D trigger */
#define PDTRGS _GPIO(0x374) /* port D trigger set */
#define PDTRGC _GPIO(0x378) /* port D trigger clear */
#endif /* !UBB_REGBASE_H */ #endif /* !UBB_REGBASE_H */