EZR32 Wonder Gecko Software Documentation  ezr32wg-doc-4.2.1
em_bitband.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __SILICON_LABS_EM_BITBAND_H__
34 #define __SILICON_LABS_EM_BITBAND_H__
35 
36 #include "em_bus.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /***************************************************************************/
47 /***************************************************************************/
53 /***************************************************************************/
71 #define BITBAND_Peripheral(addr, bit, val) BUS_RegBitWrite(addr, bit, val)
72 
73 
74 /***************************************************************************/
90 #define BITBAND_PeripheralRead(addr, bit) BUS_RegBitRead(addr, bit)
91 
92 
93 /***************************************************************************/
111 #define BITBAND_SRAM(addr, bit, val) BUS_RamBitWrite(addr, bit, val)
112 
113 
114 /***************************************************************************/
130 #define BITBAND_SRAMRead(addr, bit) BUS_RamBitRead(addr, bit)
131 
135 #ifdef __cplusplus
136 }
137 #endif
138 
139 #endif /* __SILICON_LABS_EM_BITBAND_H__ */
RAM and peripheral bit-field set and clear API.