# modules/scs/scs.c File Reference

`#include <mios32.h>`
`#include <string.h>`
`#include "scs.h"`
`#include "scs_lcd.h"`

## Defines
#define | SCS_MAX_STR (SCS_LCD_MAX_COLUMNS+50)
## Functions
s32 | SCS_Init (u32 mode)
s32 | SCS_NumMenuItemsGet (void)
s32 | SCS_NumMenuItemsSet (u8 num_items)
s32 | SCS_PinSet (u8 pin, u8 depressed)
s32 | SCS_PinGet (u8 pin)
s32 | SCS_AllPinsSet (u16 newState)
s32 | SCS_AllPinsGet (void)
s32 | SCS_EncButtonUpdate_Tick (void)
s32 | SCS_ENC_MENU_NotifyChange (s32 incrementer)
s32 | SCS_ENC_MENU_AutoSpeedSet (u16 maxValue)
s32 | SCS_DIN_NotifyToggle (u8 pin, u8 depressed)
s32 | SCS_Tick (void)
s32 | SCS_InstallRoot (scs_menu_page_t *_rootTable, u8 numItems)
s32 | SCS_InstallDisplayHook (s32(*stringFunct)(char *line1, char *line2))
s32 | SCS_InstallEncHook (s32(*encFunct)(s32 incrementer))
s32 | SCS_InstallButtonHook (s32(*buttonFunct)(u8 scsButton, u8 depressed))
s32 | SCS_DisplayUpdateRequest (void)
s32 | SCS_DisplayUpdateInMainPage (u8 enable)
scs_menu_state_t | SCS_MenuStateGet (void)
scs_menu_item_t * | SCS_MenuPageGet (void)
s32 | SCS_ChangePage (scs_menu_item_t *page)
s32 | SCS_ShowSelectedItem (u8 itemNum)
s32 | SCS_Msg (scs_msg_type_t msgType, u16 delay, char *line1, char *line2)
s32 | SCS_MsgStop (void)
s32 | SCS_InstallDelayedActionCallback (void(*callback)(u32 parameter), u16 delay_mS, u32 parameter)
s32 | SCS_UnInstallDelayedActionCallback (void(*callback)(u32 parameter))
s32 | SCS_InstallEditStringCallback (void(*selectCallback)(char *newString), char *actionString, char *initialString, u8 maxChars)
s32 | SCS_InstallEditIpCallback (void(*selectCallback)(u32 newIp), char *headerString, u32 initialIp)
s32 | SCS_InstallEditBrowserCallback (void(*selectCallback)(char *newString), u8(*getListCallback)(u8 offset, char *line), char *actionString, u8 itemWidth, u8 itemsPerPage)