API Reference: Libraries

Top

# w83627

#### NAME

> w83627 - Driver for the hardware monitoring functionality of the Winbond W83627DHG Super-I/O chip

#### ROUTINES

> vxbW83627DrvRegister( ) - register template sensor driver
> W83627GetKEAPIFunctions( ) - get KEAPI support functions

#### DESCRIPTION

> This driver provides support for the Winbond W83627DHG hardware monitor. There are functions available to read the operating voltage of the CPU and power supply voltages of the system, CPU and system temperature, speed of fans, control GPIO and watchdog.

#### EXTERNAL INTERFACE

> The driver is compliant with KEAPI specification and exports necessary functionality (see 3rdparty/kontron/w83627/w83627.h for definitions).

> The driver provides a vxBus external interface. The exported routine vxbW83627DrvRegister( ) registers the driver with VxBus.

> This driver supports the {driverControl}() interface between instances and applications that provides reference to the exported functionality.

#### USAGE

> To use this driver, just select the component DRV_W83627 at configuration time.

#### INCLUDE FILES

> 3rdparty/kontron/h/keapiVxW.h , 3rdparty/kontron/w83627/w83627.h

API Reference: Routines

Top

# vxbW83627DrvRegister( )

#### NAME

> vxbW83627DrvRegister( ) - register template sensor driver

#### SYNOPSIS

>     void vxbW83627DrvRegister(void)

#### DESCRIPTION

> This routine registers the template sensor driver with the VxBus subsystem.

> This routine contains the first instructions of the device driver that are ever executed within a VxWorks system. This function registers the driver with VxBus by providing pointers to the data structures listed previously. Once this step is complete, VxWorks is able to associate this driver with appropriate hardware within the system to form an instance.

#### RETURNS

> N/A

#### ERRNO

> Not Available

#### SEE ALSO

> w83627

API Reference: Routines

Top

# W83627GetKEAPIFunctions( )

#### NAME

> W83627GetKEAPIFunctions( ) - get KEAPI support functions

#### SYNOPSIS

>     IMPORT void* W83627GetKEAPIFunctions
>         (
>         VXB_DEVICE_ID       pInst,   /* device identifier      */
>         W83627_KEAPI_subset subset   /* KEAPI functions subset */
>         )

#### DESCRIPTION

> This function to get KEAPI support functions. The following subsets are
> available for Winbond: W83627_KEAPI_THERMAL, W83627_KEAPI_VOLTAGE,
> W83627_KEAPI_FAN, W83627_KEAPI_WATCHDOG, W83627_KEAPI_GPIO

#### RETURNS

> pointer or NULL

#### ERRNO

> Not Available

#### SEE ALSO

> w83627