MSP432E4 DriverLib API Guide  1.11.00.03
Macros | Functions
onewire.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for onewire.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ONEWIRE_INIT_SPD_STD   0x00000000
 
#define ONEWIRE_INIT_SPD_OD   0x00000020
 
#define ONEWIRE_INIT_READ_STD   0x00000000
 
#define ONEWIRE_INIT_READ_LATE   0x00000040
 
#define ONEWIRE_INIT_ATR   0x00000000
 
#define ONEWIRE_INIT_NO_ATR   0x00000080
 
#define ONEWIRE_INIT_STD_POL   0x00000000
 
#define ONEWIRE_INIT_ALT_POL   0x40000000
 
#define ONEWIRE_INIT_1_WIRE_CFG   0x00000000
 
#define ONEWIRE_INIT_2_WIRE_CFG   0x80000000
 
#define ONEWIRE_BUS_STATUS_BUSY   0x00000100
 
#define ONEWIRE_BUS_STATUS_NO_SLAVE   0x00000200
 
#define ONEWIRE_BUS_STATUS_STUCK   0x00000400
 
#define ONEWIRE_OP_RESET   0x00000001
 
#define ONEWIRE_OP_READ   0x00000002
 
#define ONEWIRE_OP_WRITE   0x00000004
 
#define ONEWIRE_DMA_BUS_RESET   0x00000001
 
#define ONEWIRE_DMA_OP_READ   0x00000002
 
#define ONEWIRE_DMA_OP_MULTI_WRITE   0x00000004
 
#define ONEWIRE_DMA_OP_MULTI_READ   0x00000006
 
#define ONEWIRE_DMA_MODE_SG   0x00000008
 
#define ONEWIRE_DMA_OP_SZ_8   0x00000000
 
#define ONEWIRE_DMA_OP_SZ_16   0x00000800
 
#define ONEWIRE_DMA_OP_SZ_32   0x00001800
 
#define ONEWIRE_INT_RESET_DONE   0x00000001
 
#define ONEWIRE_INT_OP_DONE   0x00000002
 
#define ONEWIRE_INT_NO_SLAVE   0x00000004
 
#define ONEWIRE_INT_STUCK   0x00000008
 
#define ONEWIRE_INT_DMA_DONE   0x00000010
 

Functions

void OneWireBusReset (uint32_t ui32Base)
 
uint32_t OneWireBusStatus (uint32_t ui32Base)
 
void OneWireDataGet (uint32_t u3i2Base, uint32_t *pui32Data)
 
bool OneWireDataGetNonBlocking (uint32_t ui32Base, uint32_t *pui32Data)
 
void OneWireDMADisable (uint32_t ui32Base, uint32_t ui32DMAFlags)
 
void OneWireDMAEnable (uint32_t ui32Base, uint32_t ui32DMAFlags)
 
void OneWireInit (uint32_t ui32Base, uint32_t ui32InitFlags)
 
void OneWireIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void OneWireIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void OneWireIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void OneWireIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void OneWireIntUnregister (uint32_t ui32Base)
 
uint32_t OneWireIntStatus (uint32_t ui32Base, bool bMasked)
 
void OneWireTransaction (uint32_t ui32Base, uint32_t ui32OpFlags, uint32_t ui32Data, uint32_t ui32BitCnt)
 
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale