Marc Bax / Mbed 2 deprecated Flexbook180111a

Dependencies:   SDFileSystem app epson mbed msp430 pl tests

Embed: (wiki syntax)

« Back to documentation index

pl_epdpsu Struct Reference

pl_epdpsu Struct Reference

Interface. More...

#include <epdpsu.h>

Data Fields

int(* on )(struct pl_epdpsu *psu)
 turn the EPD PSU on
int(* off )(struct pl_epdpsu *psu)
 turn the EPD PSU off
int state
 current power state (1=on, 0=off)
void * data
 private data for the implementation

Detailed Description

Interface.

Definition at line 42 of file epdpsu.h.


Field Documentation

void* data

private data for the implementation

Definition at line 58 of file epdpsu.h.

int(* off)(struct pl_epdpsu *psu)

turn the EPD PSU off

Parameters:
[in]psupl_epdpsu instance
Returns:
-1 if an error occured, 0 otherwise

Definition at line 55 of file epdpsu.h.

int(* on)(struct pl_epdpsu *psu)

turn the EPD PSU on

Parameters:
[in]psupl_epdpsu instance
Returns:
-1 if an error occured, 0 otherwise

Definition at line 48 of file epdpsu.h.

int state

current power state (1=on, 0=off)

Definition at line 57 of file epdpsu.h.