Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
cubexHal.pdf
Скачиваний:
110
Добавлен:
10.02.2016
Размер:
16.16 Mб
Скачать

UM1725

HAL FMPI2C Extension Driver

24 HAL FMPI2C Extension Driver

24.1FMPI2CEx Firmware driver API description

24.1.1Extension features functions

This section provides functions allowing to:

Configure Noise Filters

This section contains the following APIs:

HAL_FMPI2CEx_AnalogFilter_Config()

HAL_FMPI2CEx_DigitalFilter_Config()

HAL_FMPI2CEx_EnableWakeUp()

HAL_FMPI2CEx_DisableWakeUp()

HAL_FMPI2CEx_EnableFastModePlus()

HAL_FMPI2CEx_DisableFastModePlus()

24.1.2HAL_FMPI2CEx_AnalogFilter_Config

Function Name

HAL_StatusTypeDef HAL_FMPI2CEx_AnalogFilter_Config

 

(FMPI2C_HandleTypeDef * hfmpi2c, uint32_t AnalogFilter)

Function Description

Configures FMPI2C Analog noise filter.

Parameters

 

hfmpi2c: : pointer to a FMPI2C_HandleTypeDef structure

 

 

that contains the configuration information for the specified

 

 

FMPI2Cx peripheral.

 

AnalogFilter: : new state of the Analog filter.

Return values

 

HAL status

24.1.3HAL_FMPI2CEx_DigitalFilter_Config

Function Name

HAL_StatusTypeDef HAL_FMPI2CEx_DigitalFilter_Config

 

(FMPI2C_HandleTypeDef * hfmpi2c, uint32_t DigitalFilter)

Function Description

Configures FMPI2C Digital noise filter.

Parameters

 

hfmpi2c: : pointer to a FMPI2C_HandleTypeDef structure

 

 

that contains the configuration information for the specified

 

 

FMPI2Cx peripheral.

 

DigitalFilter: : Coefficient of digital noise filter between 0x00

 

 

and 0x0F.

Return values

 

HAL status

24.1.4HAL_FMPI2CEx_EnableWakeUp

Function Name

HAL_StatusTypeDef HAL_FMPI2CEx_EnableWakeUp

 

 

(FMPI2C_HandleTypeDef * hfmpi2c)

 

Function Description

Enables FMPI2C wakeup from stop mode.

 

Parameters

hfmpi2c: : pointer to a FMPI2C_HandleTypeDef structure

 

that contains the configuration information for the specified

 

DOCID025834 Rev 2

347/900

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]