Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: bit_set.h
- Revision:
- 2:eeaee1039d50
- Parent:
- 1:4b6bf9473b7d
- Child:
- 4:9b24dd4dff68
--- a/bit_set.h Mon Sep 09 07:46:09 2019 +0000 +++ b/bit_set.h Mon Sep 09 08:02:33 2019 +0000 @@ -5,10 +5,17 @@ #ifndef BIT_SET_H #define BIT_SET_H - void bit_ini(char var); - void bit_set(char var,int cons); - void bit_clear(char var,int cons); - bool bit_check(char var,int cons); - +/*For global variables*/ + void bitini(char var); + void bitset(char var,int cons); + void bitclear(char var,int cons); + +/*For local variables*/ + void bit_ini(char* var); + void bit_set(char* var,int cons); + void bit_clear(char* var,int cons); + +/*For any variables*/ + bool bitcheck(char var,int cons); #endif \ No newline at end of file