📄 smtportmapping.c
字号:
//******************************************************************
//
// Copyright (C) 2005. GENESIS MICROCHIP INC.
// All rights reserved. No part of this program may be reproduced
//
// Genesis Microchip Inc., 165 Commerce Valley Dr. West
// Thornhill, Ontario, Canada, L3T 7V8
//
//================================================================
//
// MODULE: SMT_PortMapping.c
//
//******************************************************************
#include "inc\all.h"
#if USE_SMT
//*************************************************************************
// Streaming Message Transport Protocol PortID <-> Handler mapping
//*************************************************************************
// IMPORTANT!
// To add a new port handling 3 parts should be modified
// 1. Table SMT_Port2HandlerTable below
// 2. Type SMT_Port_t in SMT.h
// 3. Define SMT_MAX_BUF_SIZE in SMT.h
SMT_PortMapping_t ROM SMT_Port2HandlerTable[ ] = // SMT_NUM_PORT_MAPPED
{
#if USE_ACM_3D
{ SMTPORT_ACM3, (FPT_SMT_MsgHandler)ACM3_SMT_MsgHandler },
#endif
// end mark of the table, make all additions to table before this line
{ MAX_SMTPORT, NULL_PTR }
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -