FlexBook / Mbed 2 deprecated FlexBook171204a

Dependencies:   SDFileSystem app epson mbed msp430 pl tests

Embed: (wiki syntax)

« Back to documentation index

pl_epdpsu_gpio Struct Reference

pl_epdpsu_gpio Struct Reference

Generic GPIO-based implementation. More...

#include <epdpsu.h>

Data Fields

struct pl_gpio * gpio
 pl_gpio instance to control the GPIOs
unsigned hv_en
 GPIO number to turn the power on/off.
unsigned com_close
 GPIO number to close the COM switch.
unsigned pok
 GPIO number to read Power OK.
unsigned flt
 GPIO number to read Power FLT status.
unsigned timeout_ms
 Maximum time in ms to wait for POK.
unsigned on_delay_ms
 Delay after turning the power on.
unsigned off_delay_ms
 Delay after turning the power off.

Detailed Description

Generic GPIO-based implementation.

Definition at line 62 of file epdpsu.h.


Field Documentation

unsigned com_close

GPIO number to close the COM switch.

Definition at line 65 of file epdpsu.h.

unsigned flt

GPIO number to read Power FLT status.

Definition at line 67 of file epdpsu.h.

struct pl_gpio* gpio

pl_gpio instance to control the GPIOs

Definition at line 63 of file epdpsu.h.

unsigned hv_en

GPIO number to turn the power on/off.

Definition at line 64 of file epdpsu.h.

unsigned off_delay_ms

Delay after turning the power off.

Definition at line 70 of file epdpsu.h.

unsigned on_delay_ms

Delay after turning the power on.

Definition at line 69 of file epdpsu.h.

unsigned pok

GPIO number to read Power OK.

Definition at line 66 of file epdpsu.h.

unsigned timeout_ms

Maximum time in ms to wait for POK.

Definition at line 68 of file epdpsu.h.