![]() |
RTEMS 6.3
|
Macros | |
| #define | __HAL_SMBUS_RESET_HANDLE_STATE(__HANDLE__) |
| Reset SMBUS handle state. | |
| #define | __HAL_SMBUS_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
| Enable the specified SMBUS interrupts. | |
| #define | __HAL_SMBUS_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
| Disable the specified SMBUS interrupts. | |
| #define | __HAL_SMBUS_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
| Check whether the specified SMBUS interrupt source is enabled or not. | |
| #define | SMBUS_FLAG_MASK (0x0001FFFFU) |
| Check whether the specified SMBUS flag is set or not. | |
| #define | __HAL_SMBUS_GET_FLAG(__HANDLE__, __FLAG__) |
| #define | __HAL_SMBUS_CLEAR_FLAG(__HANDLE__, __FLAG__) |
| Clear the SMBUS pending flags which are cleared by writing 1 in a specific bit. | |
| #define | __HAL_SMBUS_ENABLE(__HANDLE__) |
| Enable the specified SMBUS peripheral. | |
| #define | __HAL_SMBUS_DISABLE(__HANDLE__) |
| Disable the specified SMBUS peripheral. | |
| #define | __HAL_SMBUS_GENERATE_NACK(__HANDLE__) |
| Generate a Non-Acknowledge SMBUS peripheral in Slave mode. | |
| #define __HAL_SMBUS_CLEAR_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
Clear the SMBUS pending flags which are cleared by writing 1 in a specific bit.
| __HANDLE__ | specifies the SMBUS Handle. |
| __FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
| None |
| #define __HAL_SMBUS_DISABLE | ( | __HANDLE__ | ) |
Disable the specified SMBUS peripheral.
| __HANDLE__ | specifies the SMBUS Handle. |
| None |
| #define __HAL_SMBUS_DISABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Disable the specified SMBUS interrupts.
| __HANDLE__ | specifies the SMBUS Handle. |
| __INTERRUPT__ | specifies the interrupt source to disable. This parameter can be one of the following values:
|
| None |
| #define __HAL_SMBUS_ENABLE | ( | __HANDLE__ | ) |
Enable the specified SMBUS peripheral.
| __HANDLE__ | specifies the SMBUS Handle. |
| None |
| #define __HAL_SMBUS_ENABLE_IT | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Enable the specified SMBUS interrupts.
| __HANDLE__ | specifies the SMBUS Handle. |
| __INTERRUPT__ | specifies the interrupt source to enable. This parameter can be one of the following values:
|
| None |
| #define __HAL_SMBUS_GENERATE_NACK | ( | __HANDLE__ | ) |
Generate a Non-Acknowledge SMBUS peripheral in Slave mode.
| __HANDLE__ | specifies the SMBUS Handle. |
| None |
| #define __HAL_SMBUS_GET_FLAG | ( | __HANDLE__, | |
| __FLAG__ ) |
| #define __HAL_SMBUS_GET_IT_SOURCE | ( | __HANDLE__, | |
| __INTERRUPT__ ) |
Check whether the specified SMBUS interrupt source is enabled or not.
| __HANDLE__ | specifies the SMBUS Handle. |
| __INTERRUPT__ | specifies the SMBUS interrupt source to check. This parameter can be one of the following values:
|
| The | new state of IT (SET or RESET). |
| #define __HAL_SMBUS_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
Reset SMBUS handle state.
| __HANDLE__ | specifies the SMBUS Handle. |
| None |
| #define SMBUS_FLAG_MASK (0x0001FFFFU) |
Check whether the specified SMBUS flag is set or not.
| __HANDLE__ | specifies the SMBUS Handle. |
| __FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (SET or RESET). |