I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
Loading...
Searching...
No Matches
S11059_proc.h File Reference

S11059 Driver procedures. More...

#include "sarmfsw.h"
#include "S11059.h"
Include dependency graph for S11059_proc.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  S11059_t
 S11059 user interface struct. More...
 

Functions

FctERR S11059_Init_Sequence (S11059_t *const pCpnt)
 Initialization Sequence for S11059 peripheral.
 
uint32_t S11059_Get_Full_Integration_Time (const S11059_integ mode, const S11059_prescaler prescaler, const uint16_t mult)
 Get S11059 integration time for all channels.
 
FctERR S11059_handler (S11059_t *const pCpnt)
 Handler for S11059 peripheral.
 
FctERR S11059_handler_all (void)
 Handler for all S11059 peripherals.
 

Variables

S11059_t S11059 [I2C_S11059_NB]
 S11059 User structure.
 

Detailed Description

S11059 Driver procedures.

Author
SMFSW

S11059: I2C interface-compatible color sensor

Function Documentation

◆ S11059_Get_Full_Integration_Time()

uint32_t S11059_Get_Full_Integration_Time ( const S11059_integ mode,
const S11059_prescaler prescaler,
const uint16_t mult )

Get S11059 integration time for all channels.

Parameters
[in]mode- Fixed period / Manual integration
[in]prescaler- Integration time base (prescaler)
[in]mult- Integration time multiplier value
Returns
Full integration time in us
Here is the caller graph for this function:

◆ S11059_handler()

FctERR S11059_handler ( S11059_t *const pCpnt)

Handler for S11059 peripheral.

Weak Functions
S11059 handler may be user implemented to suit custom needs
Note
May be called periodically to handle S11059 tasks
Parameters
[in]pCpnt- Pointer to S11059 component
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

◆ S11059_handler_all()

FctERR S11059_handler_all ( void )

Handler for all S11059 peripherals.

Note
May be called periodically to handle all S11059 tasks
Returns
FctERR - error code
Here is the call graph for this function:

◆ S11059_Init_Sequence()

FctERR S11059_Init_Sequence ( S11059_t *const pCpnt)

Initialization Sequence for S11059 peripheral.

Weak Functions
S11059 Init sequence may be user implemented if custom initialization sequence needed
Parameters
[in]pCpnt- Pointer to S11059 component
Returns
FctERR - error code
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ S11059

S11059_t S11059[I2C_S11059_NB]
extern

S11059 User structure.