Go to the documentation of this file.
27 __attribute__((leaf))
uint8_t pce_bank0_get(
void);
32 __attribute__((leaf))
void pce_bank0_set(
uint8_t id);
37 __attribute__((leaf))
uint8_t pce_bank1_get(
void);
42 __attribute__((leaf))
void pce_bank1_set(
uint8_t id);
47 __attribute__((leaf))
uint8_t pce_bank2_get(
void);
52 __attribute__((leaf))
void pce_bank2_set(
uint8_t id);
57 __attribute__((leaf))
uint8_t pce_bank3_get(
void);
62 __attribute__((leaf))
void pce_bank3_set(
uint8_t id);
67 __attribute__((leaf))
uint8_t pce_bank4_get(
void);
72 __attribute__((leaf))
void pce_bank4_set(
uint8_t id);
77 __attribute__((leaf))
uint8_t pce_bank5_get(
void);
82 __attribute__((leaf))
void pce_bank5_set(
uint8_t id);
87 __attribute__((leaf))
uint8_t pce_bank6_get(
void);
92 __attribute__((leaf))
void pce_bank6_set(
uint8_t id);
97 __attribute__((leaf))
uint8_t pce_bank7_get(
void);
102 __attribute__((leaf))
void pce_bank7_set(
uint8_t id);
107 __attribute__((leaf))
void pce_bank23i_set(
uint8_t id);
112 __attribute__((leaf))
void pce_bank234i_set(
uint8_t id);
117 __attribute__((leaf))
void pce_bank2345i_set(
uint8_t id);
122 __attribute__((leaf))
void pce_bank23456i_set(
uint8_t id);
127 __attribute__((leaf))
void pce_bank34i_set(
uint8_t id);
132 __attribute__((leaf))
void pce_bank345i_set(
uint8_t id);
137 __attribute__((leaf))
void pce_bank3456i_set(
uint8_t id);
142 __attribute__((leaf))
void pce_bank45i_set(
uint8_t id);
147 __attribute__((leaf))
void pce_bank456i_set(
uint8_t id);
152 __attribute__((leaf))
void pce_bank56i_set(
uint8_t id);
154 static inline void pce_bank2_size1_push(
void) {
155 __attribute__((leaf))
asm volatile(
"tma #$04\n"
163 static inline void pce_bank2_size1_pop(
void) {
164 __attribute__((leaf))
asm volatile(
"pla\n"
172 static inline void pce_bank2_size2_push(
void) {
173 __attribute__((leaf))
asm volatile(
"tma #$04\n"
183 static inline void pce_bank2_size2_pop(
void) {
184 __attribute__((leaf))
asm volatile(
"pla\n"
194 static inline void pce_bank2_size3_push(
void) {
195 __attribute__((leaf))
asm volatile(
"tma #$04\n"
207 static inline void pce_bank2_size3_pop(
void) {
208 __attribute__((leaf))
asm volatile(
"pla\n"
220 static inline void pce_bank2_size4_push(
void) {
221 __attribute__((leaf))
asm volatile(
"tma #$04\n"
235 static inline void pce_bank2_size4_pop(
void) {
236 __attribute__((leaf))
asm volatile(
"pla\n"
250 static inline void pce_bank2_size5_push(
void) {
251 __attribute__((leaf))
asm volatile(
"tma #$04\n"
267 static inline void pce_bank2_size5_pop(
void) {
268 __attribute__((leaf))
asm volatile(
"pla\n"
284 static inline void pce_bank3_size1_push(
void) {
285 __attribute__((leaf))
asm volatile(
"tma #$08\n"
293 static inline void pce_bank3_size1_pop(
void) {
294 __attribute__((leaf))
asm volatile(
"pla\n"
302 static inline void pce_bank3_size2_push(
void) {
303 __attribute__((leaf))
asm volatile(
"tma #$08\n"
313 static inline void pce_bank3_size2_pop(
void) {
314 __attribute__((leaf))
asm volatile(
"pla\n"
324 static inline void pce_bank3_size3_push(
void) {
325 __attribute__((leaf))
asm volatile(
"tma #$08\n"
337 static inline void pce_bank3_size3_pop(
void) {
338 __attribute__((leaf))
asm volatile(
"pla\n"
350 static inline void pce_bank3_size4_push(
void) {
351 __attribute__((leaf))
asm volatile(
"tma #$08\n"
365 static inline void pce_bank3_size4_pop(
void) {
366 __attribute__((leaf))
asm volatile(
"pla\n"
380 static inline void pce_bank4_size1_push(
void) {
381 __attribute__((leaf))
asm volatile(
"tma #$10\n"
389 static inline void pce_bank4_size1_pop(
void) {
390 __attribute__((leaf))
asm volatile(
"pla\n"
398 static inline void pce_bank4_size2_push(
void) {
399 __attribute__((leaf))
asm volatile(
"tma #$10\n"
409 static inline void pce_bank4_size2_pop(
void) {
410 __attribute__((leaf))
asm volatile(
"pla\n"
420 static inline void pce_bank4_size3_push(
void) {
421 __attribute__((leaf))
asm volatile(
"tma #$10\n"
433 static inline void pce_bank4_size3_pop(
void) {
434 __attribute__((leaf))
asm volatile(
"pla\n"
446 static inline void pce_bank5_size1_push(
void) {
447 __attribute__((leaf))
asm volatile(
"tma #$20\n"
455 static inline void pce_bank5_size1_pop(
void) {
456 __attribute__((leaf))
asm volatile(
"pla\n"
464 static inline void pce_bank5_size2_push(
void) {
465 __attribute__((leaf))
asm volatile(
"tma #$20\n"
475 static inline void pce_bank5_size2_pop(
void) {
476 __attribute__((leaf))
asm volatile(
"pla\n"
486 static inline void pce_bank6_size1_push(
void) {
487 __attribute__((leaf))
asm volatile(
"tma #$40\n"
495 static inline void pce_bank6_size1_pop(
void) {
496 __attribute__((leaf))
asm volatile(
"pla\n"
504 #define PCE_BANK_MASK(n) (1 << (n))
505 #define PCE_BANK_OFFSET(n) ((n) << 13)
506 #define PCE_BANK_SIZE(n) ((n) << 13)
::uint8_t uint8_t
Definition: cstdint:21