This is the David Smart RA8875 Library with mods for working with FRDM-K64F
Diff: RA8875.h
- Revision:
- 172:7abb03bf31be
- Parent:
- 157:1565f38ca44b
- Child:
- 174:7810bc76987a
diff -r 0215d0eec1a4 -r 7abb03bf31be RA8875.h --- a/RA8875.h Sun Jan 13 19:02:36 2019 +0000 +++ b/RA8875.h Sun Jan 13 20:38:01 2019 +0000 @@ -419,7 +419,7 @@ /// @returns noerror to allow the driver continue waiting. /// @returns external_abort if the pending action should be aborted. /// - typedef RetCode_t (* IdleCallback_T)(IdleReason_T reason, uint16_t param = 0); + typedef RetCode_t (* IdleCallback_T)(IdleReason_T reason, uint16_t param); /// Basic constructor for a display based on the RAiO RA8875 /// display controller, which can be used with no touchscreen, @@ -534,7 +534,7 @@ /// parameter is used to enable and initialize the resistive touchscreen driver. /// @returns success/failure code. See @ref RetCode_t. /// - RetCode_t init(int width = 480, int height = 272, int color_bpp = 16, + RetCode_t init(dim_t width = 480, dim_t height = 272, uint8_t color_bpp = 16, uint8_t poweron = 40, bool keypadon = true, bool touchscreeenon = true); @@ -1237,8 +1237,6 @@ /// +------------------+ /// @endcode /// - /// @note that the first parameter is a pointer to a rect and the - /// /// @param[inout] pRect1 is a pointer to a rectangular region, and returns /// the area of intersection. /// @param[in] pRect2 is a pointer to a second rectangular region.