AG903ライブラリリファレンス
Body Source
bscprm.h
本文ソース
コピコード
1: 8: 9: 13:
#ifndef
_BSCPRM_H_ 14:
#define
_BSCPRM_H_ 15: 16: 17:
#include
<stdint.h> 18:
#include
"lib_common/AG903_common.h" 19: 20:
#ifdef
__cplusplus 21:
extern
"C" { 22:
#endif
23: 24: 25:
#define
AG903_BSC_PBMODE_HOST
(0) 26: 27:
#define
AG903_BSC_PBMODE_DEVICE
(1) 28: 29:
#define
AG903_BSC_DTWIDTH_16
(0) 30: 31:
#define
AG903_BSC_DTWIDTH_32
(1) 32: 33:
#define
AG903_BSC_CFMODE_CF
(1) 34: 35:
#define
AG903_BSC_CFMODE_ATA
(2) 36: 37:
#define
AG903_BSC_POL_NEGATIVE
(0) 38: 39:
#define
AG903_BSC_POL_POSITIVE
(1) 40: 41: 44:
typedef
struct
_AG903_BSCPrmPbstat
{ 45: uint8_t ata_ctr; 46: uint8_t cf_ctr; 47: uint8_t bus_req; 48: uint8_t bus_grt; 49: uint8_t pbus_mode; 50: uint8_t bus_wid; 51: }
AG903_BSCPrmPbstat
; 52: 53: 54:
void
AG903_BSCPrmGetPbstat
(
AG903_BSCPrmPbstat
* stat); 55:
void
AG903_BSCPrmSetIntMask
(uint8_t mask); 56:
void
AG903_BSCPrmGetIntMask
(uint8_t* mask); 57:
void
AG903_BSCPrmSetIntMode
(uint8_t mode); 58:
void
AG903_BSCPrmGetIntMode
(uint8_t* mode); 59:
void
AG903_BSCPrmSetIntPol
(uint8_t pol); 60:
void
AG903_BSCPrmGetIntPol
(uint8_t* pol); 61:
void
AG903_BSCPrmSetIntClr
(uint8_t clr); 62:
void
AG903_BSCPrmSetCfMode
(uint8_t mode); 63:
void
AG903_BSCPrmGetCfMode
(uint8_t* mode); 64:
void
AG903_BSCPrmSetDmaPol
(uint8_t req, uint8_t ack); 65:
void
AG903_BSCPrmGetDmaPol
(uint8_t* req, uint8_t* ack); 66:
void
AG903_BSCPrmSetCfpmCmd
(uint8_t slp, uint8_t act, uint8_t cmd); 67:
void
AG903_BSCPrmGetCfpmCmd
(uint8_t* slp, uint8_t* act); 68:
void
AG903_BSCPrmGetCfpmStat
(uint8_t* cd, uint8_t* stat); 69:
void
AG903_BSCPrmSetCfpmTon
(uint32_t cycle); 70:
void
AG903_BSCPrmGetCfpmTon
(uint32_t* cycle); 71:
void
AG903_BSCPrmSetCfpmTr0
(uint32_t cycle); 72:
void
AG903_BSCPrmGetCfpmTr0
(uint32_t* cycle); 73:
void
AG903_BSCPrmSetCfpmTr1
(uint32_t cycle); 74:
void
AG903_BSCPrmGetCfpmTr1
(uint32_t* cycle); 75:
void
AG903_BSCPrmSetCfpmTr2
(uint32_t cycle); 76:
void
AG903_BSCPrmGetCfpmTr2
(uint32_t* cycle); 77:
void
AG903_BSCPrmSetCfpmTpr
(uint32_t cycle); 78:
void
AG903_BSCPrmGetCfpmTpr
(uint32_t* cycle); 79: 80:
#ifdef
__cplusplus 81: } 82:
#endif
83:
#endif
84:
Copyright (c) 2017-2025 Axell Corporation. All rights reserved.
内容
|
インデックス
|
ホーム