diff --git a/libubb/include/ubb/regbase.h b/libubb/include/ubb/regbase.h index 39f22cd..aa9c310 100644 --- a/libubb/include/ubb/regbase.h +++ b/libubb/include/ubb/regbase.h @@ -1,8 +1,8 @@ /* * include/ubb/regbase.h - Jz4740 minimum register definitions for UBB * - * Written 2011-2012 by Werner Almesberger - * Copyright 2011-2012 Werner Almesberger + * Written 2011-2012, 2014 by Werner Almesberger + * Copyright 2011-2012, 2014 Werner Almesberger * * 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 @@ -45,5 +45,8 @@ extern volatile void *ubb_mem; #define PDDIR _GPIO(0x360) /* port D direction */ #define PDDIRS _GPIO(0x364) /* port D direction set */ #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 */