diff --git a/docs-resources b/docs-resources index 35203a4..07b9904 160000 --- a/docs-resources +++ b/docs-resources @@ -1 +1 @@ -Subproject commit 35203a4f123d0be162b6b5ea213a657b594f8c36 +Subproject commit 07b9904bd4de7aca03257200a0f88cb2683d9790 diff --git a/src/clic.adoc b/src/clic.adoc index 0f5bc7e..f3f503d 100644 --- a/src/clic.adoc +++ b/src/clic.adoc @@ -555,6 +555,8 @@ only certain mode/trigger/shv types. 0 reserved for smclicshv extension (WARL 0) ---- +include::images/wavedrom/clicintattr.edn[] + The 2-bit `trig` WARL field specifies the trigger type and polarity for each interrupt input. Bit 1, `trig[0]`, is defined as "edge-triggered" (0: level-triggered, 1: edge-triggered); while bit 2, `trig[1]`, is defined diff --git a/src/images/wavedrom/clicintattr.edn b/src/images/wavedrom/clicintattr.edn new file mode 100644 index 0000000..42cd79e --- /dev/null +++ b/src/images/wavedrom/clicintattr.edn @@ -0,0 +1,9 @@ +[wavedrom, ,svg] +.... +{reg: [ + {bits: 1, name: 'WARL(0)' }, + {bits: 2, name: 'trig' }, + {bits: 3, name: 'WPRI(0)' }, + {bits: 2, name: 'mode' }, + ]} +....