Error as described in MBs email to MS
Dependencies: SDFileSystem app epson mbed msp430 pl tests
hal.h
- Committer:
- marcbax
- Date:
- 2018-01-11
- Revision:
- 1:5874c1a074a7
- Parent:
- 0:c643d398cdb6
File content as of revision 1:5874c1a074a7:
// // Filename: hal.h // // Flexbook Hardware Abstraction Layer. // #ifndef HAL_H #define HAL_H #include "pagefactory.h" /** * @brief Namespace to contain all Hardware Abstraction Layer functions. */ namespace HAL { /** * @brief Initialise the HAL. * This must be called before accessing any hardware functions. */ void Initialise(); /** * @brief Enable the indicated pages. * This should be called before creating pages to ensure that they are powered. * pages A bit mask of the pages to be powered. */ void EnablePowerToPages(Flexbook::PageType pages); /** * @brief Read the current page type from the hardware. * @return The selected hardware page type. */ Flexbook::PageType GetPageType(); class MCP23S17; MCP23S17 &GetMCP23S17(); } // End HAL namespace. #endif // HAL_H