|
#define | DRV_BISSM_INST 0 |
|
#define | DRV_BISSM_CTRL_CHN_CNT 8 |
|
#define | DRV_BISSM_CTRL_REG_CNT 64 |
|
#define | DRV_BISSM_INSTR_CDM1 0x1UL |
|
#define | DRV_BISSM_INSTR_CDM0 0x2UL |
|
#define | DRV_BISSM_INSTR_REGCOM 0x4UL |
|
#define | DRV_BISSM_INSTR_REGCOM_REDUCE 0x7UL |
|
#define | DRV_BISSM_CC_SL_CFG_BISS_B 0x0 |
|
#define | DRV_BISSM_CC_SL_CFG_BISS_C 0x1 |
|
#define | DRV_BISSM_CC_SL_CFG_SSI 0x2 |
|
#define | _HW_CONCAT(a, b) a ## b |
|
#define | HW_MSK(bf) _HW_CONCAT(MSK_NX90_, bf) |
|
#define | HW_SRT(bf) _HW_CONCAT(SRT_NX90_, bf) |
|
#define | HW_DFLT_BF_VAL(bf) _HW_CONCAT(DFLT_BF_VAL_NX90_, bf) |
|
#define | HW_DFLT_VAL(reg) _HW_CONCAT(DFLT_VAL_NX90_, reg) |
|
#define | HW_REGADR(reg) _HW_CONCAT(Adr_NX90_, reg) |
|
#define | HW_AREAADR(area) _HW_CONCAT(Addr_NX90_, area) |
|
#define | HW_TYPE(area) _HW_CONCAT(NX90_, area) |
|
#define | HW_WR32(var, val) (var) = (val) |
|
#define | HW_RD32(var) (var) |
|
#define | HW_WR16(var, val) (var) = (val) |
|
#define | HW_RD16(var) (var) |
|
#define | HW_WR8(var, val) (var) = (val) |
|
#define | HW_RD8(var) (var) |
|
|
DRV_BISSM_RESULT_E | DRV_BissM_Init (DRV_BISSM_CFG_T *ptConfig, void *pvUser) |
|
DRV_BISSM_RESULT_E | DRV_BissM_StartTrigger (DRV_BISSM_TRIGGER_TYPE_E eTriggerCfg) |
|
DRV_BISSM_RESULT_E | DRV_BissM_StartAgsMin (void) |
|
DRV_BISSM_RESULT_E | DRV_BissM_StartCycle (uint32_t ulCycleTimeUs) |
|
DRV_BISSM_RESULT_E | DRV_BissM_Stop () |
|
DRV_BISSM_RESULT_E | DRV_BissM_CtrlStart (void) |
|
DRV_BISSM_RESULT_E | DRV_BissM_SetParam (DRV_BISSM_PARAM_E ePrmID, uint32_t ulPrmVal) |
|
DRV_BISSM_RESULT_E | DRV_BissM_SetChannelParam (unsigned int uChNr, DRV_BISSM_CHANNEL_PARAM_E ePrmID, uint32_t ulPrmVal) |
|
DRV_BISSM_RESULT_E | DRV_BissM_GetState (DRV_BISSM_STATE_T *ptState) |
|
DRV_BISSM_RESULT_E | DRV_BissM_SetProcessData (unsigned int uChNr, const uint8_t *pbData) |
|
DRV_BISSM_RESULT_E | DRV_BissM_GetProcessData (unsigned int uChNr, DRV_BISSM_DATA_STATE_E *peStatus, uint16_t *pusCycleCnt, uint8_t *pbData) |
|
DRV_BISSM_RESULT_E | DRV_BissM_GetSsiExtData (unsigned int uChNr, DRV_BISSM_DATA_STATE_E *peStatus, uint16_t *pusCycleCnt, uint8_t *pbData) |
|
DRV_BISSM_RESULT_E | DRV_BissM_StartCtrlCmd (unsigned int uSlaveId, unsigned int uOpcode) |
|
DRV_BISSM_RESULT_E | DRV_BissM_StartCtrlReg (unsigned int uSlaveId, unsigned int uRegAdr, unsigned int uRegNr, unsigned int uWnR) |
|
DRV_BISSM_RESULT_E | DRV_BissM_CtrlRst (void) |
|
DRV_BISSM_RESULT_E | DRV_BissM_SetCtrlData (unsigned int uRegNr, const uint8_t *pbData) |
|
DRV_BISSM_RESULT_E | DRV_BissM_GetCtrlData (unsigned int uRegNr, uint8_t *pbData) |
|
DRV_BISSM_RESULT_E | DRV_BissM_GetCtrlState (DRV_BISSM_CTRL_STATE_T *ptCtrlState) |
|
uint32_t | DRV_BissM_GetIrqRaw (void) |
|
void | DRV_BissM_ConfirmIrq (uint32_t ulIrqMsk) |
|
uint32_t | DRV_BissM_GetIrq (void) |
|
void | DRV_BissM_IrqEnable (uint32_t ulIrqMsk) |
|
void | DRV_BissM_IrqDisable (uint32_t ulIrqMsk) |
|
uint32_t | DRV_BissM_GetConfirmIrq (void) |
|
void | DRV_BissM_ConfirmAllIrq (void) |
|
void | DRV_BissM_Break (void) |
|
uint32_t | DRV_BissM_Status0 (void) |
|
BiSS controller module driver.
- Revision
- 6592
- Date
- 2019-12-17 14:14:57 +0100 (Di, 17 Dez 2019)
- Copyright
- Copyright (c) Hilscher Gesellschaft fuer Systemautomation mbH. All Rights Reserved.
- Note
- Exclusion of Liability for this demo software: The following software is intended for and must only be used for reference and in an evaluation laboratory environment. It is provided without charge and is subject to alterations. There is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied. Please refer to the Agreement in README_DISCLAIMER.txt, provided together with this file! By installing or otherwise using the software, you accept the terms of this Agreement. If you do not agree to the terms of this Agreement, then do not install or use the Software!
Definition in file netx_drv_biss.c.