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@1:4b6bf9473b7d, 2019-09-09 (annotated)
- Committer:
- yosino_adati
- Date:
- Mon Sep 09 07:46:09 2019 +0000
- Revision:
- 1:4b6bf9473b7d
- Parent:
- 0:e260b26ee5fb
- Child:
- 2:eeaee1039d50
ugoita
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 | 1:4b6bf9473b7d | 8 | void bit_ini(char var); |
yosino_adati | 1:4b6bf9473b7d | 9 | void bit_set(char var,int cons); |
yosino_adati | 1:4b6bf9473b7d | 10 | void bit_clear(char var,int cons); |
yosino_adati | 1:4b6bf9473b7d | 11 | bool bit_check(char var,int cons); |
yosino_adati | 1:4b6bf9473b7d | 12 | |
yosino_adati | 0:e260b26ee5fb | 13 | |
yosino_adati | 0:e260b26ee5fb | 14 | #endif |