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.
bit_set.h@2:eeaee1039d50, 2019-09-09 (annotated)
- Committer:
- yosino_adati
- Date:
- Mon Sep 09 08:02:33 2019 +0000
- Revision:
- 2:eeaee1039d50
- Parent:
- 1:4b6bf9473b7d
- Child:
- 4:9b24dd4dff68
local variables
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yosino_adati | 0:e260b26ee5fb | 1 | /* |
yosino_adati | 0:e260b26ee5fb | 2 | This header can only be used for 8bit variables. |
yosino_adati | 0:e260b26ee5fb | 3 | */ |
yosino_adati | 0:e260b26ee5fb | 4 | |
yosino_adati | 0:e260b26ee5fb | 5 | #ifndef BIT_SET_H |
yosino_adati | 0:e260b26ee5fb | 6 | #define BIT_SET_H |
yosino_adati | 0:e260b26ee5fb | 7 | |
yosino_adati | 2:eeaee1039d50 | 8 | /*For global variables*/ |
yosino_adati | 2:eeaee1039d50 | 9 | void bitini(char var); |
yosino_adati | 2:eeaee1039d50 | 10 | void bitset(char var,int cons); |
yosino_adati | 2:eeaee1039d50 | 11 | void bitclear(char var,int cons); |
yosino_adati | 2:eeaee1039d50 | 12 | |
yosino_adati | 2:eeaee1039d50 | 13 | /*For local variables*/ |
yosino_adati | 2:eeaee1039d50 | 14 | void bit_ini(char* var); |
yosino_adati | 2:eeaee1039d50 | 15 | void bit_set(char* var,int cons); |
yosino_adati | 2:eeaee1039d50 | 16 | void bit_clear(char* var,int cons); |
yosino_adati | 2:eeaee1039d50 | 17 | |
yosino_adati | 2:eeaee1039d50 | 18 | /*For any variables*/ |
yosino_adati | 2:eeaee1039d50 | 19 | bool bitcheck(char var,int cons); |
yosino_adati | 0:e260b26ee5fb | 20 | |
yosino_adati | 0:e260b26ee5fb | 21 | #endif |