McMajan Library Pack  v 2.00
Improve your Arduino !
Ss_FastArduino.h File Reference
+ Include dependency graph for Ss_FastArduino.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FastdigitalWrite(a, b)   digitalWrite(a,b)
 
#define FastdigitalRead(a)   digitalRead(a)
 
#define FastshiftOut(a, b, d)   shiftOut(a,b,MSBFIRST,d)
 

Functions

void FastdigitalWrite (uint8_t, uint8_t)
 This function is designed to be a faster replace of original digitalWrite on AVR boards. More...
 
int FastdigitalRead (uint8_t)
 This function is designed to be a faster replace of original digitalRead on AVR boards. More...
 
void HPulse (uint8_t)
 Set digital pin to high, then to low. More...
 
void LPulse (uint8_t)
 Set digital pin to low, then to high. More...
 
void f1_FastdigitalPulse (uint8_t, uint8_t)
 
void FastshiftOut (uint8_t, uint8_t, uint8_t)
 
void FastDigitalPulse (uint8_t, uint8_t)
 This function does a pulse on a specificated pin Note: this function has improved performances only on avr board. More...
 
bool GetBitN (uint8_t *, unsigned int)
 This function return n bit from a buffer. More...
 
void SetBitN (uint8_t *, unsigned int, bool)
 Questa funzione setta l'n-esimo bit del buffer buff (0-n) (il singolo byte è riempito da destra a sinistra) con il valore val (0 o 1) More...
 
int Mc_FreeRam ()
 Calculate free RAM This function Works only on AVR microcontrollers. More...
 
void f1_FastDigitalPulse (uint8_t, uint8_t)
 

Macro Definition Documentation

§ FastdigitalRead

#define FastdigitalRead (   a)    digitalRead(a)

Definition at line 52 of file Ss_FastArduino.h.

§ FastdigitalWrite

#define FastdigitalWrite (   a,
 
)    digitalWrite(a,b)

Definition at line 51 of file Ss_FastArduino.h.

§ FastshiftOut

#define FastshiftOut (   a,
  b,
 
)    shiftOut(a,b,MSBFIRST,d)

Definition at line 53 of file Ss_FastArduino.h.

Function Documentation

§ f1_FastdigitalPulse()

void f1_FastdigitalPulse ( uint8_t  ,
uint8_t   
)

§ f1_FastDigitalPulse()

void f1_FastDigitalPulse ( uint8_t  ,
uint8_t   
)

Definition at line 54 of file Ss_FastArduino.cpp.

§ FastDigitalPulse()

void FastDigitalPulse ( uint8_t  ,
uint8_t   
)

This function does a pulse on a specificated pin Note: this function has improved performances only on avr board.

Parameters
pinis the digital in in which you want the pulse
valis the initial value. If you set true you have for firt an high value in the pin and then a low value.

§ FastdigitalRead()

int FastdigitalRead ( uint8_t  )

This function is designed to be a faster replace of original digitalRead on AVR boards.

Parameters
pinArduino pin
valpin status

§ FastdigitalWrite()

void FastdigitalWrite ( uint8_t  ,
uint8_t   
)

This function is designed to be a faster replace of original digitalWrite on AVR boards.

Parameters
pinArduino pin
valpin status

§ FastshiftOut()

void FastshiftOut ( uint8_t  ,
uint8_t  ,
uint8_t   
)

§ GetBitN()

bool GetBitN ( uint8_t *  buff,
unsigned int  Fbit 
)

This function return n bit from a buffer.

Parameters
buffis the buffer
Fbitis the bit you want to extract (for example bit 54 from a char buffer)
Returns
true or false

Definition at line 88 of file Ss_FastArduino.cpp.

§ HPulse()

void HPulse ( uint8_t  pin)

Set digital pin to high, then to low.

Parameters
pinis the digital pin to send the pulse.

Definition at line 76 of file Ss_FastArduino.cpp.

+ Here is the caller graph for this function:

§ LPulse()

void LPulse ( uint8_t  pin)

Set digital pin to low, then to high.

Parameters
pinis the digital pin to send the pulse.

Definition at line 66 of file Ss_FastArduino.cpp.

§ Mc_FreeRam()

int Mc_FreeRam ( )

Calculate free RAM This function Works only on AVR microcontrollers.

Returns
bytes of free RAM

Definition at line 121 of file Ss_FastArduino.cpp.

§ SetBitN()

void SetBitN ( uint8_t *  buff,
unsigned int  Fbit,
bool  val 
)

Questa funzione setta l'n-esimo bit del buffer buff (0-n) (il singolo byte è riempito da destra a sinistra) con il valore val (0 o 1)

This function sets n bit in a buffer

Parameters
buffis the buffer
Fbitis the bit you want to set (for example set bit 54 to tue)
valtrue or false

Definition at line 106 of file Ss_FastArduino.cpp.