Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros
sch_int_rm.h File Reference

Internal scheduler resource manager interface file. More...

#include "sch_api.h"
#include "sch_api_ble.h"
#include "ll_math.h"
#include "cfg_mac_ble.h"
#include "pal_bb.h"

Go to the source code of this file.

Data Structures

struct  schRmRsvn_t
 Reservation descriptor. More...
 
struct  SchRmCb_t
 Scheduler resource manager control block. More...
 

Macros

#define SCH_RM_MAX_RSVN_PREF_PER   2 /* TODO allow run-time configuration */
 Maximum number of reservations per unit of preferred periodicity. More...
 
#define SCH_RM_DIV_PREF_PER(n)    ((uint32_t)(((uint64_t)(n) * UINT64_C(1717987)) >> 34))
 Binary divide by preferred periodicity (10,000us) (n[max]=2^32). More...
 
#define SCH_RM_MIN_OFFSET_UNIT_US   2500
 Minimum offset unit of reservation manager in microseconds. (Half of minimum isochronous interval) More...
 
#define SCH_RM_OFFSET_UNCOMMON_US   3750
 Default distance in microseconds between common reservation and uncommon reservation. More...
 
#define SCH_RM_MARGIN_UNCOMMON_US   50
 Margin in microseconds from the duration of the common reservation to uncommon reservation. More...
 
#define SCH_RM_MAX_SEARCH_DEPTH   4
 Maximum depth to be searched between intervals. (4 means 16 times(2^4) More...
 

Detailed Description

Internal scheduler resource manager interface file.

Copyright (c) 2013-2019 Arm Ltd. All Rights Reserved.

Copyright (c) 2019-2020 Packetcraft, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file sch_int_rm.h.

Macro Definition Documentation

#define SCH_RM_DIV_PREF_PER (   n)    ((uint32_t)(((uint64_t)(n) * UINT64_C(1717987)) >> 34))

Binary divide by preferred periodicity (10,000us) (n[max]=2^32).

Definition at line 46 of file sch_int_rm.h.

#define SCH_RM_MARGIN_UNCOMMON_US   50

Margin in microseconds from the duration of the common reservation to uncommon reservation.

Definition at line 55 of file sch_int_rm.h.

#define SCH_RM_MAX_RSVN_PREF_PER   2 /* TODO allow run-time configuration */

Maximum number of reservations per unit of preferred periodicity.

Definition at line 43 of file sch_int_rm.h.

#define SCH_RM_MAX_SEARCH_DEPTH   4

Maximum depth to be searched between intervals. (4 means 16 times(2^4)

Definition at line 58 of file sch_int_rm.h.

#define SCH_RM_MIN_OFFSET_UNIT_US   2500

Minimum offset unit of reservation manager in microseconds. (Half of minimum isochronous interval)

Definition at line 49 of file sch_int_rm.h.

#define SCH_RM_OFFSET_UNCOMMON_US   3750

Default distance in microseconds between common reservation and uncommon reservation.

Definition at line 52 of file sch_int_rm.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.