# modules/notestack/notestack.h File Reference

## Data Structures
union | notestack_item_t
struct | notestack_t
## Enumerations
enum | notestack_mode_t { NOTESTACK_MODE_PUSH_TOP = 0, NOTESTACK_MODE_PUSH_BOTTOM, NOTESTACK_MODE_PUSH_TOP_HOLD, NOTESTACK_MODE_PUSH_BOTTOM_HOLD, NOTESTACK_MODE_SORT, NOTESTACK_MODE_SORT_HOLD }
## Functions
s32 | NOTESTACK_Init (notestack_t *n, notestack_mode_t mode, notestack_item_t *note_items, u8 size)
s32 | NOTESTACK_Push (notestack_t *n, u8 new_note, u8 tag)
s32 | NOTESTACK_Pop (notestack_t *n, u8 old_note)
s32 | NOTESTACK_CountActiveNotes (notestack_t *n)
s32 | NOTESTACK_RemoveNonActiveNotes (notestack_t *n)
s32 | NOTESTACK_Clear (notestack_t *n)
s32 | NOTESTACK_SendDebugMessage (notestack_t *n)

## Enumeration Type Documentation

enum notestack_mode_t

Enumerator:

  NOTESTACK_MODE_PUSH_TOP |
  NOTESTACK_MODE_PUSH_BOTTOM |
  NOTESTACK_MODE_PUSH_TOP_HOLD |
  NOTESTACK_MODE_PUSH_BOTTOM_HOLD |
  NOTESTACK_MODE_SORT |
  NOTESTACK_MODE_SORT_HOLD |