| 12345678910111213141516171819202122232425262728293031 |
- #ifndef CX_CHLCD_TYPES_H_INCLUDED
- #define CX_CHLCD_TYPES_H_INCLUDED
- #include <stdint.h>
- #include <stdbool.h>
- #include "cx/chlcd/pins.h"
- typedef uint8_t chlcd_size_t;
- typedef uint8_t chlcd_bitcount_t;
- struct chlcd_display_s;
- struct chlcd_connector_s;
- enum chlcd_command_e;
- enum chlcd_error_e;
- typedef uint8_t chlcd_data_t;
- typedef enum chlcd_error_e (*chlcd_sender_t)(
- void *self,
- chlcd_data_t content,
- bool is_command,
- bool is_half_word
- );
- typedef enum chlcd_error_e (*chlcd_decoder_t)(
- enum chlcd_command_e command,
- chlcd_data_t content,
- void *connector,
- chlcd_sender_t sender
- );
- #endif
|