This repository was archived by the owner on Jul 6, 2019. It is now read-only.
File tree 4 files changed +6
-3
lines changed
4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ This might be merged into generic timer interface. Systick is a bit specific in
20
20
terms of interrupts, but PT should make the difference negligible.
21
21
*/
22
22
23
+ /// A simple systick interface.
24
+ #[ experimental]
23
25
pub trait Systick {
24
26
/// Starts the systick timer.
25
27
fn start ( & self ) ;
Original file line number Diff line number Diff line change 13
13
// See the License for the specific language governing permissions and
14
14
// limitations under the License.
15
15
16
- /// Tasks scheduling and management.
16
+ //! Tasks scheduling and management.
17
17
18
18
pub mod scheduler;
19
19
pub mod stack;
Original file line number Diff line number Diff line change 13
13
// See the License for the specific language governing permissions and
14
14
// limitations under the License.
15
15
16
- /// Tasks stack management.
16
+ //! Tasks stack management.
17
17
18
18
/// StackManager provides scheduler with interface to manage task-specific stack
19
19
/// pointer.
Original file line number Diff line number Diff line change 13
13
// See the License for the specific language governing permissions and
14
14
// limitations under the License.
15
15
16
- /// Task structures.
16
+ //! Task structures.
17
17
18
18
use core:: kinds:: marker;
19
19
@@ -45,5 +45,6 @@ pub struct TasksIndex<'a> {
45
45
/// Current running task index.
46
46
pub current_task_index : u8 ,
47
47
48
+ /// Tasks are not copyable.
48
49
pub no_copy : marker:: NoCopy ,
49
50
}
You can’t perform that action at this time.
0 commit comments