Updates on the IODevice structure.
Display and Logger fully functional. Keypad task completed - yet to be tested git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@219 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
// Include files
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#include "IODevice.h"
|
||||
#include "spi.h"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -133,7 +134,7 @@
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_construct(void* interface);
|
||||
extern ErrorStatus NHD0420_construct(const struct IODevice* const device);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -177,7 +178,7 @@ extern ErrorStatus NHD0420_getSpiParameters(struct SpiParameters* parameters);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_setCursorToPosition(uint8_t row, uint8_t column);
|
||||
extern ErrorStatus NHD0420_setCursorToPosition(char row, char column);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -194,7 +195,7 @@ extern ErrorStatus NHD0420_setCursorToPosition(uint8_t row, uint8_t column);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_setContrast(uint8_t contrast);
|
||||
extern ErrorStatus NHD0420_setContrast(char contrast);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -211,7 +212,7 @@ extern ErrorStatus NHD0420_setContrast(uint8_t contrast);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_setBacklightBrightness(uint8_t brightness);
|
||||
extern ErrorStatus NHD0420_setBacklightBrightness(char brightness);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -236,7 +237,7 @@ extern ErrorStatus NHD0420_setBacklightBrightness(uint8_t brightness);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_setRS232Baudrate(uint8_t baudrate);
|
||||
extern ErrorStatus NHD0420_setRS232Baudrate(char baudrate);
|
||||
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
@@ -262,7 +263,7 @@ extern ErrorStatus NHD0420_setRS232Baudrate(uint8_t baudrate);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_setI2CAddress(uint8_t address);
|
||||
extern ErrorStatus NHD0420_setI2CAddress(char address);
|
||||
|
||||
/** ----------------------------------------------------------------------------
|
||||
* NHD0420_SendCommand
|
||||
@@ -276,8 +277,8 @@ extern ErrorStatus NHD0420_setI2CAddress(uint8_t address);
|
||||
* @todo
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
extern ErrorStatus NHD0420_sendCommand(uint8_t command);
|
||||
extern ErrorStatus NHD0420_sendCommand(char command);
|
||||
|
||||
extern ErrorStatus NHD0420_sendData(const uint8_t* buffer, size_t length);
|
||||
extern ErrorStatus NHD0420_sendData(const char* buffer, size_t length);
|
||||
|
||||
#endif /* DISPLAY_INC_NHD0420_H_ */
|
||||
|
||||
Reference in New Issue
Block a user