cic.h 436 B

12345678910111213141516171819
  1. #ifndef _CIC_H
  2. #define _CIC_H
  3. #include <arm/NXP/LPC17xx/LPC17xx.h>
  4. #include "bits.h"
  5. enum cicstates { CIC_OK = 0, CIC_FAIL, CIC_PAIR };
  6. enum cic_region { CIC_NTSC = 0, CIC_PAL };
  7. void print_cic_state(void);
  8. char *get_cic_statename(enum cicstates state);
  9. enum cicstates get_cic_state(void);
  10. void cic_init(int allow_pairmode);
  11. void cic_pair(int init_vmode, int init_d4);
  12. void cic_videomode(int value);
  13. void cic_d4(int value);
  14. #endif