Production Test Program (PTP) for the LPC4088 Experiment Base Board
Dependencies: EALib I2S LM75B SDFileSystem mbed
TestShiftreg Class Reference
Test the shift register and the LEDs connected to it on the LPC4088 Experiment Base Board. More...
#include <TestShiftreg.h>
Public Member Functions | |
TestShiftreg (PinName mosi=p5, PinName miso=p6, PinName sclk=p7, PinName cs=p30) | |
Create an interface to the shift register. | |
bool | runTest () |
Test the shift register. | |
void | output (uint8_t value) |
Set a value in the shift register. |
Detailed Description
Test the shift register and the LEDs connected to it on the LPC4088 Experiment Base Board.
Definition at line 25 of file TestShiftreg.h.
Constructor & Destructor Documentation
TestShiftreg | ( | PinName | mosi = p5 , |
PinName | miso = p6 , |
||
PinName | sclk = p7 , |
||
PinName | cs = p30 |
||
) |
Create an interface to the shift register.
Definition at line 33 of file TestShiftreg.cpp.
Member Function Documentation
void output | ( | uint8_t | value ) |
Set a value in the shift register.
Definition at line 75 of file TestShiftreg.cpp.
bool runTest | ( | ) |
Test the shift register.
- Returns:
- true if the test was successful; otherwise false
Definition at line 40 of file TestShiftreg.cpp.
Generated on Sun Jul 17 2022 08:29:10 by 1.7.2