Atmel Software Framework

mmi.h File Reference

Macros

#define MMI_MAINTAINER_MODE   "Waiting for Host "
 

Enumerations

enum  eUserMenu {
  eUserMenuIdle = 0,
  eUserMenuIdleActing,
  eUserMenuWaitHost,
  eUserMenuUSBHost,
  eUserMenuUSBHostActing,
  eUserMenuUSBDevice
}
 

Functions

bool bMMI_start (void)
 Init MMI, for Man to Machine Interface management. More...
 
void vMMI_DisplayDateAndTime (portCHAR *pcDateTime)
 display Date in Date space More...
 
void vMMI_DisplayIP (portCHAR *IPAddress)
 display IP in Param space More...
 
void vMMI_DisplayUSBState (bool bConnected)
 display USB connection status. More...
 
void vMMI_Manage (void)
 MMI function for Man to Machine Interface management. More...
 
void vMMI_SetUserMenuMode (eUserMenu UserMenu, bool ResetCurrentState)
 set MMI current Menu More...
 
void vMMI_UserMenuDisplay (portCHAR *Message)
 display message in User Menu space More...
 
void vMMI_UserMenuDisplayNextItem (bool UnderIT)
 display next screen in User Menu space More...
 
void vMMI_UserMenuDisplayPreviousItem (bool UnderIT)
 display previous screen in User Menu space More...
 
void vMMI_UserMenuValidateItem (bool UnderIT)
 Validate the current item in User Menu. More...
 
void vMMI_UserMessDisplay (portCHAR *Message)
 display message in User Mess space More...
 

#define MMI_MAINTAINER_MODE   "Waiting for Host "

enum eUserMenu

types for User Menu screen

Enumerator
eUserMenuIdle 
eUserMenuIdleActing 
eUserMenuWaitHost 
eUserMenuUSBHost 
eUserMenuUSBHostActing 
eUserMenuUSBDevice 

bool bMMI_start ( void  )
void vMMI_DisplayDateAndTime ( portCHAR *  pcDateTime)

display Date in Date space

Parameters
pcDateTimeInput. date to display

References DateScreen, and xQueueSend.

Referenced by portTASK_FUNCTION().

void vMMI_DisplayIP ( portCHAR *  IPAddress)

display IP in Param space

Parameters
IPAddressInput. IP to display

References i, MMI_LINE_LENGTH, MMI_SPACE, ParamScreen, UserMenuScreen, and xQueueSend.

Referenced by prvEthernetConfigureInterface().

void vMMI_DisplayUSBState ( bool  bConnected)

display USB connection status.

Parameters
bConnectedInput. USB connection status.

References MMI_LINE_LENGTH, MMI_SPACE, MMI_USB_CONNECTED, ParamScreen, pdTRUE, and xQueueSend.

Referenced by portTASK_FUNCTION().

void vMMI_Manage ( void  )
void vMMI_SetUserMenuMode ( eUserMenu  UserMenu,
bool  ResetCurrentState 
)
void vMMI_UserMenuDisplay ( portCHAR *  Message)

display message in User Menu space

Parameters
MessageInput. Message to display

References eCurrentUserMenu, eUserMenuIdle, i, MMI_LINE_LENGTH, MMI_SPACE, UserMenuScreen, and xQueueSend.

void vMMI_UserMenuDisplayNextItem ( bool  UnderIT)
void vMMI_UserMenuDisplayPreviousItem ( bool  UnderIT)

display previous screen in User Menu space

Parameters
UnderITInput. True if calling from IT

References cMMI_SubMenu_CurrentItem, eCurrentUserMenu, eUserMenuIdle, eUserMenuUSBDevice, eUserMenuUSBHost, Max, MMI_IdleMenu, pdFALSE, portENTER_CRITICAL, portEXIT_CRITICAL, UserMenuScreen, xQueueSend, and xQueueSendFromISR.

Referenced by prvjoystick_ISR_NonNakedBehaviour().

void vMMI_UserMenuValidateItem ( bool  UnderIT)
void vMMI_UserMessDisplay ( portCHAR *  Message)

display message in User Mess space

Parameters
MessageInput. Message to display

References i, MMI_LINE_LENGTH, MMI_SPACE, UserMessScreen, and xQueueSend.

Referenced by bMMI_start(), and e_lcd_set_value().