# HG changeset patch # User Mychaela Falconia # Date 1637304505 0 # Node ID fff7bffc1ab7979ebe04fd76a1c466bb2a53e49b # Parent a70d1c104205403e22c5fc342c316650852c6e0e venus/src/periph/battery.v: adapted from FCDEV3B diff -r a70d1c104205 -r fff7bffc1ab7 venus/src/periph/battery.v --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/venus/src/periph/battery.v Fri Nov 19 06:48:25 2021 +0000 @@ -0,0 +1,15 @@ +/* battery or power supply connector */ + +module battery (VBAT, GND, Third_pin); + +output VBAT, GND; +inout Third_pin; + +conn_3pin batt_conn (.pin_1(VBAT), + .pin_2(Third_pin), + .pin_3(GND) + ); + +capacitor big_cap (VBAT, GND); + +endmodule