added prescaler for 16 bit pwm in LPC1347 target
Fork of mbed-dev by
targets/hal/TARGET_RENESAS/TARGET_VK_RZ_A1H/ethernetext_api.h@119:3921aeca8633, 2016-04-29 (annotated)
- Committer:
- mbed_official
- Date:
- Fri Apr 29 01:15:11 2016 +0100
- Revision:
- 119:3921aeca8633
Synchronized with git revision fe9720f24b1adc71ab6962506ec51290f6afd270
Full URL: https://github.com/mbedmicro/mbed/commit/fe9720f24b1adc71ab6962506ec51290f6afd270/
[Renesas RZ/A1H] Enable asynchronous communications
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 119:3921aeca8633 | 1 | |
mbed_official | 119:3921aeca8633 | 2 | /* PHY link mode */ |
mbed_official | 119:3921aeca8633 | 3 | #define NEGO_FAIL (0) |
mbed_official | 119:3921aeca8633 | 4 | #define HALF_10M (1) |
mbed_official | 119:3921aeca8633 | 5 | #define FULL_10M (2) |
mbed_official | 119:3921aeca8633 | 6 | #define HALF_TX (3) |
mbed_official | 119:3921aeca8633 | 7 | #define FULL_TX (4) |
mbed_official | 119:3921aeca8633 | 8 | |
mbed_official | 119:3921aeca8633 | 9 | typedef void (ethernetext_cb_fnc)(void); |
mbed_official | 119:3921aeca8633 | 10 | |
mbed_official | 119:3921aeca8633 | 11 | typedef struct tag_ethernet_cfg { |
mbed_official | 119:3921aeca8633 | 12 | int int_priority; |
mbed_official | 119:3921aeca8633 | 13 | ethernetext_cb_fnc *recv_cb; |
mbed_official | 119:3921aeca8633 | 14 | char *ether_mac; |
mbed_official | 119:3921aeca8633 | 15 | } ethernet_cfg_t; |
mbed_official | 119:3921aeca8633 | 16 | |
mbed_official | 119:3921aeca8633 | 17 | extern int ethernetext_init(ethernet_cfg_t *p_ethcfg); |
mbed_official | 119:3921aeca8633 | 18 | extern void ethernetext_start_stop(int32_t mode); |
mbed_official | 119:3921aeca8633 | 19 | extern int ethernetext_chk_link_mode(void); |
mbed_official | 119:3921aeca8633 | 20 | extern void ethernetext_set_link_mode(int32_t link); |