summaryrefslogtreecommitdiff
path: root/hardware.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardware.h')
-rwxr-xr-x[-rw-r--r--]hardware.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/hardware.h b/hardware.h
index 99e7334..56b8782 100644..100755
--- a/hardware.h
+++ b/hardware.h
@@ -67,11 +67,22 @@
PxOUT_INIT //Init Output data of portx
PxDIR_INIT //Init of Portx Data-Direction Reg (Out=1 / Inp=0)
PxSEL_INIT //Px-Modules:
-PxREN_INIT // Pull up resistor
+PxREN_INIT //Pull up resistor
PxIE_INIT //Interrupt Enable (0=dis 1=enabled)
PxIES_INIT //Interrupt Edge Select (0=pos 1=neg)
*/
+// NOTES:
+//
+// * V1P2_CORE_EN_N is initialized as an output high for a reason!
+//
+// ATX specifies that there can be as much as 20 ms between 5V reaching
+// its 95% level and 3.3V doing likewise. U5H1 (ISL6545) is powered by
+// 5V and Q5U1, that disables it, has a pull-up 3.3V on its gate.
+// ISL6545 can ramp up its output between ~ 10 and 17 ms (and might
+// do it even before) after Power On Reset.
+
+
// PORT1
#define P1OUT_INIT (START_SW1_N | RST_SW2_N | V1P2_CORE_EN_N)
#define P1DIR_INIT (V1P2_CORE_EN_N)