44 #ifndef BSPACM_UTILITY_ONEWIRE_H
45 #define BSPACM_UTILITY_ONEWIRE_H
283 int16_t * temp_xCel);
292 #define BSPACM_ONEWIRE_xCel_TO_dCel(xcel_) ((10 * (xcel_)) / 16)
300 #define BSPACM_ONEWIRE_xCel_TO_ddegF(xcel_) (320 + ((9 * (xcel_)) / 8))
313 #define BSPACM_ONEWIRE_xCel_TO_dK(xcel_) ((unsigned int)(21852U + 5U * (xcel_)) / 8U)
Definition: onewire.h:106
void vBSPACMonewireShutdown(hBSPACMonewireBus bus)
Definition: onewire_.h:50
void vBSPACMonewireParasitePower(hBSPACMonewireBus bus, bool powered)
Definition: onewire.h:116
static BSPACM_CORE_INLINE int iBSPACMonewireTemperatureReady(hBSPACMonewireBus bus)
Definition: onewire.h:261
struct sBSPACMonewireSerialNumber sBSPACMonewireSerialNumber
Common header included by all BSPACM leaf headers.
Implementation-specific support for onewire bus configurations on boards in the Nordic Semiconductor ...
int iBSPACMonewireReadTemperature(hBSPACMonewireBus bus, int16_t *temp_xCel)
const struct sBSPACMonewireBus * hBSPACMonewireBus
Definition: onewire.h:62
int iBSPACMonewireReadByte(hBSPACMonewireBus bus)
void vBSPACMonewireWriteByte(hBSPACMonewireBus bus, uint8_t byte)
int iBSPACMonewireReset(hBSPACMonewireBus bus)
Definition: onewire.h:127
int iBSPACMonewireRequestTemperature(hBSPACMonewireBus bus)
Definition: onewire.h:103
int iBSPACMonewireReadPowerSupply(hBSPACMonewireBus bus)
#define BSPACM_CORE_INLINE
Definition: core.h:65
Definition: onewire.h:113
int iBSPACMonewireReadBit(hBSPACMonewireBus bus)
int iBSPACMonewireReadSerialNumber(hBSPACMonewireBus bus, sBSPACMonewireSerialNumber *snp)
Definition: onewire.h:110
int iBSPACMonewireComputeCRC(const unsigned char *data, int len)