Go to the source code of this file.
|
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) |
|
§ FastdigitalRead
#define FastdigitalRead |
( |
|
a | ) |
digitalRead(a) |
§ FastdigitalWrite
#define FastdigitalWrite |
( |
|
a, |
|
|
|
b |
|
) |
| digitalWrite(a,b) |
§ FastshiftOut
#define FastshiftOut |
( |
|
a, |
|
|
|
b, |
|
|
|
d |
|
) |
| shiftOut(a,b,MSBFIRST,d) |
§ f1_FastdigitalPulse()
void f1_FastdigitalPulse |
( |
uint8_t |
, |
|
|
uint8_t |
|
|
) |
| |
§ f1_FastDigitalPulse()
void f1_FastDigitalPulse |
( |
uint8_t |
, |
|
|
uint8_t |
|
|
) |
| |
§ 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
-
pin | is the digital in in which you want the pulse |
val | is 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
-
pin | Arduino pin |
val | pin status |
§ FastdigitalWrite()
void FastdigitalWrite |
( |
uint8_t |
, |
|
|
uint8_t |
|
|
) |
| |
This function is designed to be a faster replace of original digitalWrite on AVR boards.
- Parameters
-
pin | Arduino pin |
val | pin 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
-
buff | is the buffer |
Fbit | is 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
-
pin | is the digital pin to send the pulse. |
Definition at line 76 of file Ss_FastArduino.cpp.
§ LPulse()
void LPulse |
( |
uint8_t |
pin | ) |
|
Set digital pin to low, then to high.
- Parameters
-
pin | is the digital pin to send the pulse. |
Definition at line 66 of file Ss_FastArduino.cpp.
§ 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
-
buff | is the buffer |
Fbit | is the bit you want to set (for example set bit 54 to tue) |
val | true or false |
Definition at line 106 of file Ss_FastArduino.cpp.