代码拉取完成,页面将自动刷新
#ifndef __STM8_H
#define __STM8_H
/* This header file contains the generic information
about supported STM8 devices */
typedef struct stm8_regs {
unsigned int CLK_CKDIVR;
unsigned int FLASH_PUKR;
unsigned int FLASH_DUKR;
unsigned int FLASH_IAPSR;
unsigned int FLASH_CR2;
unsigned int FLASH_NCR2;
} stm8_regs_t;
typedef enum {
ROP_UNKNOWN,
ROP_STM8S, // Disable ROP = 0x00 and reset. Option bytes are written noninverted and inverted.
ROP_STM8L, // Disable ROP = 0xaa, read EOP, ROP = 0xaa, read EOP. Option bytes are written noninverted.
} ROP_type_t;
typedef struct stm8_device {
const char *name;
unsigned int ram_start;
unsigned int ram_size;
unsigned int eeprom_start;
unsigned int eeprom_size;
unsigned int flash_start;
unsigned int flash_size;
unsigned int flash_block_size;
unsigned int option_bytes_size;
ROP_type_t read_out_protection_mode;
stm8_regs_t regs;
} stm8_device_t;
extern const stm8_device_t stm8_devices[];
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。