21 | | = 概要 = |
| 11 | * API一覧 |
| 12 | |
| 13 | ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R21-11 =|| |
| 14 | || [#Bmc_FlagTestAndSet Bmc_FlagTestAndSet] || 1|| 0x01|| ○ || |
| 15 | || [#Bmc_FlagClear Bmc_FlagClear] || 2|| 0x02|| ○ || |
| 16 | || [#Bmc_Load_TypeMn Bmc_Load_<TypeMn>] || 16 to 23|| 0x10 to 0x17|| ○ || |
| 17 | || [#Bmc_Store_TypeMn Bmc_Store_<TypeMn>] || 32 to 39|| 0x20 to 0x27|| ○ || |
| 18 | || [#Bmc_Exchange_TypeMn Bmc_Exchange_<TypeMn>] || 48 to 55|| 0x30 to 0x37|| ○ || |
| 19 | || [#Bmc_CompareExchange_TypeMn Bmc_CompareExchange_<TypeMn>] || 64 to 71|| 0x40 to 0x47|| ○ || |
| 20 | || [#Bmc_FetchAdd_TypeMn Bmc_FetchAdd_<TypeMn>] || 80 to 87|| 0x50 to 0x57|| ○ || |
| 21 | || [#Bmc_FetchSub_TypeMn Bmc_FetchSub_<TypeMn>] || 96 to 103|| 0x60 to 0x67|| ○ || |
| 22 | || [#Bmc_FetchOr_TypeMn Bmc_FetchOr_<TypeMn>] || 112 to 119|| 0x70 to 0x77|| ○ || |
| 23 | || [#Bmc_FetchXor_TypeMn Bmc_FetchXor_<TypeMn>] || 128 to 135|| 0x80 to 0x87|| ○ || |
| 24 | || [#Bmc_FetchAnd_TypeMn Bmc_FetchAnd_<TypeMn>] || 144 to 151|| 0x90 to 0x97|| ○ || |
| 25 | || [#Bmc_ThreadFence Bmc_ThreadFence] || 3|| 0x03|| ○ || |
| 26 | || [#Bmc_GetVersionInfo Bmc_GetVersionInfo] || 255|| 0xFF|| ○ || |
29 | | = コンフィギュレーション仕様 = |
| 37 | == Bmc_FlagClear == |
| 38 | {{{ |
| 39 | void Bmc_FlagClear (volatile boolean* Object) |
| 40 | }}} |
| 41 | |
| 42 | == Bmc_Load_<TypeMn> == |
| 43 | {{{ |
| 44 | <Type> Bmc_Load_<TypeMn> (const volatile <Type>* Object) |
| 45 | }}} |
| 46 | |
| 47 | ||= Service ID[hex] =||= Function prototype =|| |
| 48 | || 0x10|| uint8 Bmc_Load_u8(const volatile uint8*); || |
| 49 | || 0x11|| uint16 Bmc_Load_u16(const volatile uint16*); || |
| 50 | || 0x12|| uint32 Bmc_Load_u32(const volatile uint32*); || |
| 51 | || 0x13|| uint64 Bmc_Load_u64(const volatile uint64*); || |
| 52 | || 0x14|| sint8 Bmc_Load_s8(const volatile sint8*); || |
| 53 | || 0x15|| sint16 Bmc_Load_s16(const volatile sint16*); || |
| 54 | || 0x16|| sint32 Bmc_Load_s32(const volatile sint32*); || |
| 55 | || 0x17|| sint64 Bmc_Load_s64(const volatile sint64*); || |
| 56 | |
| 57 | == Bmc_Store_<TypeMn> == |
| 58 | {{{ |
| 59 | void Bmc_Store_<TypeMn> (volatile <Type>* Object, <Type> Desired) |
| 60 | }}} |
| 61 | |
| 62 | == Bmc_Exchange_<TypeMn> == |
| 63 | {{{ |
| 64 | <Type> Bmc_Exchange_<TypeMn> (const volatile <Type>* Object, <Type> Desired) |
| 65 | }}} |
| 66 | |
| 67 | == Bmc_CompareExchange_<TypeMn> == |
| 68 | {{{ |
| 69 | boolean Bmc_CompareExchange_<TypeMn> (volatile <Type>* Object, <Type>* Expected, <Type> Desired) |
| 70 | }}} |
| 71 | |
| 72 | == Bmc_FetchAdd_<TypeMn> == |
| 73 | {{{ |
| 74 | <Type> Bmc_FetchAdd_<TypeMn> (volatile <Type>* Object, <Type> Operand) |
| 75 | }}} |
| 76 | |
| 77 | == Bmc_FetchSub_<TypeMn> == |
| 78 | {{{ |
| 79 | <Type> Bmc_FetchSub_<TypeMn> (volatile <Type>* Object, <Type> Operand) |
| 80 | }}} |
| 81 | |
| 82 | == Bmc_FetchOr_<TypeMn> == |
| 83 | {{{ |
| 84 | <Type> Bmc_FetchOr_<TypeMn> (volatile <Type>* Object, <Type> Operand) |
| 85 | }}} |
| 86 | |
| 87 | == Bmc_FetchXor_<TypeMn> == |
| 88 | {{{ |
| 89 | <Type> Bmc_FetchXor_<TypeMn> (volatile <Type>* Object, <Type> Operand) |
| 90 | }}} |
| 91 | |
| 92 | == Bmc_FetchAnd_<TypeMn> == |
| 93 | {{{ |
| 94 | <Type> Bmc_FetchAnd_<TypeMn> (volatile <Type>* Object, <Type> Operand) |
| 95 | }}} |
| 96 | |
| 97 | == Bmc_ThreadFence == |
| 98 | {{{ |
| 99 | void Bmc_ThreadFence (void) |
| 100 | }}} |
| 101 | |
| 102 | == Bmc_GetVersionInfo == |
| 103 | {{{ |
| 104 | void Bmc_GetVersionInfo (Std_VersionInfoType* Versioninfo) |
| 105 | }}} |
| 106 | |