コード例 #1
0
ファイル: hal_map.c プロジェクト: jprothwell/sc-fix
// =============================================================================
// hal_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID hal_RegisterYourself(VOID)
{
    // Put chip name (ID) in the field "number" of the version.
    g_halMapVersion.number = CHIP_ASIC_ID;
    
    hal_MapEngineRegisterModule(HAL_MAP_ID_HAL, &g_halMapVersion, &g_halMapAccess);
}
コード例 #2
0
ファイル: rfd_map.c プロジェクト: jprothwell/sc-fix
// =============================================================================
// rfd_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID rfd_RegisterYourself(VOID)
{
    // Put transceiver name (ID) in the field "number" of the version.
    g_rfdMapVersion.number = rfd_XcvCalibGetDefault()->palcust.name;
    
    hal_MapEngineRegisterModule(HAL_MAP_ID_RFD, &g_rfdMapVersion, &g_rfdMapAccess);
}
コード例 #3
0
ファイル: hal_map.c プロジェクト: BarryChen/RDA
// =============================================================================
// hal_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID hal_RegisterYourself(VOID)
{
    hal_MapEngineRegisterModule(HAL_MAP_ID_HAL, &g_halMapVersion, &g_halMapAccess);
}
コード例 #4
0
ファイル: sx_map.c プロジェクト: jprothwell/sc-fix
// =============================================================================
// sx_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID sx_RegisterYourself(VOID)
{
    hal_MapEngineRegisterModule(HAL_MAP_ID_SX, &g_sxMapVersion, &g_sxMapAccess);
}
コード例 #5
0
ファイル: dll_map.c プロジェクト: jprothwell/sc-fix
// =============================================================================
// dll_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID dll_RegisterYourself(VOID)
{
    hal_MapEngineRegisterModule(HAL_MAP_ID_PAL, &g_dllMapVersion, &g_dllMapAccess);

   dl_envInit();
}
コード例 #6
0
ファイル: mdi_map.c プロジェクト: hnhkj/RDA
// =============================================================================
// mdi_RegisterYourself
// -----------------------------------------------------------------------------
/// This function registers the module itself to HAL so that the version and
/// the map accessor are filled. Then, the CSW get version function and the
/// CoolWatcher get version command will work.
// =============================================================================
PUBLIC VOID mdi_RegisterYourself(VOID)
{
	g_mdiMapVersion.string=MDI_BEIJING_VERSION_STRING;
    	hal_MapEngineRegisterModule(HAL_MAP_ID_MDI, &g_mdiMapVersion, &g_mdiMapAccess);
}