44 #ifndef BSP430_UTILITY_ONEWIRE_H
45 #define BSP430_UTILITY_ONEWIRE_H
234 #define BSP430_ONEWIRE_xCel_TO_ddegF(xcel_) (320 + ((9 * (xcel_)) / 8))
247 #define BSP430_ONEWIRE_xCel_TO_dK(xcel_) ((21852U + 5U * (xcel_)) / 8U)
unsigned char bit
Definition: onewire.h:54
hBSP430halPORT port
Definition: onewire.h:52
int iBSP430onewireReadBit_ni(const sBSP430onewireBus *bus)
struct sBSP430onewireSerialNumber sBSP430onewireSerialNumber
struct sBSP430onewireBus sBSP430onewireBus
int iBSP430onewireReadByte_ni(const sBSP430onewireBus *bus)
int iBSP430onewireReadTemperature_ni(const sBSP430onewireBus *bus, int *temp_xCel)
#define BSP430_CORE_INLINE
Definition: core.h:439
void vBSP430onewireWriteByte_ni(const sBSP430onewireBus *bus, int byte)
int iBSP430onewireComputeCRC(const unsigned char *data, int len)
int iBSP430onewireReadPowerSupply(const sBSP430onewireBus *bus)
Hardware presentation/abstraction for Digital I/O Port (PORT#/PORT#_R)
int iBSP430onewireReadSerialNumber(const sBSP430onewireBus *bus, sBSP430onewireSerialNumber *snp)
int iBSP430onewireReset_ni(const sBSP430onewireBus *bus)
static BSP430_CORE_INLINE int iBSP430onewireTemperatureReady_ni(const sBSP430onewireBus *bus)
Definition: onewire.h:204
int iBSP430onewireRequestTemperature_ni(const sBSP430onewireBus *bus)
void vBSP430onewireShutdown_ni(const sBSP430onewireBus *bus)