TI-OpenThread  1.08.03.09
Functions | Variables
CC26X2R1_LAUNCHXL/thread/thermostat/otsupport/otrtosapi.c File Reference

Detailed Description

This file contains the implementation of the stack protective mutex.

#include "otrtosapi.h"
#include <assert.h>
#include <stdint.h>
#include <semaphore.h>
+ Include dependency graph for CC26X2R1_LAUNCHXL/thread/thermostat/otsupport/otrtosapi.c:

Functions

void OtRtosApi_init (void)
 
void OtRtosApi_lock (void)
 
void OtRtosApi_unlock (void)
 

Variables

static sem_t OtRtosApi_sem
 

Function Documentation

§ OtRtosApi_init()

void OtRtosApi_init ( void  )

Initialize the RTOS mutex protecting the OpenThread APIs.

Documented in ot_rtos_api.h.

References OtRtosApi_sem.

§ OtRtosApi_lock()

void OtRtosApi_lock ( void  )

Lock the OpenThread Stack mutex.

Documented in ot_rtos_api.h.

References OtRtosApi_sem.

§ OtRtosApi_unlock()

void OtRtosApi_unlock ( void  )

Unlock the OpenThread Stack mutex.

Documented in ot_rtos_api.h.

References OtRtosApi_sem.

Variable Documentation

§ OtRtosApi_sem

sem_t OtRtosApi_sem
static
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale