# C4MLIB 大掃除 :cry: ## Directory ``` - c4mlib - C4MBIOS - asabus - debug - device - hardware - hardwareset - IO_func - macro - rtpio - stdio - ServiceProvi - asaspi - asatwi - asauart - databuffer - flash - hwimp - interrupt - pipeline - time - SysOperat - asahmi - config - gcc.mk - module.mk - makefile ``` ## C4MBIOS ### asabus ==(kernel Q)== 刪不掉幹 ### debug ==(kernel)== 需要。 ```c define DEBUG_INFO(format, args...) printf("[DEBUG] " format, ##args) ``` ### device ==(kernel)== 需要。 ASAID ??? ```c void C4M_DEVICE_set(void); void EEPROM_Mem_Read(uint16_t Addr, uint8_t Bytes, void *Data_p); void EEPROM_Mem_Write(uint16_t Addr, uint8_t Bytes, void *Data_p); ``` ### hardware ==(kernel)== ### hardwareset ==(kernel)== ### IO_func ==(kernel)== 需要。 DRIVER。 ### macro ==(kernel)== 需要。 bit operation standard standard response macro task function prototype ### rtpio ==(app)== 意義不明。 ### stdio ==(kernel)== 需要。 ```c void C4M_STDIO_init(void); static int stdio_putchar(char c, FILE *stream); static int stdio_getchar(FILE *stream); ``` ## ServiceProvi ### asaspi ==(app、kernel)== - *mem 去 app ### asatwi ==(kernel)== ### asauart ==(app、kernel)== - *card *remo 去 app ### databuffer ==(kernel)== ### flash ==(app)== ### hwimp ==(kernel)== ### interrupt ==(kernel)== ### pipeline ==(kernel)== ### time ==(deprecate)== ## SysOperat ### asahmi ==(kernel)==