picolibrary-microchip-megaavr

GPIO Facilities

Microchip megaAVR GPIO facilities are defined in the include/picolibrary/microchip/megaavr/gpio.h/source/picolibrary/microchip/megaavr/gpio.cc header/source file pair.

Table of Contents

  1. Pin
  2. Internally Pulled-Up Input Pin
  3. Open-Drain I/O Pin
  4. Push-Pull I/O Pin

Pin

The ::picolibrary::Microchip::megaAVR::GPIO::Pin class is used to interact with a Microchip megaAVR microcontroller pin.

Internally Pulled-Up Input Pin

The ::picolibrary::Microchip::megaAVR::GPIO::Internally_Pulled_Up_Input_Pin class implements a GPIO internally pulled-up input pin interface for interacting with a Microchip megaAVR microcontroller pin. See the ::picolibrary::GPIO::Internally_Pulled_Up_Input_Pin_Concept documentation for more information. The ::picolibrary::Microchip::megaAVR::GPIO::Internally_Pulled_Up_Input_Pin state interactive test is defined in the test/interactive/picolibrary/microchip/megaavr/gpio/internally_pulled_up_input_pin/state/main.cc source file.

Open-Drain I/O Pin

The ::picolibrary::Microchip::megaAVR::GPIO::Open_Drain_IO_Pin class implements a GPIO open-drain I/O pin interface for interacting with a Microchip megaAVR microcontroller pin. See the ::picolibrary::GPIO::IO_Pin_Concept documentation for more information. The ::picolibrary::Microchip::megaAVR::GPIO::Open_Drain_IO_Pin toggle interactive test is defined in the test/interactive/picolibrary/microchip/megaavr/gpio/open_drain_io_pin/toggle/main.cc source file.

Push-Pull I/O Pin

The ::picolibrary::Microchip::megaAVR::GPIO::Push_Pull_IO_Pin class implements a GPIO push-pull I/O pin interface for interacting with a Microchip megaAVR microcontroller pin. See the ::picolibrary::GPIO::IO_Pin_Concept documentation for more information. The ::picolibrary::Microchip::megaAVR::GPIO::Push_Pull_IO_Pin toggle interactive test is defined in the test/interactive/picolibrary/microchip/megaavr/gpio/push_pull_io_pin/toggle/main.cc source file.