Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

None.

Example Usage

Code Block
titleOSTaskSemPost() example usage
          OS_TCB       CommRxTaskTCB;
           
           
          void CommTaskRx (void *p_arg)
          {
              OS_ERR      err;
              OS_SEM_CTR  ctr;
           
           
              (void)&p_arg;
              while (DEF_ON) {
                  :
                  ctr = OSTaskSemPost(&CommRxTaskTCB,
                                       OS_OPT_POST_NONE,
                                      &err);
                  /* Check "err" */
                  :
                  :
              }
          }

...