llvm-mos-sdk
types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023 Adrian "asie" Siekierka
3  *
4  * Licensed under the Apache License, Version 2.0 with LLVM Exceptions,
5  * See https://github.com/llvm-mos/llvm-mos-sdk/blob/main/LICENSE for license
6  * information.
7  */
8 
9 #ifndef _PCE_CD_TYPES_H_
10 #define _PCE_CD_TYPES_H_
11 
12 #include <stdbool.h>
13 #include <stdint.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
23 typedef struct pce_sector {
24  union {
25  struct {
27  };
28  struct {
30  };
31  struct {
33  };
34  };
35 } pce_sector_t;
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* _PCE_CD_TYPES_H_ */
std::uint8_t
::uint8_t uint8_t
Definition: cstdint:21
pce_sector::frame
uint8_t frame
Definition: types.h:29
pce_sector::md
uint8_t md
Definition: types.h:32
pce_sector::second
uint8_t second
Definition: types.h:29
pce_sector::track
uint8_t track
Definition: types.h:26
pce_sector::hi
uint8_t hi
Definition: types.h:32
pce_sector::lo
uint8_t lo
Definition: types.h:32
pce_sector::minute
uint8_t minute
Definition: types.h:29
pce_sector
Definition: types.h:23
pce_sector::track_end
uint8_t track_end
Definition: types.h:26
pce_sector_t
struct pce_sector pce_sector_t