GR712RC unit tests 1.0
Bare-metal C++ hardware tests for the PLATO DPU (IAA-CSIC, 2019)
Loading...
Searching...
No Matches
mcal::led::led Class Reference

#include <mcal_uart.h>

Public Types

typedef std::uint32_t port_type
typedef std::uint32_t bval_type

Public Member Functions

 led (const port_type p, const bval_type b)
 bval es el valor de pin a poner a 1,, bval=2 => pin 1 del puerto.
void toggle (void) const

Detailed Description

Definition at line 22 of file mcal_uart.h.

Member Typedef Documentation

◆ bval_type

typedef std::uint32_t mcal::led::led::bval_type

Definition at line 27 of file mcal_uart.h.

◆ port_type

typedef std::uint32_t mcal::led::led::port_type

Definition at line 26 of file mcal_uart.h.

Constructor & Destructor Documentation

◆ led()

mcal::led::led::led ( const port_type p,
const bval_type b )
inline

bval es el valor de pin a poner a 1,, bval=2 => pin 1 del puerto.

Definition at line 32 of file mcal_uart.h.

Member Function Documentation

◆ toggle()

void mcal::led::led::toggle ( void ) const
inline

Definition at line 45 of file mcal_uart.h.


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