Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UART

Index

Properties

onreceive

onreceive: function

Type declaration

    • (data: any, text: string): void
    • Parameters

      • data: any
      • text: string

      Returns void

Methods

end

  • end(): void
  • Returns void

isDataExists

  • isDataExists(): boolean
  • Returns boolean

readByte

  • readByte(): any
  • Returns any

readBytes

  • readBytes(): any[]
  • Returns any[]

readText

  • readText(): string
  • Returns string

send

  • send(data: any): void
  • Parameters

    • data: any

    Returns void

start

  • start(options: object): void
  • Parameters

    • options: object
      • Optional baud?: undefined | number
      • Optional bits?: BitType
      • Optional cts?: undefined | number
      • Optional drive?: DriveType
      • Optional flowcontrol?: FlowControlType
      • Optional gnd?: undefined | number
      • Optional parity?: ParityType
      • Optional pull?: PullType
      • Optional rts?: undefined | number
      • rx: number
      • Optional stop?: StopBitType
      • tx: number

    Returns void

Generated using TypeDoc