WB32L003 Standard Peripherals Firmware Library
函数
wb32l003_owire.c 文件参考

This file provides all the OWIRE firmware functions. 更多...

#include "wb32l003_owire.h"
#include "wb32l003_rcc.h"

函数

void OWIRE_DeInit (void)
 Deinitializes the OWIRE peripheral registers to their default reset values. 更多...
 
void OWIRE_Init (OWIRE_InitTypeDef *OWIRE_InitStruct)
 Initializes the OWIRE mode according to the specified parameters in the OWIRE_InitTypeDef and create the associated handler. 更多...
 
void OWIRE_Cmd (FunctionalState NewState)
 Enables or disables the specified OWIRE peripheral. 更多...
 
void OWIRE_ITConfig (uint32_t OWIRE_IT, FunctionalState NewState)
 Enables or disables the specified OWIRE interrupts. 更多...
 
uint8_t OWIRE_ReadData (void)
 Read one data from DATA register. 更多...
 
void OWIRE_WriteData (uint8_t Data)
 Write one data to DATA register. 更多...
 
void OWIRE_WriteCommand (uint8_t Command)
 Write command to CMD register. 更多...
 
FlagStatus OWIRE_GetFlagStatus (uint32_t OWIRE_FLAG)
 Checks whether the specified the OWIRE flag is set or not. 更多...
 
void OWIRE_ClearFlag (uint32_t OWIRE_FLAG)
 Clears the OWIRE's pending flags. 更多...
 
ITStatus OWIRE_GetITStatus (uint32_t OWIRE_IT)
 Checks whether the OWIRE interrupt has occurred or not. 更多...
 
void OWIRE_ClearITPendingBit (uint32_t OWIRE_IT)
 Clears the OWIRE's interrupt pending bits. 更多...
 

详细描述

This file provides all the OWIRE firmware functions.

作者
Westberry Application Team
版本
V0.0.4
日期
23-April-2023