#include "SCCBconfig.h"
#include <services/services.h>
#include <cycle_count_bf.h>
Defines | |
| #define | SCCB_BASE_WAIT_CYCLE 50 |
Functions | |
| void | sccb_wait_us (void) |
| void | sccb_waitCycle (unsigned short pa_nWaitStates) |
| T_ERROR_CODE | sccb_writeByte (T_SCCB_HANDLE pa_hSccb, unsigned char pa_cDevAddr, unsigned char pa_cSubAddr, unsigned char pa_cData) |
| unsigned short | sccb_readByte (T_SCCB_HANDLE pa_hSccb, unsigned char pa_cDevAddr, unsigned char pa_cSubAddr, T_ERROR_CODE *pa_errCode) |
| T_ERROR_CODE | sccb_open (T_SCCB_HANDLE *pa_phSccb, T_GPIO_MASK pa_sio_cMask, T_GPIO_MASK pa_sio_dMask, T_GPIO_MASK pa_pwdnMask, unsigned char pa_cWriteAddr, unsigned long pa_nCoreClk) |
| T_ERROR_CODE | sccb_close (T_SCCB_HANDLE pa_hSccb) |
Variables | |
| unsigned long | g_nCoreClk = 0 |
*********************************************************************
NOTE: The Pins SIO_C, SIO_D and PWDN has to be connectet to the pf-flags on the coremodul in the order they are called by the function.
|
|
|
|
|
|
|
|
|
1.4.1