abse/smart-ring-flex

A tscircuit package created by abse.

Version
0.0.24
License
unset
Stars
0

firmware/ring-hardware-pins.h

#ifndef SMART_RING_HARDWARE_PINS_H
#define SMART_RING_HARDWARE_PINS_H
/* Prototype PCB service revision: Nordic QFAA package pin7 is P0.05.
 * R25 retains the external 1.8V pull-up: input/high is charge-disabled.
 * Set OUT high before configuring output, validate battery temperature,
 * then drive low to allow charging. Assert high before sleep/recovery.
 * This pin configuration is not a completed or hardware-tested ring app.
 */
#define RING_CHARGE_DISABLE_PORT 0u
#define RING_CHARGE_DISABLE_PIN 5u
#define RING_CHARGE_DISABLE_ASSERTED_LEVEL 1u
#endif