| 
    Zephyr Project API 3.5.0
    
   A Scalable Open Source RTOS 
   | 
 
#include "test_fifo.h"Macros | |
| #define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) | 
| #define | LIST_LEN 2 | 
Functions | |
| K_FIFO_DEFINE (kfifo) | |
| TESTPOINT: init via K_FIFO_DEFINE.   | |
| static | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) | 
| static void | tfifo_put (struct k_fifo *pfifo) | 
| static void | tfifo_get (struct k_fifo *pfifo) | 
| static void | tIsr_entry_put (const void *p) | 
| static void | tIsr_entry_get (const void *p) | 
| static void | tThread_entry (void *p1, void *p2, void *p3) | 
| static void | tfifo_thread_thread (struct k_fifo *pfifo) | 
| static void | tfifo_thread_isr (struct k_fifo *pfifo) | 
| static void | tfifo_isr_thread (struct k_fifo *pfifo) | 
| static void | tfifo_is_empty (void *p) | 
| ZTEST (fifo_api_1cpu, test_fifo_thread2thread) | |
| Test thread to thread data passing via fifo.   | |
| ZTEST (fifo_api, test_fifo_thread2isr) | |
| Test isr to thread data passing via fifo.   | |
| ZTEST (fifo_api, test_fifo_isr2thread) | |
| Test thread to isr data passing via fifo.   | |
| ZTEST (fifo_api, test_fifo_is_empty_thread) | |
| Test empty fifo.   | |
| ZTEST (fifo_api, test_fifo_is_empty_isr) | |
| Test empty fifo in interrupt context.   | |
Variables | |
| struct k_fifo | fifo | 
| static fdata_t | data [2] | 
| static fdata_t | data_l [2] | 
| static fdata_t | data_sl [2] | 
| static struct k_thread | tdata | 
| static struct k_sem | end_sema | 
| #define LIST_LEN 2 | 
| #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) | 
| K_FIFO_DEFINE | ( | kfifo | ) | 
TESTPOINT: init via K_FIFO_DEFINE.
      
  | 
  static | 
      
  | 
  static | 
TESTPOINT: fifo get
      
  | 
  static | 
TESTPOINT: return false when data available
TESTPOINT: return true with data unavailable
      
  | 
  static | 
TESTPOINT: thread-isr data passing via fifo
      
  | 
  static | 
TESTPOINT: fifo put
TESTPOINT: fifo put list
TESTPOINT: fifo put slist
      
  | 
  static | 
TESTPOINT: isr-thread data passing via fifo
      
  | 
  static | 
TESTPOINT: thread-thread data passing via fifo
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
| struct k_fifo fifo | 
      
  | 
  static |