Macros | Functions
onewire.c File Reference
#include <ti/devices/msp432e4/inc/msp432e411y.h>
#include "types.h"
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_onewire.h"
#include "inc/hw_sysctl.h"
#include "debug.h"
#include "interrupt.h"
#include "onewire.h"
#include "sysctl.h"

Macros

#define ONEWIRE_TXN_MASK
 
#define ONEWIRE_TXN_SIZE_LSHIFT   3
 
#define ONEWIRE_TXN_BSIZE_LSHIFT   16
 

Functions

void OneWireInit (uint32_t ui32Base, uint32_t ui32InitFlags)
 
void OneWireBusReset (uint32_t ui32Base)
 
uint32_t OneWireBusStatus (uint32_t ui32Base)
 
void OneWireDataGet (uint32_t ui32Base, uint32_t *pui32Data)
 
bool OneWireDataGetNonBlocking (uint32_t ui32Base, uint32_t *pui32Data)
 
void OneWireIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void OneWireIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
void OneWireIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
 
uint32_t OneWireIntStatus (uint32_t ui32Base, bool bMasked)
 
void OneWireIntRegister (uint32_t ui32Base, void(*pfnHandler)(void))
 
void OneWireIntUnregister (uint32_t ui32Base)
 
void OneWireDMADisable (uint32_t ui32Base, uint32_t ui32DMAFlags)
 
void OneWireDMAEnable (uint32_t ui32Base, uint32_t ui32DMAFlags)
 
void OneWireTransaction (uint32_t ui32Base, uint32_t ui32OpMode, uint32_t ui32Data, uint32_t ui32BitCnt)
 
Copyright 2017, Texas Instruments Incorporated