MG32L003 Standard Peripherals Firmware Library
|
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 |
OWIRE Init Structure definition.
uint32_t BitRateCounter |
Specifies the Bit Rate Counter(us) which will be used to configure the bit rate.
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
uint32_t DataSize |
Specifies the OWIRE data size. This parameter can be a value of OWIRE_Data_Size
uint32_t DriveCounter |
Specifies the Drive Counter(us) which will be used to configure the time slot of driving.
uint32_t FirstBit |
Specifies whether data transfers start from MSB or LSB bit. This parameter can be a value of OWIRE_MSB_LSB_Transmission
uint32_t NoiseFilterClk |
Specifies the clock source of the noise filter. This parameter can be a value of OWIRE_Noise_Filter_Clock
uint32_t NoiseFilterEn |
Specifies whether the filter is enabled. This parameter can be a value of OWIRE_Noise_Filter_Enable
uint32_t PresencePulseCounter |
Specifies the Presence Pulse Counter(us) which will be used to configure the time slot of presense pulse.
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
uint32_t ReadSamplingCounter |
Specifies the Read Sampling Counter(us) which will be used to configure the time slot of read sampling.
uint32_t RecoverCounter |
Specifies the Recover Counter(us) which will be used to configure the time slot of recovering.
uint32_t ResetCounter |
Specifies the Reset Counter(us) which will be used to configure the time slot of reset.