WB32L003 Standard Peripherals Firmware Library

成员变量
OWIRE_InitTypeDef结构体 参考
WB32L003_StdPeriph_Driver » OWIRE

OWIRE Init Structure definition 更多...

`#include <wb32l003_owire.h>`

## 成员变量
uint32_t | ClockDiv
uint32_t | FirstBit
uint32_t | DataSize
uint32_t | ReadMode
uint32_t | NoiseFilterEn
uint32_t | NoiseFilterClk
uint32_t | ResetCounter
uint32_t | PresencePulseCounter
uint32_t | BitRateCounter
uint32_t | DriveCounter
uint32_t | ReadSamplingCounter
uint32_t | RecoverCounter

## 详细描述

OWIRE Init Structure definition

## 结构体成员变量说明

## ◆ BitRateCounter

uint32_t BitRateCounter

Specifies the Bit Rate Counter(us) which will be used to configure the bit rate.

## ◆ ClockDiv

uint32_t ClockDiv

Specifies the prescaler value which will be used to configure the counter clock. This parameter can be a value of OWIRE_Clock_Divider

## ◆ DataSize

uint32_t DataSize

Specifies the OWIRE data size. This parameter can be a value of OWIRE_Data_Size

## ◆ DriveCounter

uint32_t DriveCounter

Specifies the Drive Counter(us) which will be used to configure the time slot of driving.

## ◆ FirstBit

uint32_t FirstBit

Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of OWIRE_MSB_LSB_Transmission

## ◆ NoiseFilterClk

uint32_t NoiseFilterClk

Specifies the clock source of the noise filter. This parameter can be a value of OWIRE_Noise_Filter_Clock

## ◆ NoiseFilterEn

uint32_t NoiseFilterEn

Specifies whether the filter is enabled. This parameter can be a value of OWIRE_Noise_Filter_Enable

## ◆ PresencePulseCounter

uint32_t PresencePulseCounter

Specifies the Presence Pulse Counter(us) which will be used to configure the time slot of presense pulse.

## ◆ ReadMode

uint32_t ReadMode

Specifies if the time of reading 0 is the same as writing 0. This parameter can be a value of OWIRE_Read_Mode

## ◆ ReadSamplingCounter

uint32_t ReadSamplingCounter

Specifies the Read Sampling Counter(us) which will be used to configure the time slot of read sampling.

## ◆ RecoverCounter

uint32_t RecoverCounter

Specifies the Recover Counter(us) which will be used to configure the time slot of recovering.

## ◆ ResetCounter

uint32_t ResetCounter

Specifies the Reset Counter(us) which will be used to configure the time slot of reset.

该结构体的文档由以下文件生成:

- wb32l003_owire.h