/ * @brief * Configure address operation parameters for selected bank * * @param[in] banks * Mask of memory bank(s) to configure write timing for * * @param[in] halfALE * Enables or disables half cycle ALE strobe in last strobe cycle ******************************************************************************/
| 939 | * Enables or disables half cycle ALE strobe in last strobe cycle |
| 940 | ******************************************************************************/ |
| 941 | void EBI_BankAddressTimingConfig(uint32_t banks, bool halfALE) |
| 942 | { |
| 943 | /* Verify only valid banks are used */ |
| 944 | EFM_ASSERT((banks & ~(EBI_BANK0 | EBI_BANK1 | EBI_BANK2 | EBI_BANK3)) == 0); |
| 945 | |
| 946 | if( banks & EBI_BANK0 ) |
| 947 | { |
| 948 | BITBAND_Peripheral(&EBI->ADDRTIMING, _EBI_ADDRTIMING_HALFALE_SHIFT, halfALE); |
| 949 | } |
| 950 | if( banks & EBI_BANK1 ) |
| 951 | { |
| 952 | BITBAND_Peripheral(&EBI->ADDRTIMING1, _EBI_ADDRTIMING_HALFALE_SHIFT, halfALE); |
| 953 | } |
| 954 | if( banks & EBI_BANK2 ) |
| 955 | { |
| 956 | BITBAND_Peripheral(&EBI->ADDRTIMING2, _EBI_ADDRTIMING_HALFALE_SHIFT, halfALE); |
| 957 | } |
| 958 | if( banks & EBI_BANK3 ) |
| 959 | { |
| 960 | BITBAND_Peripheral(&EBI->ADDRTIMING3, _EBI_ADDRTIMING_HALFALE_SHIFT, halfALE); |
| 961 | } |
| 962 | } |
| 963 | |
| 964 | |
| 965 | /***************************************************************************//** |
no test coverage detected