Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AXP192

Hierarchy

  • AXP192

Implements

Index

Constructors

constructor

  • Returns AXP192

Properties

keys

keys: string[]

params

params: any

requiredKeys

requiredKeys: string[]

Methods

enableLDO2_3

  • enableLDO2_3(): void
  • Returns void

getVbat

  • getVbat(): Promise<any>
  • Returns Promise<any>

getVbatWait

  • getVbatWait(): Promise<any>
  • Returns Promise<any>

getWait

  • getWait(address: number): Promise<any>
  • Parameters

    • address: number

    Returns Promise<any>

initM5StickC

  • initM5StickC(): void
  • Returns void

set

  • set(address: number, data: number): void
  • Parameters

    • address: number
    • data: number

    Returns void

set3VLDO2_3

  • set3VLDO2_3(): void
  • Returns void

setLDO2Voltage

  • setLDO2Voltage(voltage: number): Promise<void>
  • deprecated

    Parameters

    • voltage: number

    Returns Promise<void>

setLDO2VoltageWait

  • setLDO2VoltageWait(voltage: number): Promise<void>
  • Parameters

    • voltage: number

    Returns Promise<void>

setLDO3Voltage

  • setLDO3Voltage(voltage: number): void
  • deprecated

    Parameters

    • voltage: number

    Returns void

setLDO3VoltageWait

  • setLDO3VoltageWait(voltage: number): Promise<void>
  • Parameters

    • voltage: number

    Returns Promise<void>

toggleLDO2

  • toggleLDO2(val: number): Promise<void>
  • deprecated

    Parameters

    • val: number

    Returns Promise<void>

toggleLDO2Wait

  • toggleLDO2Wait(val: number): Promise<void>
  • Parameters

    • val: number

    Returns Promise<void>

toggleLDO3

  • toggleLDO3(val: number): Promise<void>
  • deprecated

    Parameters

    • val: number

    Returns Promise<void>

toggleLDO3Wait

  • toggleLDO3Wait(val: number): Promise<void>
  • Parameters

    • val: number

    Returns Promise<void>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc