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

UM1725

HAL DCMI Extension Driver

15.2.4HAL_DCMI_Init

Function Name

HAL_StatusTypeDef HAL_DCMI_Init (DCMI_HandleTypeDef *

 

hdcmi)

Function Description

Initializes the DCMI according to the specified parameters in the

 

DCMI_InitTypeDef and create the associated handle.

Parameters

 

hdcmi: pointer to a DCMI_HandleTypeDef structure that

 

 

contains the configuration information for DCMI.

Return values

 

HAL status

15.3DCMIEx Firmware driver defines

15.3.1

DCMIEx

 

 

DCMI Byte Select Mode

 

DCMI_BSM_ALL

Interface captures all received data

 

DCMI_BSM_OTHER

Interface captures every other byte from the received data

 

DCMI_BSM_ALTERNATE_4 Interface captures one byte out of four

 

DCMI_BSM_ALTERNATE_2 Interface captures two bytes out of four

 

DCMI Byte Select Start

 

 

DCMI_OEBS_ODD

Interface captures first data from the frame/line start, second one

 

 

being dropped

 

DCMI_OEBS_EVEN

Interface captures second data from the frame/line start, first one

 

 

being dropped

 

DCMI Line Select Mode

 

DCMI_LSM_ALL

Interface captures all received lines

 

DCMI_LSM_ALTERNATE_2 Interface captures one line out of two

 

DCMI Line Select Start

 

 

DCMI_OELS_ODD

Interface captures first line from the frame start, second one being

 

 

dropped

 

DCMI_OELS_EVEN

Interface captures second line from the frame start, first one being

 

 

dropped

DCMI Extended Private Macros

IS_DCMI_BYTE_SELECT_MODE

IS_DCMI_BYTE_SELECT_START

IS_DCMI_LINE_SELECT_MODE

IS_DCMI_LINE_SELECT_START

DOCID025834 Rev 2

235/900

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