// Inicializa biblioteca em um nodo void rst_initialize(u_int64_t id1, u_int64_t id2, int *argc, char ***argv) { if ( argv != NULL ) extract_arguments(argc, argv); rst_init(id1, id2); }
int RDA5875_IOConfig(int br){ rst_init(); RST_CMD(1); bt_usart_conf(br); return 0; }
int main(int argc, char *argv[]) { rst_init(10, 20); rst_event(1); rst_event_lws(2, 1, 2, "3"); rst_event_wlsfcd(3, 1, 2, "3", 4, '5', 6); rst_event_iwlsifcd(4, 1, 2, 3, "4", 5, 6, '7', 8); rst_finalize(); return 0; }