Environmental Shield API

Embed: (wiki syntax)

« Back to documentation index

UVIS3_Exported_Functions

UVIS3_Exported_Functions
[UVIS3_Exported_Constants]

Functions

void UVIS3_Init (UV_InitTypeDef *UVIS3_Init)
 Set UVIS3 Initialization.
uint8_t UVIS3_ReadID (void)
 Read ID address of UVIS3.
void UVIS3_RebootCmd (void)
 Reboot memory content of UVIS3.
void UVIS3_GetIndex (float *pfData)
 Calculate the UVIS3 UV index data.
void UVIS3_INT1InterruptConfig (uint16_t Int1Config)
 Set UVIS3 Interrupt INT1 configuration.
void UVIS3_EnableIT (void)
 Enable INT1.
void UVIS3_DisableIT (void)
 Disable INT1.

Function Documentation

void UVIS3_DisableIT ( void   )

Disable INT1.

Return values:
None

Definition at line 211 of file uvis3.c.

void UVIS3_EnableIT ( void   )

Enable INT1.

Return values:
None

Definition at line 202 of file uvis3.c.

void UVIS3_GetIndex ( float *  pfData )

Calculate the UVIS3 UV index data.

Parameters:
pfData: Data out pointer
Return values:
None

Definition at line 222 of file uvis3.c.

void UVIS3_Init ( UV_InitTypeDef *  UVIS3_Init )

Set UVIS3 Initialization.

Parameters:
InitStruct,:it contains the configuration setting for the UVIS3.
Return values:
None

Definition at line 114 of file uvis3.c.

void UVIS3_INT1InterruptConfig ( uint16_t  Int1Config )

Set UVIS3 Interrupt INT1 configuration.

Parameters:
UVIS3_InterruptConfig_TypeDef,:pointer to a UVIS3_InterruptConfig_TypeDef structure that contains the configuration setting for the UVIS3 Interrupt.
Return values:
None

Definition at line 193 of file uvis3.c.

uint8_t UVIS3_ReadID ( void   )

Read ID address of UVIS3.

Parameters:
DeviceID address
Return values:
IDname

Definition at line 157 of file uvis3.c.

void UVIS3_RebootCmd ( void   )

Reboot memory content of UVIS3.

Parameters:
None
Return values:
None

Definition at line 173 of file uvis3.c.