1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//!
//! Description:
//!
//! The TPS6507x family of devices are single-chip power management ICs (PMICs) for portable
//! applications consisting of a battery charger with power path management for a single Li-Ion or
//! Li-Polymer cell. The charger can either be supplied by a USB port on pin USB or by a DC voltage
//! from a wall adapter connected to pin AC. Three highly efficient 2.25-MHz step-down converters
//! are targeted at providing the core voltage, memory,and I/O voltage in a processor-based system.
//! The step-down converters enter a low power mode at light load for maximum efficiency across the
//! widest possible range of load currents.
//!
#![no_std]

mod defs;
mod device;
mod oneshot;
mod regs;

pub use defs::*;
pub use device::{Tps6507x, Tps6507xError, SLAVE_ADDR};
pub use regs::chgconfig::{ChargerConfig, SafetyTimerTimeOut, SensorType};
pub use regs::ppath::{AcInputCurrent, PowerPath, UsbInputCurrent};

pub mod channel {
    pub use crate::oneshot::channel::*;
}