APM:Libraries
Public Member Functions | Private Attributes | List of all members
HALSITL::DigitalSource Class Reference

#include <GPIO.h>

Inheritance diagram for HALSITL::DigitalSource:
[legend]
Collaboration diagram for HALSITL::DigitalSource:
[legend]

Public Member Functions

 DigitalSource (uint8_t pin)
 
void mode (uint8_t output)
 
uint8_t read ()
 
void write (uint8_t value)
 
void toggle ()
 

Private Attributes

uint8_t _pin
 

Detailed Description

Definition at line 29 of file GPIO.h.

Constructor & Destructor Documentation

◆ DigitalSource()

DigitalSource::DigitalSource ( uint8_t  pin)
explicit

Definition at line 71 of file GPIO.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ mode()

void HALSITL::DigitalSource::mode ( uint8_t  output)
virtual

Implements AP_HAL::DigitalSource.

Referenced by DigitalSource().

Here is the caller graph for this function:

◆ read()

uint8_t HALSITL::DigitalSource::read ( )
virtual

Implements AP_HAL::DigitalSource.

Referenced by DigitalSource().

Here is the caller graph for this function:

◆ toggle()

void HALSITL::DigitalSource::toggle ( )
virtual

Implements AP_HAL::DigitalSource.

Referenced by DigitalSource().

Here is the caller graph for this function:

◆ write()

void HALSITL::DigitalSource::write ( uint8_t  value)
virtual

Implements AP_HAL::DigitalSource.

Referenced by DigitalSource().

Here is the caller graph for this function:

Member Data Documentation

◆ _pin

uint8_t HALSITL::DigitalSource::_pin
private

Definition at line 38 of file GPIO.h.

Referenced by DigitalSource().


The documentation for this class was generated from the following files: