@@ -346,14 +346,14 @@ extern "C" {
346
346
* @param base FLEXSPI peripheral base address.
347
347
* @param config FLEXSPI configure structure.
348
348
*/
349
- void FLEXSPI_Init (FLEXSPI_Type * base , const flexspi_config_t * config );
349
+ AT_QUICKACCESS_SECTION_CODE ( void FLEXSPI_Init (FLEXSPI_Type * base , const flexspi_config_t * config ) );
350
350
351
351
/*!
352
352
* @brief Gets default settings for FLEXSPI.
353
353
*
354
354
* @param config FLEXSPI configuration structure.
355
355
*/
356
- void FLEXSPI_GetDefaultConfig (flexspi_config_t * config );
356
+ AT_QUICKACCESS_SECTION_CODE ( void FLEXSPI_GetDefaultConfig (flexspi_config_t * config ) );
357
357
358
358
/*!
359
359
* @brief Deinitializes the FLEXSPI module.
@@ -374,7 +374,9 @@ void FLEXSPI_Deinit(FLEXSPI_Type *base);
374
374
* @param config Flash configuration parameters.
375
375
* @param port FLEXSPI Operation port.
376
376
*/
377
- void FLEXSPI_SetFlashConfig (FLEXSPI_Type * base , flexspi_device_config_t * config , flexspi_port_t port );
377
+ AT_QUICKACCESS_SECTION_CODE (void FLEXSPI_SetFlashConfig (FLEXSPI_Type * base ,
378
+ flexspi_device_config_t * config ,
379
+ flexspi_port_t port ));
378
380
379
381
/*!
380
382
* @brief Software reset for the FLEXSPI logic.
@@ -384,7 +386,7 @@ void FLEXSPI_SetFlashConfig(FLEXSPI_Type *base, flexspi_device_config_t *config,
384
386
*
385
387
* @param base FLEXSPI peripheral base address.
386
388
*/
387
- static inline void FLEXSPI_SoftwareReset (FLEXSPI_Type * base )
389
+ AT_QUICKACCESS_SECTION_CODE ( static inline void FLEXSPI_SoftwareReset (FLEXSPI_Type * base ) )
388
390
{
389
391
base -> MCR0 |= FLEXSPI_MCR0_SWRESET_MASK ;
390
392
while (0U != (base -> MCR0 & FLEXSPI_MCR0_SWRESET_MASK ))
@@ -398,7 +400,7 @@ static inline void FLEXSPI_SoftwareReset(FLEXSPI_Type *base)
398
400
* @param base FLEXSPI peripheral base address.
399
401
* @param enable True means enable FLEXSPI, false means disable.
400
402
*/
401
- static inline void FLEXSPI_Enable (FLEXSPI_Type * base , bool enable )
403
+ AT_QUICKACCESS_SECTION_CODE ( static inline void FLEXSPI_Enable (FLEXSPI_Type * base , bool enable ) )
402
404
{
403
405
if (enable )
404
406
{
@@ -568,7 +570,7 @@ static inline uint32_t FLEXSPI_GetInterruptStatusFlags(FLEXSPI_Type *base)
568
570
* @param base FLEXSPI peripheral base address.
569
571
* @param interrupt status flag.
570
572
*/
571
- static inline void FLEXSPI_ClearInterruptStatusFlags (FLEXSPI_Type * base , uint32_t mask )
573
+ AT_QUICKACCESS_SECTION_CODE ( static inline void FLEXSPI_ClearInterruptStatusFlags (FLEXSPI_Type * base , uint32_t mask ) )
572
574
{
573
575
base -> INTR |= mask ;
574
576
}
@@ -637,7 +639,7 @@ static inline flexspi_ahb_error_code_t FLEXSPI_GetAHBCommandErrorCode(FLEXSPI_Ty
637
639
* @retval true Bus is idle.
638
640
* @retval false Bus is busy.
639
641
*/
640
- static inline bool FLEXSPI_GetBusIdleStatus (FLEXSPI_Type * base )
642
+ AT_QUICKACCESS_SECTION_CODE ( static inline bool FLEXSPI_GetBusIdleStatus (FLEXSPI_Type * base ) )
641
643
{
642
644
return (0U != (base -> STS0 & FLEXSPI_STS0_ARBIDLE_MASK )) && (0U != (base -> STS0 & FLEXSPI_STS0_SEQIDLE_MASK ));
643
645
}
@@ -698,7 +700,8 @@ static inline void FLEXSPI_EnableAHBParallelMode(FLEXSPI_Type *base, bool enable
698
700
* @param cmd Command sequence array.
699
701
* @param count Number of sequences.
700
702
*/
701
- void FLEXSPI_UpdateLUT (FLEXSPI_Type * base , uint32_t index , const uint32_t * cmd , uint32_t count );
703
+ AT_QUICKACCESS_SECTION_CODE (void FLEXSPI_UpdateLUT (FLEXSPI_Type * base , uint32_t index ,
704
+ const uint32_t * cmd , uint32_t count ));
702
705
703
706
/*!
704
707
* @brief Writes data into FIFO.
@@ -735,7 +738,8 @@ static inline uint32_t FLEXSPI_ReadData(FLEXSPI_Type *base, uint8_t fifoIndex)
735
738
* @retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequence error detected
736
739
* @retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected
737
740
*/
738
- status_t FLEXSPI_WriteBlocking (FLEXSPI_Type * base , uint32_t * buffer , size_t size );
741
+ AT_QUICKACCESS_SECTION_CODE (status_t FLEXSPI_WriteBlocking (FLEXSPI_Type * base ,
742
+ uint32_t * buffer , size_t size ));
739
743
740
744
/*!
741
745
* @brief Receives a buffer of data bytes using a blocking method.
@@ -748,7 +752,8 @@ status_t FLEXSPI_WriteBlocking(FLEXSPI_Type *base, uint32_t *buffer, size_t size
748
752
* @retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequencen error detected
749
753
* @retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected
750
754
*/
751
- status_t FLEXSPI_ReadBlocking (FLEXSPI_Type * base , uint32_t * buffer , size_t size );
755
+ AT_QUICKACCESS_SECTION_CODE (status_t FLEXSPI_ReadBlocking (FLEXSPI_Type * base ,
756
+ uint32_t * buffer , size_t size ));
752
757
753
758
/*!
754
759
* @brief Execute command to transfer a buffer data bytes using a blocking method.
@@ -759,7 +764,8 @@ status_t FLEXSPI_ReadBlocking(FLEXSPI_Type *base, uint32_t *buffer, size_t size)
759
764
* @retval kStatus_FLEXSPI_IpCommandSequenceError IP command sequence error detected
760
765
* @retval kStatus_FLEXSPI_IpCommandGrantTimeout IP command grant timeout detected
761
766
*/
762
- status_t FLEXSPI_TransferBlocking (FLEXSPI_Type * base , flexspi_transfer_t * xfer );
767
+ AT_QUICKACCESS_SECTION_CODE (status_t FLEXSPI_TransferBlocking (FLEXSPI_Type * base ,
768
+ flexspi_transfer_t * xfer ));
763
769
/*! @} */
764
770
765
771
/*!
0 commit comments