FlexBook / Mbed 2 deprecated FlexBook171204a

Dependencies:   SDFileSystem app epson mbed msp430 pl tests

Embed: (wiki syntax)

« Back to documentation index

HAL Namespace Reference

HAL Namespace Reference

Namespace to contain all Hardware Abstraction Layer functions. More...

Data Structures

class  AT42QT2120
 Atmel AT42QT2120 encapsulation. More...
class  MCP23S17
 Microchip MCP23S17 encapsulation. More...

Enumerations

enum  REG_AT42QT2120
 

AT42QT2120 registers.

More...
enum  REG_MCP23S17
 

MCP23S17 register addresses in bank 0 mode.

More...

Functions

void Initialise ()
 Initialise the HAL.
void EnablePowerToPages (Flexbook::PageType pages)
 Enable the indicated pages.
Flexbook::PageType GetPageType ()
 Read the current page type from the hardware.

Detailed Description

Namespace to contain all Hardware Abstraction Layer functions.


Enumeration Type Documentation

AT42QT2120 registers.

Definition at line 17 of file at42qt2120.h.

MCP23S17 register addresses in bank 0 mode.

Definition at line 17 of file mcp23s17.h.


Function Documentation

void EnablePowerToPages ( Flexbook::PageType  pages )

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.

Definition at line 65 of file hal.cpp.

Flexbook::PageType GetPageType (  )

Read the current page type from the hardware.

Returns:
The selected hardware page type.

Definition at line 77 of file hal.cpp.

void Initialise (  )

Initialise the HAL.

This must be called before accessing any hardware functions.

Definition at line 55 of file hal.cpp.