Microchip® Advanced Software Framework

app_config.h File Reference

These are application-specific resources which are used in the example application of the coordinator in addition to the underlaying stack.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "stack_config.h"
#include "tal_timer_config.h"
#include "mac_config.h"
#include "node_config.h"
#include "rf4ce.h"
#include "zrc.h"
#include "common_nvm.h"
#include "conf_nvm.h"

Macros

#define APP_CAPABILITIES
 
#define APP_USER_STRING   "My Target " /* 15 characters ! */
 
#define EE_IEEE_ADDR   (0)
 
#define IEEE_FLASH_OFFSET   (INT_FLASH_END - STACK_FLASH_SIZE + 1)
 
#define NUM_SUPPORTED_DEV_TYPES   (1)
 
#define NUM_SUPPORTED_PROFILES   (1)
 
#define NUMBER_OF_APP_TIMERS   (1)
 Defines the number of timers used by the application. More...
 
#define NUMBER_OF_LARGE_APP_BUFS   (0)
 Defines the number of additional large buffers used by the application. More...
 
#define NUMBER_OF_SMALL_APP_BUFS   (0)
 Defines the number of additional small buffers used by the application. More...
 
#define SUPPORTED_CEC_CMDS
 
#define SUPPORTED_DEV_TYPE_0   DEV_TYPE_TELEVISION
 
#define SUPPORTED_DEV_TYPE_1   DEV_TYPE_TELEVISION
 
#define SUPPORTED_DEV_TYPE_2   DEV_TYPE_TELEVISION
 
#define SUPPORTED_PROFILE_ID_0   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_1   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_2   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_3   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_4   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_5   PROFILE_ID_ZRC
 
#define SUPPORTED_PROFILE_ID_6   PROFILE_ID_ZRC
 
#define TOTAL_NUMBER_OF_BUFS
 
#define TOTAL_NUMBER_OF_LARGE_BUFS
 Defines the total number of large buffers used by the application and the layers below. More...
 
#define TOTAL_NUMBER_OF_SMALL_BUFS
 Defines the total number of small buffers used by the application and the layers below. More...
 
#define TOTAL_NUMBER_OF_TIMERS   (NUMBER_OF_APP_TIMERS + TOTAL_STACK_TIMERS)
 Defines the total number of timers used by the application and the layers below. More...
 
#define TOTAL_STACK_TIMERS
 
#define UART_MAX_RX_BUF_LENGTH   (200)
 Defines the UART receive buffer size. More...
 
#define UART_MAX_TX_BUF_LENGTH
 Defines the UART transmit buffer size. More...
 
#define USB_PID   (0x2018) /* RZ USB stick product ID */
 
#define USB_PRODUCT_NAME   L"RZUSBSTICK"
 
#define USB_RELEASE   { 0x00, 0x01 } /* 01.00 */
 
#define USB_RX_BUF_SIZE   (200)
 Defines the USB receive buffer size. More...
 
#define USB_STRING_SIZE   (10)
 
#define USB_TX_BUF_SIZE
 Defines the USB transmit buffer size. More...
 
#define USB_VENDOR_NAME   L"ATMEL"
 
#define USB_VID   (0x03EB) /* Atmel's USB vendor ID */
 
#define USER_STRING_AVAILABLE   true
 
#define WDT_TIMEOUT_PERIOD   WDT_TO_4S
 
#define WDT_WAKEUP_INTERVAL   WDT_TO_1S
 
#define WDT_WAKEUP_INTERVAL_US   (1000000) /* micro seconds */
 

#define APP_CAPABILITIES
Value:
(0x01 | \
#define NUM_SUPPORTED_DEV_TYPES
Definition: app_config.h:157
#define NUM_SUPPORTED_PROFILES
Definition: app_config.h:158

Referenced by run_zid_rec_connect_test().

#define APP_USER_STRING   "My Target " /* 15 characters ! */
#define EE_IEEE_ADDR   (0)

Referenced by tal_init().

#define IEEE_FLASH_OFFSET   (INT_FLASH_END - STACK_FLASH_SIZE + 1)
#define NUM_SUPPORTED_DEV_TYPES   (1)
#define NUM_SUPPORTED_PROFILES   (1)
#define NUMBER_OF_APP_TIMERS   (1)

Defines the number of timers used by the application.

#define NUMBER_OF_LARGE_APP_BUFS   (0)

Defines the number of additional large buffers used by the application.

#define NUMBER_OF_SMALL_APP_BUFS   (0)

Defines the number of additional small buffers used by the application.

#define SUPPORTED_CEC_CMDS
Value:
{0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00, \
0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, \
0x00}
#define SUPPORTED_DEV_TYPE_0   DEV_TYPE_TELEVISION
#define SUPPORTED_DEV_TYPE_1   DEV_TYPE_TELEVISION
#define SUPPORTED_DEV_TYPE_2   DEV_TYPE_TELEVISION
#define SUPPORTED_PROFILE_ID_0   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_1   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_2   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_3   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_4   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_5   PROFILE_ID_ZRC
#define SUPPORTED_PROFILE_ID_6   PROFILE_ID_ZRC
#define TOTAL_NUMBER_OF_BUFS
Value:
#define TOTAL_NUMBER_OF_LARGE_BUFS
Defines the total number of large buffers used by the application and the layers below.
Definition: app_config.h:84
#define TOTAL_NUMBER_OF_SMALL_BUFS
Defines the total number of small buffers used by the application and the layers below.
Definition: app_config.h:91
#define TOTAL_NUMBER_OF_LARGE_BUFS
Value:
#define NUMBER_OF_LARGE_STACK_BUFS
Definition: nwk_config.h:79
#define NUMBER_OF_LARGE_APP_BUFS
Defines the number of additional large buffers used by the application.
Definition: app_config.h:75

Defines the total number of large buffers used by the application and the layers below.

Referenced by bmm_buffer_init().

#define TOTAL_NUMBER_OF_SMALL_BUFS
Value:
#define NUMBER_OF_SMALL_STACK_BUFS
Definition: nwk_config.h:81
#define NUMBER_OF_SMALL_APP_BUFS
Defines the number of additional small buffers used by the application.
Definition: app_config.h:78

Defines the total number of small buffers used by the application and the layers below.

Referenced by bmm_buffer_init().

#define TOTAL_NUMBER_OF_TIMERS   (NUMBER_OF_APP_TIMERS + TOTAL_STACK_TIMERS)

Defines the total number of timers used by the application and the layers below.

#define TOTAL_STACK_TIMERS
Value:
#define NUMBER_OF_MAC_TIMERS
Definition: mac_config.h:112
#define NUMBER_OF_TAL_TIMERS
Definition: tal_timer_config.h:105
#define NUMBER_OF_NWK_TIMERS
Definition: nwk_config.h:75
#define UART_MAX_RX_BUF_LENGTH   (200)

Defines the UART receive buffer size.

#define UART_MAX_TX_BUF_LENGTH
Value:
(200) /* @ToDo size? same as
* SIO_TX_BUF_SIZE */

Defines the UART transmit buffer size.

#define USB_PID   (0x2018) /* RZ USB stick product ID */
#define USB_PRODUCT_NAME   L"RZUSBSTICK"
#define USB_RELEASE   { 0x00, 0x01 } /* 01.00 */
#define USB_RX_BUF_SIZE   (200)

Defines the USB receive buffer size.

#define USB_STRING_SIZE   (10)
#define USB_TX_BUF_SIZE
Value:
(200) /* @ToDo size? same as
* SIO_TX_BUF_SIZE */

Defines the USB transmit buffer size.

#define USB_VENDOR_NAME   L"ATMEL"
#define USB_VID   (0x03EB) /* Atmel's USB vendor ID */
#define USER_STRING_AVAILABLE   true
#define WDT_TIMEOUT_PERIOD   WDT_TO_4S
#define WDT_WAKEUP_INTERVAL   WDT_TO_1S
#define WDT_WAKEUP_INTERVAL_US   (1000000) /* micro seconds */