ctr_mcu/snake_trunk/incs_loader.h

50 lines
1.1 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ========================================================
 ピン状態はvolatileなのでタイミング依存で期待しない動作になるのを回避 
Hardware abstruct layer
$Id: asdf$
======================================================== */
#ifndef _WIN32
#pragma SFR
#pragma di
#pragma ei
#pragma nop
#pragma stop
#pragma halt
#pragma section @@CODE LDR_CODE
#pragma section @@CODEL LDR_CODL
//#pragma section @@R_INIT FSL_RINT // これやるとスタートアップルーチンが初期値を
//#pragma section @@CNST FSL_CNST // セットしてくれない
#pragma section @@CNSTL LDR_CNSL
#endif
# ifdef _WIN32
// VCの赤線をどうにかする
#include "sim/simOnWin.h"
# endif
//=========================================================
#include "jhl_defs.h"
#include "config.h"
#include "user_define.h"
#include "hal.h"
#include "bsr_system.h"
#include "renge\renge.h"
#include "vreg_ctr.h"
#include "vreg_twl.h"
//=========================================================
void firm_update( );
void firm_restore( );