* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __CARL9170FW_IO_H
setb(addr, getb(addr) | val);
}
+static inline __inline uint16_t getw(const volatile uint32_t addr)
+{
+ return readw((const volatile void *) addr);
+}
+
#endif /* __CARL9170FW_IO_H */