最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

IAR编译器配置(AVR)

IT圈 admin 35浏览 0评论

2024年3月17日发(作者:谈翠)

#ifndef BIT

#define BIT(x) (1 << (x))

#endif

#define NOP() __no_operation() //asm("nop")

#define CLI() __disable_interrupt() //asm("cli")

#define SEI() __enable_interrupt() //asm("sei")

#pragma language=extended

#ifndef ENABLE_BIT_DEFINITIONS

#define ENABLE_BIT_DEFINITIONS

#endif

2024年3月17日发(作者:谈翠)

#ifndef BIT

#define BIT(x) (1 << (x))

#endif

#define NOP() __no_operation() //asm("nop")

#define CLI() __disable_interrupt() //asm("cli")

#define SEI() __enable_interrupt() //asm("sei")

#pragma language=extended

#ifndef ENABLE_BIT_DEFINITIONS

#define ENABLE_BIT_DEFINITIONS

#endif

发布评论

评论列表 (0)

  1. 暂无评论