20 #include "drivers/DigitalOut.h" 21 #include "platform/PlatformMutex.h" 22 #include "platform/NonCopyable.h" 62 BusOut(PinName p0, PinName p1 = NC, PinName p2 = NC, PinName p3 = NC,
63 PinName p4 = NC, PinName p5 = NC, PinName p6 = NC, PinName p7 = NC,
64 PinName p8 = NC, PinName p9 = NC, PinName p10 = NC, PinName p11 = NC,
65 PinName p12 = NC, PinName p13 = NC, PinName p14 = NC, PinName p15 = NC);
79 void write(
int value);
115 #if !defined(DOXYGEN_ONLY) 118 virtual void unlock();
BusOut(PinName p0, PinName p1=NC, PinName p2=NC, PinName p3=NC, PinName p4=NC, PinName p5=NC, PinName p6=NC, PinName p7=NC, PinName p8=NC, PinName p9=NC, PinName p10=NC, PinName p11=NC, PinName p12=NC, PinName p13=NC, PinName p14=NC, PinName p15=NC)
Create an BusOut, connected to the specified pins.
DigitalOut & operator[](int index)
Access to particular bit in random-iterator fashion.
int mask()
Binary mask of bus pins connected to actual pins (not NC pins) If bus pin is in NC state make corresp...
BusOut & operator=(int v)
A shorthand for write()
void write(int value)
Write the value to the output bus.
Prevents generation of copy constructor and copy assignment operator in derived classes.
int read()
Read the value currently output on the bus.
A digital output, used for setting the state of a pin.
A digital output bus, used for setting the state of a collection of pins.