On to the next phase of my homemade battery charger, I want to confirm my understanding of MOSFET's.
+CHARGE comes from a PWM controlled voltage source that Hero999 and some others helped me figure out.
R10 is a shunt resistor (value still to be determined).
When CHARGE_EN is enabled (pulled low), current will be allowed to flow through the shunt resistor, Q1 and charge the battery. Current is controlled by measuring voltage drop between ADC1/2, and battery voltage is determined by measuring ADC2/ADC3. (In theory ADC3 will be at 0V, but it can't hurt to have this). When disabled, current will not be able to flow backwards into the circuit.
When DISCHARGE_EN is enabled (pulled high), current will be allowed to flow through Q2 to ground. When disabled, no current can flow. (Controlling the amount of current being discharged is still in the "todo" column. I am torn between a simple power resistor (non adjustable load), or with controlling the MOSFET.
Hopefully this is correct - what I took away from reading (and the internal symbol) is that if I had chosen different MOSFET types (N/P), current would still be able to flow even when the MOSFET was turned off.