Cordio Stack and Cordio Profiles  r2p3-02rel0
wsf_cs.h File Reference

Critical section macros. More...

Go to the source code of this file.

Macros

#define WSF_CS_STATS   FALSE
 Use CS statistics hooks.
 
#define WSF_CS_INIT(cs)
 Initialize critical section. This macro may define a variable. More...
 
#define WSF_CS_ENTER(cs)    WsfCsEnter()
 Enter a critical section. More...
 
#define WSF_CS_EXIT(cs)    WsfCsExit()
 Exit a critical section. More...
 

Typedefs

typedef bool_t(* WsfCsTimestamp_t) (uint32_t *)
 Timestamp call signature.
 
typedef uint32_t(* WsfCsTimebase_t) (uint32_t)
 Timestamp delta and time base converter call signature.
 

Functions

void WsfCsStatsRegister (WsfCsTimestamp_t timestampCback, WsfCsTimebase_t timebaseCback)
 Register critical section statistics hooks. More...
 
void WsfCsEnter (void)
 Enter a critical section. More...
 
void WsfCsExit (void)
 Enter a critical section. More...
 

Variables

uint16_t wsfCsStatsWatermarkUsec
 Statistics global for watermark of critical sections. Value is in microseconds.
 

Description

Critical section macros.

Copyright (c) 2009-2018 Arm Ltd. All Rights Reserved. Arm Ltd. confidential and proprietary.

IMPORTANT. Your use of this file is governed by a Software License Agreement ("Agreement") that must be accepted in order to download or otherwise receive a copy of this file. You may not use or copy this file for any purpose other than as described in the Agreement. If you do not agree to all of the terms of the Agreement do not use this file and delete all copies in your possession or control; if you do not have a copy of the Agreement, you must contact Arm Ltd. prior to any use, copying or further distribution of this software.

Definition in file wsf_cs.h.