Select Page

Atomthread Data Structure Reference

atom_mutex Struct Reference

#include "atommutex.h"

Data Fields

ATOM_TCB * suspQ
ATOM_TCB * owner
uint8_t count

Field Documentation

uint8_t atom_mutex::count
Referenced by atomMutexCreate(), atomMutexGet(), and atomMutexPut().
ATOM_TCB* atom_mutex::owner
Referenced by atomMutexCreate(), atomMutexGet(), and atomMutexPut().
ATOM_TCB* atom_mutex::suspQ
Referenced by atomMutexCreate(), atomMutexDelete(), atomMutexGet(), and atomMutexPut().

atom_queue Struct Reference

#include "atomqueue.h"

Data Fields

ATOM_TCB * putSuspQ
ATOM_TCB * getSuspQ
uint8_t * buff_ptr
uint32_t unit_size
uint32_t max_num_msgs
uint32_t insert_index
uint32_t remove_index
uint32_t num_msgs_stored

Field Documentation

uint8_t* atom_queue::buff_ptr
Referenced by atomQueueCreate().
ATOM_TCB* atom_queue::getSuspQ
Referenced by atomQueueCreate(), atomQueueDelete(), and atomQueueGet().v uint32_t atom_queue::insert_index
Referenced by atomQueueCreate().
uint32_t atom_queue::max_num_msgs
Referenced by atomQueueCreate(), and atomQueuePut().
uint32_t atom_queue::num_msgs_stored
Referenced by atomQueueCreate(), atomQueueGet(), and atomQueuePut().
ATOM_TCB* atom_queue::putSuspQ
Referenced by atomQueueCreate(), atomQueueDelete(), and atomQueuePut().
uint32_t atom_queue::remove_index
Referenced by atomQueueCreate().
uint32_t atom_queue::unit_size
Referenced by atomQueueCreate().

atom_sem Struct Reference

#include "atomsem.h"

Data Fields

ATOM_TCB * suspQ
uint8_t count

Field Documentation

uint8_t atom_sem::count
Referenced by atomSemCreate(), atomSemGet(), atomSemPut(), and atomSemResetCount().
ATOM_TCB* atom_sem::suspQ
Referenced by atomSemCreate(), atomSemDelete(), atomSemGet(), and atomSemPut()

atom_tcb Struct Reference

#include "atom.h"

Data Fields

POINTER sp_save_ptr
uint8_t priority
void(* entry_point )(uint32_t)
uint32_t entry_param
struct atom_tcb * prev_tcb
struct atom_tcb * next_tcbv uint8_t suspended
uint8_t suspend_wake_status
ATOM_TIMER * suspend_timo_cb

Field Documentation

uint32_t atom_tcb::entry_param
Referenced by atomThreadCreate().v void(* atom_tcb::entry_point)(uint32_t)
Referenced by atomThreadCreate().
struct atom_tcb* atom_tcb::next_tcb [read]
Referenced by atomThreadCreate(), tcbDequeueEntry(), tcbDequeueHead(), tcbDequeuePriority(), and tcbEnqueuePriority().
struct atom_tcb* atom_tcb::prev_tcb [read]
Referenced by atomThreadCreate(), tcbDequeueEntry(), tcbDequeueHead(), tcbDequeuePriority(), and tcbEnqueuePriority().
uint8_t atom_tcb::priority
Referenced by atomSched(), atomThreadCreate(), and tcbEnqueuePriority().
POINTER atom_tcb::sp_save_ptr
ATOM_TIMER* atom_tcb::suspend_timo_cb
Referenced by atomMutexDelete(), atomMutexGet(), atomMutexPut(), atomQueueDelete(), atomQueueGet(), atomQueuePut(), atomSemDelete(), atomSemGet(), atomSemPut(), atomThreadCreate(), and atomTimerDelay().
uint8_t atom_tcb::suspend_wake_status
Referenced by atomMutexDelete(), atomMutexGet(), atomMutexPut(), atomQueueDelete(), atomQueueGet(), atomQueuePut(), atomSemDelete(), atomSemGet(), and atomSemPut().
uint8_t atom_tcb::suspended
Referenced by atomMutexGet(), atomQueueGet(), atomQueuePut(), atomSched(), atomSemGet(), atomThreadCreate(), and atomTimerDelay().

atom_timer Struct Reference

#include "atomtimer.h"

Data Fields

TIMER_CB_FUNC cb_func
POINTER cb_data
uint32_t cb_ticks
struct atom_timer * next_timer

Field Documentation

POINTER atom_timer::cb_data
Referenced by atomMutexGet(), atomQueueGet(), atomQueuePut(), atomSemGet(), and atomTimerDelay().
TIMER_CB_FUNC atom_timer::cb_func
Referenced by atomMutexGet(), atomQueueGet(), atomQueuePut(), atomSemGet(), atomTimerDelay(), and atomTimerRegister().
uint32_t atom_timer::cb_ticks
Referenced by atomMutexGet(), atomQueueGet(), atomQueuePut(), atomSemGet(), atomTimerDelay(), and atomTimerRegister().
struct atom_timer* atom_timer::next_timer [read]
Referenced by atomTimerCancel(), and atomTimerRegister().

delay_timer Struct Reference

Data Fields

ATOM_TCB * tcb_ptr

Field Documentation

ATOM_TCB* delay_timer::tcb_ptr
Referenced by atomTimerDelay().

mutex_timer Struct Reference

Data Fields

ATOM_TCB * tcb_ptr
ATOM_MUTEX * mutex_ptr

Field Documentation

ATOM_MUTEX* mutex_timer::mutex_ptr
Referenced by atomMutexGet().
ATOM_TCB* mutex_timer::tcb_ptr
Referenced by atomMutexGet().

queue_timer Struct Reference

Data Fields

ATOM_TCB * tcb_ptr
ATOM_QUEUE * queue_ptr
ATOM_TCB ** suspQ

Field Documentation

ATOM_QUEUE* queue_timer::queue_ptr
Referenced by atomQueueGet(), and atomQueuePut().
ATOM_TCB** queue_timer::suspQ
Referenced by atomQueueGet(), and atomQueuePut().
ATOM_TCB* queue_timer::tcb_ptr
Referenced by atomQueueGet(), and atomQueuePut().

sem_timer Struct Reference

Data Fields

ATOM_TCB * tcb_ptr
ATOM_SEM * sem_ptr

Field Documentation

ATOM_SEM* sem_timer::sem_ptr
Referenced by atomSemGet().
ATOM_TCB* sem_timer::tcb_ptr
Referenced by atomSemGet()