MG32L003 Standard Peripherals Firmware Library
Data Fields
OWIRE_InitTypeDef Struct Reference

OWIRE Init Structure definition. More...

#include <mg32l003_owire.h>

Data Fields

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
 

Detailed Description

OWIRE Init Structure definition.

Field Documentation

◆ 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.


The documentation for this struct was generated from the following file: