This repository was archived by the owner on Jul 6, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 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
2020terms of interrupts, but PT should make the difference negligible.
2121*/
2222
23+ /// A simple systick interface.
24+ #[ experimental]
2325pub trait Systick {
2426 /// Starts the systick timer.
2527 fn start ( & self ) ;
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- /// Tasks scheduling and management.
16+ //! Tasks scheduling and management.
1717
1818pub mod scheduler;
1919pub mod stack;
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- /// Tasks stack management.
16+ //! Tasks stack management.
1717
1818/// StackManager provides scheduler with interface to manage task-specific stack
1919/// pointer.
Original file line number Diff line number Diff line change 1313// See the License for the specific language governing permissions and
1414// limitations under the License.
1515
16- /// Task structures.
16+ //! Task structures.
1717
1818use core:: kinds:: marker;
1919
@@ -45,5 +45,6 @@ pub struct TasksIndex<'a> {
4545 /// Current running task index.
4646 pub current_task_index : u8 ,
4747
48+ /// Tasks are not copyable.
4849 pub no_copy : marker:: NoCopy ,
4950}
You can’t perform that action at this time.
0 commit comments