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

HAL FMPI2C Generic Driver

UM1725

23 HAL FMPI2C Generic Driver

23.1FMPI2C Firmware driver registers structures

23.1.1FMPI2C_InitTypeDef

Data Fields

uint32_t Timing

uint32_t OwnAddress1

uint32_t AddressingMode

uint32_t DualAddressMode

uint32_t OwnAddress2

uint32_t OwnAddress2Masks

uint32_t GeneralCallMode

uint32_t NoStretchMode

Field Documentation

uint32_t FMPI2C_InitTypeDef::Timing

Specifies the FMPI2C_TIMINGR_register value. This parameter calculated by referring to FMPI2C initialization section in Reference manual

uint32_t FMPI2C_InitTypeDef::OwnAddress1

Specifies the first device own address. This parameter can be a 7-bit or 10-bit address.

uint32_t FMPI2C_InitTypeDef::AddressingMode

Specifies if 7-bit or 10-bit addressing mode is selected. This parameter can be a value of FMPI2C_addressing_mode

uint32_t FMPI2C_InitTypeDef::DualAddressMode

Specifies if dual addressing mode is selected. This parameter can be a value of

FMPI2C_dual_addressing_mode

uint32_t FMPI2C_InitTypeDef::OwnAddress2

Specifies the second device own address if dual addressing mode is selected This parameter can be a 7-bit address.

uint32_t FMPI2C_InitTypeDef::OwnAddress2Masks

Specifies the acknoledge mask address second device own address if dual addressing mode is selected This parameter can be a value of

FMPI2C_own_address2_masks

uint32_t FMPI2C_InitTypeDef::GeneralCallMode

Specifies if general call mode is selected. This parameter can be a value of

FMPI2C_general_call_addressing_mode

uint32_t FMPI2C_InitTypeDef::NoStretchMode

Specifies if nostretch mode is selected. This parameter can be a value of

FMPI2C_nostretch_mode

23.1.2FMPI2C_HandleTypeDef

Data Fields

328/900

DOCID025834 Rev 2

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