|
I2C_Drivers (ARM) 1.1
SMFSW collection of HAL I2C Drivers for ARM
|
S11059 Driver extensions. More...
#include "S11059.h"
Functions | |
| FctERR | S11059_Set_ADC (S11059_t *const pCpnt, const S11059_adc_reset adc) |
| ADC Operation / Reset. | |
| FctERR | S11059_Set_Standby (S11059_t *const pCpnt, const S11059_standby_fct standby) |
| Set Standby / Operating mode. | |
| FctERR | S11059_Set_Gain (S11059_t *const pCpnt, const S11059_gain gain) |
| Set ADC gain. | |
| FctERR | S11059_Set_Integration (S11059_t *const pCpnt, const S11059_integ mode, const S11059_prescaler prescaler) |
| Set integration mode & prescaler. | |
| FctERR | S11059_Set_Integration_Multiplier (S11059_t *const pCpnt, const uint16_t mult) |
| Set S11059 integration multiplier (used when integration mode set to Manual) | |
| FctERR | S11059_Get_Standby (S11059_t *const pCpnt, S11059_standby_fct *const standby) |
| Get Standby function monitor. | |
| FctERR | S11059_Get_Channel (S11059_t *const pCpnt, uint16_t *const val, const S11059_chan chan) |
| Get Specific channel conversion. | |
S11059 Driver extensions.
S11059: I2C interface-compatible color sensor
| FctERR S11059_Get_Channel | ( | S11059_t *const | pCpnt, |
| uint16_t *const | val, | ||
| const S11059_chan | chan ) |
Get Specific channel conversion.
| [in] | pCpnt | - Pointer to S11059 component |
| [in,out] | val | - pointer to conversions result |
| [in] | chan | - Channel to get |

| FctERR S11059_Get_Standby | ( | S11059_t *const | pCpnt, |
| S11059_standby_fct *const | standby ) |
Get Standby function monitor.
| [in] | pCpnt | - Pointer to S11059 component |
| [in,out] | standby | - pointer to standby function result |

| FctERR S11059_Set_ADC | ( | S11059_t *const | pCpnt, |
| const S11059_adc_reset | adc ) |
ADC Operation / Reset.
| [in] | pCpnt | - Pointer to S11059 component |
| [in] | adc | - ADC mode |

| FctERR S11059_Set_Gain | ( | S11059_t *const | pCpnt, |
| const S11059_gain | gain ) |
Set ADC gain.
| [in] | pCpnt | - Pointer to S11059 component |
| [in] | gain | - Gain selection |

| FctERR S11059_Set_Integration | ( | S11059_t *const | pCpnt, |
| const S11059_integ | mode, | ||
| const S11059_prescaler | prescaler ) |
Set integration mode & prescaler.
| [in] | pCpnt | - Pointer to S11059 component |
| [in] | mode | - Fixed period / Manual integration |
| [in] | prescaler | - Integration time base (prescaler) |

| FctERR S11059_Set_Integration_Multiplier | ( | S11059_t *const | pCpnt, |
| const uint16_t | mult ) |
Set S11059 integration multiplier (used when integration mode set to Manual)
| [in] | pCpnt | - Pointer to S11059 component |
| [in] | mult | - Integration time multiplier value |

| FctERR S11059_Set_Standby | ( | S11059_t *const | pCpnt, |
| const S11059_standby_fct | standby ) |
Set Standby / Operating mode.
| [in] | pCpnt | - Pointer to S11059 component |
| [in] | standby | - standby mode |
