Sensorian  1.0
C API Reference Guide Library
Utilities.c File Reference

Utilities driver. More...

#include "Utilities.h"

Go to the source code of this file.

Functions

void delay_ms (unsigned int ms)
 Delay in ms. More...
 
void pinModeOutput (PIN_t pin)
 Configures the given pin as output. More...
 
void digitalWrite (PIN_t pin, unsigned char level)
 Write a logic level to the pin. The pin should be confgured as output. More...
 
PinLevel_t ReadPinStatus (PIN_t pin)
 Configures the pins as input and returns the pin status. More...
 
void EnableDetectRisingEdge (PIN_t pin)
 Enables detection of rising edge. More...
 
void DisableDetectRisingEdge (PIN_t pin)
 Disables detection of rising edge. More...
 
void EnableDetectFallingEdge (PIN_t pin)
 Enables detection of falling edge. More...
 
void DisableDetectFallinggEdge (PIN_t pin)
 Dsiables detection of falling edge. More...
 
void EnableDetectHighLevel (PIN_t pin)
 Enables detection of high level on pin. More...
 
void DisableDetectHighLevel (PIN_t pin)
 Disables detection of high level. More...
 
void EnableDetectLowLevel (PIN_t pin)
 Enables detection of low level. More...
 
void DisableDetectLowLevel (PIN_t pin)
 Disables detection of low level. More...
 
void EnableDetectRisingInterrupt (PIN_t pin)
 Enables detection of rising edge interrupt. More...
 
void DisableDetectRisingInterrupt (PIN_t pin)
 Disables detection of rising edge interrupt. More...
 
unsigned char CheckPinforEvent (PIN_t pin)
 Checks fro even on given pin. More...
 

Detailed Description

Utilities driver.

Author
D.Qendri
Date
30 May 2015

Definition in file Utilities.c.