20#include "platform/platform.h"
22#if DEVICE_PORTOUT || defined(DOXYGEN_ONLY)
24#include "hal/port_api.h"
66 PortOut(PortName port,
int mask = 0xFFFFFFFF);
A multiple pin digital output.
PortOut(PortName port, int mask=0xFFFFFFFF)
Create a PortOut, connected to the specified port.
void write(int value)
Write the value to the output port.
PortOut & operator=(int value)
A shorthand for write()
int read()
Read the value currently output on the port.
int port_read(port_t *obj)
Read the current value on the port.
void port_write(port_t *obj, int value)
Write value to the port.
struct port_s port_t
Port HAL structure.