Macros for abstracting SAFO hardware SFR access. More...
#include <mcuxClConfig.h>#include <platform_specific_headers.h>Go to the source code of this file.
Macros | |
| #define | MCUXCLOSCCASAFO_PASTE(a, b) |
| Helper macros for constructing SFR field name constants. | |
| #define | MCUXCLOSCCASAFO_CONCAT(a, b) |
| #define | MCUXCLOSCCASAFO_SFR_FIELD(prefix, sfr, field) |
| #define | MCUXCLOSCCASAFO_SFR_FIELD_MASK(sfr, field) |
| Helper macros to get the mask and shift values for a specific SAFO SFR field. | |
| #define | MCUXCLOSCCASAFO_SFR_FIELD_SHIFT(sfr, field) |
| #define | MCUXCLOSCCASAFO_SFR_FIELD_FORMAT(sfr, field, val) |
| #define | MCUXCLOSCCASAFO_SFR_READ(sfr) |
| Read from SAFO SFR. | |
| #define | MCUXCLOSCCASAFO_SFR_WRITE(sfr, value) |
| Write to SAFO SFR. | |
| #define | MCUXCLOSCCASAFO_SFR_BITREAD(sfr, bit) |
| Read from SAFO SFR bit field. | |
| #define | MCUXCLOSCCASAFO_SFR_BITSET(sfr, bit) |
| Set bit field of SAFO SFR (read-modify-write) | |
| #define | MCUXCLOSCCASAFO_SFR_BITCLEAR(sfr, bit) |
| Clear bit field of SAFO SFR (read-modify-write) | |
| #define | MCUXCLOSCCASAFO_SFR_BITVALSET(sfr, bit, val) |
| Set value of multi-bit field of SAFO SFR (read-modify-write) | |
Macros for abstracting SAFO hardware SFR access.
| #define MCUXCLOSCCASAFO_PASTE | ( | a, | |
| b | |||
| ) |
Helper macros for constructing SFR field name constants.
| #define MCUXCLOSCCASAFO_SFR_FIELD_MASK | ( | sfr, | |
| field | |||
| ) |
Helper macros to get the mask and shift values for a specific SAFO SFR field.
| #define MCUXCLOSCCASAFO_SFR_READ | ( | sfr | ) |
Read from SAFO SFR.
| #define MCUXCLOSCCASAFO_SFR_WRITE | ( | sfr, | |
| value | |||
| ) |
Write to SAFO SFR.
| #define MCUXCLOSCCASAFO_SFR_BITREAD | ( | sfr, | |
| bit | |||
| ) |
Read from SAFO SFR bit field.
| #define MCUXCLOSCCASAFO_SFR_BITSET | ( | sfr, | |
| bit | |||
| ) |
Set bit field of SAFO SFR (read-modify-write)
| #define MCUXCLOSCCASAFO_SFR_BITCLEAR | ( | sfr, | |
| bit | |||
| ) |
Clear bit field of SAFO SFR (read-modify-write)
| #define MCUXCLOSCCASAFO_SFR_BITVALSET | ( | sfr, | |
| bit, | |||
| val | |||
| ) |
Set value of multi-bit field of SAFO SFR (read-modify-write)